├── .github ├── FUNDING.yml ├── labeller.yml ├── pull_request_template.md ├── workflows │ ├── unlabel.yml │ ├── label.yml │ ├── test-build.yml │ ├── gh-pages.yml │ └── stale.yml ├── ISSUE_TEMPLATE │ ├── config.yml │ └── i18n-issue.yml └── dependabot.yml ├── exampleSite ├── config │ └── _default │ │ ├── taxonomies.toml │ │ ├── module.toml │ │ ├── markup.toml │ │ ├── config.toml │ │ ├── languages.zh-Hans.toml │ │ ├── languages.ja.toml │ │ ├── languages.en.toml │ │ ├── languages.es.toml │ │ ├── languages.de.toml │ │ ├── menus.zh-Hans.toml │ │ ├── menus.ja.toml │ │ ├── menus.en.toml │ │ ├── menus.es.toml │ │ └── menus.de.toml ├── assets │ ├── img │ │ ├── logo.jpg │ │ └── author.jpg │ └── js │ │ └── home.js ├── content │ ├── docs │ │ ├── screenshot.png │ │ ├── shortcodes │ │ │ └── abstract.jpg │ │ ├── version-2 │ │ │ ├── lighthouse.jpg │ │ │ └── image-resizing.png │ │ ├── homepage-layout │ │ │ ├── home-page.jpg │ │ │ ├── home-profile.jpg │ │ │ └── home-profile-list.jpg │ │ ├── partials │ │ │ └── fathom-analytics.jpg │ │ ├── getting-started │ │ │ └── article-screenshot.jpg │ │ ├── hosting-deployment │ │ │ ├── render-settings.jpg │ │ │ ├── github-pages-source.jpg │ │ │ ├── netlify-build-settings.jpg │ │ │ └── github-workflow-permissions.jpg │ │ ├── _index.zh-Hans.md │ │ ├── _index.ja.md │ │ └── _index.md │ ├── samples │ │ ├── external │ │ │ ├── thumb-clint-adair-BW0vK-FA3eg-unsplash.jpg │ │ │ ├── index.zh-Hans.md │ │ │ ├── index.ja.md │ │ │ ├── index.md │ │ │ ├── index.es.md │ │ │ └── index.de.md │ │ ├── icons │ │ │ └── thumb-harpal-singh-_zKxPsGOGKg-unsplash-2.jpg │ │ ├── charts │ │ │ └── thumb-jason-coudriet-eQux_nmDew0-unsplash.jpg │ │ ├── markdown │ │ │ └── thumb-surendran-mp-IhWYiwSxm8g-unsplash.jpg │ │ ├── emoji │ │ │ ├── feature-domingo-alvarez-e-Cs3y8Mn6-Gk-unsplash.jpg │ │ │ ├── index.zh-Hans.md │ │ │ ├── index.ja.md │ │ │ ├── index.md │ │ │ ├── index.es.md │ │ │ └── index.de.md │ │ ├── placeholder-text │ │ │ └── thumb-kelly-sikkema-NBkMT8duVSI-unsplash.jpg │ │ ├── rich-content │ │ │ ├── feature-alexander-shatov-mr4JG4SYOF8-unsplash.jpg │ │ │ ├── index.zh-Hans.md │ │ │ ├── index.ja.md │ │ │ ├── index.md │ │ │ └── index.es.md │ │ ├── mathematical-notation │ │ │ ├── feature-artturi-jalli-gYrYa37fAKI-unsplash.jpg │ │ │ ├── index.zh-Hans.md │ │ │ ├── index.ja.md │ │ │ ├── index.md │ │ │ ├── index.es.md │ │ │ └── index.de.md │ │ ├── diagrams-flowcharts │ │ │ └── thumb-christina-wocintechchat-com-tYVkjjMYFBo-unsplash.jpg │ │ ├── _index.zh-Hans.md │ │ ├── _index.ja.md │ │ ├── _index.md │ │ ├── _index.es.md │ │ └── _index.de.md │ ├── tags │ │ ├── advanced │ │ │ ├── _index.zh-CN.md │ │ │ ├── _index.ja.md │ │ │ ├── _index.md │ │ │ └── _index.es.md │ │ ├── _index.zh-CN.md │ │ ├── _index.ja.md │ │ ├── _index.md │ │ └── _index.es.md │ ├── _index.zh-Hans.md │ ├── _index.ja.md │ ├── _index.md │ ├── _index.es.md │ └── _index.de.md └── layouts │ ├── partials │ └── home │ │ └── custom.html │ └── shortcodes │ └── swatches.html ├── go.mod ├── layouts ├── shortcodes │ ├── katex.html │ ├── badge.html │ ├── mermaid.html │ ├── lead.html │ ├── profile.html │ ├── alert.html │ ├── button.html │ ├── chart.html │ ├── icon.html │ ├── screenshot.html │ └── figure.html ├── robots.txt ├── partials │ ├── functions │ │ ├── date.html │ │ ├── init.html │ │ └── warnings.html │ ├── meta │ │ ├── word-count.html │ │ ├── date.html │ │ ├── reading-time.html │ │ ├── date-updated.html │ │ └── edit.html │ ├── icon.html │ ├── badge.html │ ├── home │ │ ├── page.html │ │ └── profile.html │ ├── recent-articles.html │ ├── toc.html │ ├── author-links.html │ ├── breadcrumbs.html │ ├── sharing-links.html │ ├── analytics.html │ ├── profile.html │ ├── logo.html │ └── author.html ├── index.html ├── 404.html └── _default │ ├── _markup │ ├── render-heading.html │ ├── render-link.html │ └── render-image.html │ ├── index.json │ ├── simple.html │ ├── sitemap.xml │ ├── taxonomy.html │ └── term.html ├── images ├── tn.png ├── home-page.jpg ├── screenshot.png ├── home-profile.jpg └── home-profile-list.jpg ├── config └── _default │ ├── module.toml │ ├── markup.toml │ ├── config.toml │ └── menus.en.toml ├── static ├── favicon.ico ├── favicon-16x16.png ├── favicon-32x32.png ├── apple-touch-icon.png ├── android-chrome-192x192.png ├── android-chrome-512x512.png └── site.webmanifest ├── assets ├── js │ ├── quicklink.js │ ├── rtl.js │ ├── menu.js │ ├── chart.js │ └── mermaid.js ├── lib │ └── katex │ │ └── fonts │ │ ├── KaTeX_Main-Bold.ttf │ │ ├── KaTeX_AMS-Regular.ttf │ │ ├── KaTeX_Main-Bold.woff │ │ ├── KaTeX_Main-Bold.woff2 │ │ ├── KaTeX_Main-Italic.ttf │ │ ├── KaTeX_Math-Italic.ttf │ │ ├── KaTeX_AMS-Regular.woff │ │ ├── KaTeX_AMS-Regular.woff2 │ │ ├── KaTeX_Fraktur-Bold.ttf │ │ ├── KaTeX_Fraktur-Bold.woff │ │ ├── KaTeX_Fraktur-Bold.woff2 │ │ ├── KaTeX_Main-Italic.woff │ │ ├── KaTeX_Main-Italic.woff2 │ │ ├── KaTeX_Main-Regular.ttf │ │ ├── KaTeX_Main-Regular.woff │ │ ├── KaTeX_Main-Regular.woff2 │ │ ├── KaTeX_Math-Italic.woff │ │ ├── KaTeX_Math-Italic.woff2 │ │ ├── KaTeX_SansSerif-Bold.ttf │ │ ├── KaTeX_Script-Regular.ttf │ │ ├── KaTeX_Size1-Regular.ttf │ │ ├── KaTeX_Size1-Regular.woff │ │ ├── KaTeX_Size2-Regular.ttf │ │ ├── KaTeX_Size2-Regular.woff │ │ ├── KaTeX_Size3-Regular.ttf │ │ ├── KaTeX_Size3-Regular.woff │ │ ├── KaTeX_Size4-Regular.ttf │ │ ├── KaTeX_Size4-Regular.woff │ │ ├── KaTeX_Caligraphic-Bold.ttf │ │ ├── KaTeX_Fraktur-Regular.ttf │ │ ├── KaTeX_Fraktur-Regular.woff │ │ ├── KaTeX_Main-BoldItalic.ttf │ │ ├── KaTeX_Main-BoldItalic.woff │ │ ├── KaTeX_Math-BoldItalic.ttf │ │ ├── KaTeX_Math-BoldItalic.woff │ │ ├── KaTeX_SansSerif-Bold.woff │ │ ├── KaTeX_SansSerif-Bold.woff2 │ │ ├── KaTeX_SansSerif-Italic.ttf │ │ ├── KaTeX_Script-Regular.woff │ │ ├── KaTeX_Script-Regular.woff2 │ │ ├── KaTeX_Size1-Regular.woff2 │ │ ├── KaTeX_Size2-Regular.woff2 │ │ ├── KaTeX_Size3-Regular.woff2 │ │ ├── KaTeX_Size4-Regular.woff2 │ │ ├── KaTeX_Caligraphic-Bold.woff │ │ ├── KaTeX_Caligraphic-Bold.woff2 │ │ ├── KaTeX_Caligraphic-Regular.ttf │ │ ├── KaTeX_Fraktur-Regular.woff2 │ │ ├── KaTeX_Main-BoldItalic.woff2 │ │ ├── KaTeX_Math-BoldItalic.woff2 │ │ ├── KaTeX_SansSerif-Italic.woff │ │ ├── KaTeX_SansSerif-Italic.woff2 │ │ ├── KaTeX_SansSerif-Regular.ttf │ │ ├── KaTeX_SansSerif-Regular.woff │ │ ├── KaTeX_SansSerif-Regular.woff2 │ │ ├── KaTeX_Typewriter-Regular.ttf │ │ ├── KaTeX_Typewriter-Regular.woff │ │ ├── KaTeX_Caligraphic-Regular.woff │ │ ├── KaTeX_Caligraphic-Regular.woff2 │ │ └── KaTeX_Typewriter-Regular.woff2 ├── icons │ ├── microsoft.svg │ ├── patreon.svg │ ├── x-twitter.svg │ ├── chevron-down.svg │ ├── chevron-up.svg │ ├── twitch.svg │ ├── mobile.svg │ ├── tiktok.svg │ ├── stack-overflow.svg │ ├── check.svg │ ├── google.svg │ ├── moon.svg │ ├── facebook.svg │ ├── comment.svg │ ├── phone.svg │ ├── flickr.svg │ ├── kickstarter.svg │ ├── tag.svg │ ├── bars.svg │ ├── hashnode.svg │ ├── orcid.svg │ ├── tumblr.svg │ ├── circle-info.svg │ ├── xmark.svg │ ├── triangle-exclamation.svg │ ├── medium.svg │ ├── linkedin.svg │ ├── apple.svg │ ├── search.svg │ ├── youtube.svg │ ├── pencil.svg │ ├── xing.svg │ ├── foursquare.svg │ ├── lastfm.svg │ ├── google-scholar.svg │ ├── coffee.svg │ ├── mastodon.svg │ ├── amazon.svg │ ├── lightbulb.svg │ ├── codepen.svg │ ├── pinterest.svg │ ├── edit.svg │ ├── bluesky.svg │ ├── dev.svg │ ├── translate.svg │ ├── sun.svg │ ├── telegram.svg │ ├── steam.svg │ ├── researchgate.svg │ ├── list.svg │ ├── email.svg │ ├── twitter.svg │ ├── blogger.svg │ ├── skull-crossbones.svg │ ├── mendeley.svg │ ├── whatsapp.svg │ ├── reddit.svg │ ├── instagram.svg │ ├── globe.svg │ ├── link.svg │ ├── slack.svg │ ├── dribbble.svg │ ├── threads.svg │ ├── weibo.svg │ ├── bug.svg │ ├── line.svg │ ├── discord.svg │ ├── github.svg │ └── keybase.svg └── css │ └── schemes │ ├── avocado.css │ ├── fire.css │ ├── ocean.css │ ├── slate.css │ ├── cherry.css │ ├── congo.css │ └── sapphire.css ├── archetypes ├── default.md └── external.md ├── .prettierignore ├── scripts └── index.js ├── .gitignore ├── lighthouserc.js ├── .prettierrc ├── netlify.toml ├── theme.toml ├── LICENSE └── i18n ├── zh-Hans.yaml ├── zh-Hant.yaml ├── ko.yaml ├── ja.yaml ├── he.yaml ├── nb.yaml ├── ro.yaml ├── en.yaml ├── tr.yaml ├── sv.yaml ├── vi.yaml └── ar.yaml /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: jpanther 2 | -------------------------------------------------------------------------------- /exampleSite/config/_default/taxonomies.toml: -------------------------------------------------------------------------------- 1 | tag = "tags" 2 | -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/jpanther/congo/v2 2 | 3 | go 1.16 4 | -------------------------------------------------------------------------------- /layouts/shortcodes/katex.html: -------------------------------------------------------------------------------- 1 | {{/* Nothing to see here */}} 2 | -------------------------------------------------------------------------------- /layouts/shortcodes/badge.html: -------------------------------------------------------------------------------- 1 | {{ partial "badge.html" .Inner }} 2 | -------------------------------------------------------------------------------- /images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/images/tn.png -------------------------------------------------------------------------------- /config/_default/module.toml: -------------------------------------------------------------------------------- 1 | [hugoVersion] 2 | extended = true 3 | min = "0.87.0" 4 | -------------------------------------------------------------------------------- /layouts/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Allow: / 3 | Sitemap: {{ "sitemap.xml" | absURL }} 4 | -------------------------------------------------------------------------------- /static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/static/favicon.ico -------------------------------------------------------------------------------- /images/home-page.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/images/home-page.jpg -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/images/screenshot.png -------------------------------------------------------------------------------- /assets/js/quicklink.js: -------------------------------------------------------------------------------- 1 | window.addEventListener("load", () => { 2 | quicklink.listen(); 3 | }); 4 | -------------------------------------------------------------------------------- /exampleSite/config/_default/module.toml: -------------------------------------------------------------------------------- 1 | [hugoVersion] 2 | extended = true 3 | min = "0.87.0" 4 | -------------------------------------------------------------------------------- /images/home-profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/images/home-profile.jpg -------------------------------------------------------------------------------- /layouts/shortcodes/mermaid.html: -------------------------------------------------------------------------------- 1 |
2 | {{ .Inner }} 3 |
4 | -------------------------------------------------------------------------------- /static/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/static/favicon-16x16.png -------------------------------------------------------------------------------- /static/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/static/favicon-32x32.png -------------------------------------------------------------------------------- /static/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/static/apple-touch-icon.png -------------------------------------------------------------------------------- /images/home-profile-list.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/images/home-profile-list.jpg -------------------------------------------------------------------------------- /layouts/shortcodes/lead.html: -------------------------------------------------------------------------------- 1 |
2 | {{ .Inner | markdownify }} 3 |
4 | -------------------------------------------------------------------------------- /exampleSite/assets/img/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/assets/img/logo.jpg -------------------------------------------------------------------------------- /layouts/partials/functions/date.html: -------------------------------------------------------------------------------- 1 | {{ return time.Format (site.Params.dateFormat | default ":date_long") . }} 2 | -------------------------------------------------------------------------------- /exampleSite/assets/img/author.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/assets/img/author.jpg -------------------------------------------------------------------------------- /static/android-chrome-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/static/android-chrome-192x192.png -------------------------------------------------------------------------------- /static/android-chrome-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/static/android-chrome-512x512.png -------------------------------------------------------------------------------- /exampleSite/content/docs/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/screenshot.png -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Bold.ttf -------------------------------------------------------------------------------- /layouts/shortcodes/profile.html: -------------------------------------------------------------------------------- 1 | {{ $align := default "center" (.Get "align") }} 2 | {{ partial "profile.html" (dict "align" $align) }} 3 | -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_AMS-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_AMS-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Bold.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Bold.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Italic.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Math-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Math-Italic.ttf -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .Name "-" " " | title }}" 3 | date: {{ .Date }} 4 | draft: true 5 | description: "" 6 | --- 7 | -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_AMS-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_AMS-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_AMS-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_AMS-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Fraktur-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Fraktur-Bold.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Italic.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Italic.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Math-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Math-Italic.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Math-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Math-Italic.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Script-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Script-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size1-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size1-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size1-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size1-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size2-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size2-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size2-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size2-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size3-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size3-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size3-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size3-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size4-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size4-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size4-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size4-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Fraktur-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Math-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Bold.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Script-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Script-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Script-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Script-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size1-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size1-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size2-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size2-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size3-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size3-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Size4-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Size4-Regular.woff2 -------------------------------------------------------------------------------- /exampleSite/content/docs/shortcodes/abstract.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/shortcodes/abstract.jpg -------------------------------------------------------------------------------- /exampleSite/content/docs/version-2/lighthouse.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/version-2/lighthouse.jpg -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Caligraphic-Bold.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Fraktur-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Main-BoldItalic.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Math-BoldItalic.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Italic.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_SansSerif-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Typewriter-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.ttf -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff -------------------------------------------------------------------------------- /layouts/partials/functions/init.html: -------------------------------------------------------------------------------- 1 | {{ $.Scratch.Set "searchCount" 0 }} 2 | {{ $.Scratch.Set "switchCount" 0 }} 3 | {{ $.Scratch.Set "localeCount" 0 }} 4 | -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Caligraphic-Regular.woff2 -------------------------------------------------------------------------------- /assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/assets/lib/katex/fonts/KaTeX_Typewriter-Regular.woff2 -------------------------------------------------------------------------------- /exampleSite/content/docs/homepage-layout/home-page.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/homepage-layout/home-page.jpg -------------------------------------------------------------------------------- /exampleSite/content/docs/partials/fathom-analytics.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/partials/fathom-analytics.jpg -------------------------------------------------------------------------------- /exampleSite/content/docs/version-2/image-resizing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/version-2/image-resizing.png -------------------------------------------------------------------------------- /layouts/partials/meta/word-count.html: -------------------------------------------------------------------------------- 1 | 2 | {{- i18n "article.word_count" .WordCount | markdownify | emojify -}} 3 | 4 | {{- /* Trim EOF */ -}} 5 | -------------------------------------------------------------------------------- /exampleSite/content/docs/homepage-layout/home-profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/homepage-layout/home-profile.jpg -------------------------------------------------------------------------------- /exampleSite/content/docs/homepage-layout/home-profile-list.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/homepage-layout/home-profile-list.jpg -------------------------------------------------------------------------------- /assets/js/rtl.js: -------------------------------------------------------------------------------- 1 | window.addEventListener("DOMContentLoaded", (event) => { 2 | document.querySelectorAll("pre, .highlight-wrapper").forEach((tag) => (tag.dir = "auto")); 3 | }); 4 | -------------------------------------------------------------------------------- /exampleSite/content/docs/getting-started/article-screenshot.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/getting-started/article-screenshot.jpg -------------------------------------------------------------------------------- /exampleSite/content/docs/hosting-deployment/render-settings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/hosting-deployment/render-settings.jpg -------------------------------------------------------------------------------- /.github/labeller.yml: -------------------------------------------------------------------------------- 1 | i18n: 2 | - changed-files: 3 | - any-glob-to-any-file: i18n/* 4 | 5 | documentation: 6 | - changed-files: 7 | - any-glob-to-any-file: "**/*.md" 8 | -------------------------------------------------------------------------------- /exampleSite/content/docs/hosting-deployment/github-pages-source.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/hosting-deployment/github-pages-source.jpg -------------------------------------------------------------------------------- /assets/js/menu.js: -------------------------------------------------------------------------------- 1 | /* 2 | Closes the hamburger menu when a link is clicked. 3 | */ 4 | function close_menu() { 5 | document.getElementById("menu-controller").checked = false; 6 | } 7 | -------------------------------------------------------------------------------- /exampleSite/content/docs/hosting-deployment/netlify-build-settings.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/hosting-deployment/netlify-build-settings.jpg -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /exampleSite/content/docs/hosting-deployment/github-workflow-permissions.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/docs/hosting-deployment/github-workflow-permissions.jpg -------------------------------------------------------------------------------- /layouts/partials/meta/date.html: -------------------------------------------------------------------------------- 1 | 4 | {{- /* Trim EOF */ -}} 5 | -------------------------------------------------------------------------------- /exampleSite/content/samples/external/thumb-clint-adair-BW0vK-FA3eg-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/external/thumb-clint-adair-BW0vK-FA3eg-unsplash.jpg -------------------------------------------------------------------------------- /exampleSite/content/samples/icons/thumb-harpal-singh-_zKxPsGOGKg-unsplash-2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/icons/thumb-harpal-singh-_zKxPsGOGKg-unsplash-2.jpg -------------------------------------------------------------------------------- /exampleSite/content/tags/advanced/_index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: advanced 3 | --- 4 | 5 | 这是高级标签。就像Congo中的其他列表页面一样,您可以为单个分类术语添加自定义内容,并将其显示在术语列表的顶部。 :rocket: 6 | 7 | 您还可以使用这些内容页面定义Hugo元数据,如标题和描述,这将用于SEO和其他目的。 8 | -------------------------------------------------------------------------------- /archetypes/external.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .Name "-" " " | title }}" 3 | date: {{ .Date }} 4 | externalUrl: "" 5 | summary: "" 6 | showReadingTime: false 7 | _build: 8 | render: "never" 9 | --- 10 | -------------------------------------------------------------------------------- /exampleSite/content/samples/charts/thumb-jason-coudriet-eQux_nmDew0-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/charts/thumb-jason-coudriet-eQux_nmDew0-unsplash.jpg -------------------------------------------------------------------------------- /exampleSite/content/samples/markdown/thumb-surendran-mp-IhWYiwSxm8g-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/markdown/thumb-surendran-mp-IhWYiwSxm8g-unsplash.jpg -------------------------------------------------------------------------------- /layouts/partials/meta/reading-time.html: -------------------------------------------------------------------------------- 1 | 2 | {{- i18n "article.reading_time" .ReadingTime | markdownify | emojify -}} 3 | 4 | {{- /* Trim EOF */ -}} 5 | -------------------------------------------------------------------------------- /exampleSite/content/samples/emoji/feature-domingo-alvarez-e-Cs3y8Mn6-Gk-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/emoji/feature-domingo-alvarez-e-Cs3y8Mn6-Gk-unsplash.jpg -------------------------------------------------------------------------------- /layouts/partials/meta/date-updated.html: -------------------------------------------------------------------------------- 1 | 4 | {{- /* Trim EOF */ -}} 5 | -------------------------------------------------------------------------------- /exampleSite/content/samples/placeholder-text/thumb-kelly-sikkema-NBkMT8duVSI-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/placeholder-text/thumb-kelly-sikkema-NBkMT8duVSI-unsplash.jpg -------------------------------------------------------------------------------- /assets/icons/microsoft.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/rich-content/feature-alexander-shatov-mr4JG4SYOF8-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/rich-content/feature-alexander-shatov-mr4JG4SYOF8-unsplash.jpg -------------------------------------------------------------------------------- /exampleSite/content/samples/mathematical-notation/feature-artturi-jalli-gYrYa37fAKI-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/mathematical-notation/feature-artturi-jalli-gYrYa37fAKI-unsplash.jpg -------------------------------------------------------------------------------- /exampleSite/content/tags/_index.zh-CN.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Tags 3 | --- 4 | 5 | Congo完全支持Hugo分类法,并将适应任何分类法设置。像这样的分类法列表还支持在术语列表上方显示自定义内容。 6 | 7 | 这个区域可以用来添加一些额外的描述性文本到每个分类法。查看下面的 [高级标签]({{< ref "advanced" >}}) 了解如何进一步学习这个概念。 8 | 9 | --- 10 | -------------------------------------------------------------------------------- /layouts/partials/icon.html: -------------------------------------------------------------------------------- 1 | {{- $icon := resources.Get (print "icons/" . ".svg") -}} 2 | {{- if $icon -}} 3 | 4 | {{- $icon.Content | safeHTML -}} 5 | 6 | {{- end -}} 7 | -------------------------------------------------------------------------------- /exampleSite/content/samples/diagrams-flowcharts/thumb-christina-wocintechchat-com-tYVkjjMYFBo-unsplash.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/stereobooster/congo/dev/exampleSite/content/samples/diagrams-flowcharts/thumb-christina-wocintechchat-com-tYVkjjMYFBo-unsplash.jpg -------------------------------------------------------------------------------- /layouts/partials/badge.html: -------------------------------------------------------------------------------- 1 | 2 | 5 | {{ . }} 6 | 7 | 8 | -------------------------------------------------------------------------------- /exampleSite/content/tags/advanced/_index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: advanced 3 | --- 4 | 5 | これは高度なタグです。Congoの他のリスティングページと同様に、個々のTaxonomy Termにカスタムコンテンツを追加することができ、Term Listの上部に表示されます。 :rocket: 6 | 7 | また、これらのコンテンツページを使用して、SEOやその他の目的で使用されるタイトルや説明文などのHugoのメタデータを定義することもできます。 8 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | /assets/css/compiled/ 2 | /assets/lib/ 3 | 4 | /layouts/_default/_markup/*.html 5 | /layouts/partials/picture.html 6 | /layouts/shortcodes/figure.html 7 | /layouts/shortcodes/screenshot.html 8 | 9 | /exampleSite/content/docs/version-2/lighthouse.html 10 | -------------------------------------------------------------------------------- /assets/icons/patreon.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/x-twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /config/_default/markup.toml: -------------------------------------------------------------------------------- 1 | # -- Markup -- 2 | # These settings are required for the theme to function. 3 | 4 | [goldmark] 5 | [goldmark.renderer] 6 | unsafe = true 7 | 8 | [highlight] 9 | noClasses = false 10 | 11 | [tableOfContents] 12 | startLevel = 2 13 | endLevel = 4 14 | -------------------------------------------------------------------------------- /layouts/index.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 | {{ $partial := print "partials/home/" .Site.Params.homepage.layout ".html" }} 3 | {{ if templates.Exists $partial }} 4 | {{ partial $partial . }} 5 | {{ else }} 6 | {{ partial "partials/home/page.html" . }} 7 | {{ end }} 8 | {{ end }} 9 | -------------------------------------------------------------------------------- /assets/icons/chevron-down.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/chevron-up.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/config/_default/markup.toml: -------------------------------------------------------------------------------- 1 | # -- Markup -- 2 | # These settings are required for the theme to function. 3 | 4 | [goldmark] 5 | [goldmark.renderer] 6 | unsafe = true 7 | 8 | [highlight] 9 | noClasses = false 10 | 11 | [tableOfContents] 12 | startLevel = 2 13 | endLevel = 3 14 | -------------------------------------------------------------------------------- /assets/icons/twitch.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/mobile.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/tags/_index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Tags 3 | --- 4 | 5 | CongoはHugoのTaxonomiesを完全にサポートしており、どのようなTaxonomiesの設定にも適応します。Taxonomiesのリストは、用語リストの上に表示されるカスタムコンテンツもサポートしています。 6 | 7 | この領域は各Taxonomyに説明的なテキストを追加するために使用することができます。このコンセプトをさらに発展させる方法について、以下の[Tags/advanced]({{< ref "advanced" >}})も参照してください。 8 | 9 | --- 10 | -------------------------------------------------------------------------------- /assets/icons/tiktok.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/shortcodes/alert.html: -------------------------------------------------------------------------------- 1 |
2 | 3 | {{ partial "icon.html" (.Get 0 | default "triangle-exclamation") }} 4 | 5 | 6 | {{- .Inner | markdownify -}} 7 | 8 |
9 | -------------------------------------------------------------------------------- /layouts/partials/home/page.html: -------------------------------------------------------------------------------- 1 |
2 | {{ with .Title }} 3 |
4 |

{{ . | emojify }}

5 |
6 | {{ end }} 7 |
{{ .Content | emojify }}
8 |
9 |
10 | {{ partial "recent-articles.html" . }} 11 |
12 | -------------------------------------------------------------------------------- /assets/icons/stack-overflow.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/workflows/unlabel.yml: -------------------------------------------------------------------------------- 1 | name: Unlabeller 2 | 3 | on: 4 | issues: 5 | types: [closed] 6 | pull_request: 7 | types: [closed] 8 | 9 | jobs: 10 | unlabel: 11 | runs-on: ubuntu-latest 12 | steps: 13 | - name: Remove labels 14 | uses: andymckay/labeler@master 15 | with: 16 | remove-labels: "wip" 17 | -------------------------------------------------------------------------------- /scripts/index.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | const { program } = require("commander"); 3 | const { add_icon_to_congo } = require("./update_icon"); 4 | 5 | // Adds an icon to the project. 6 | program 7 | .command("add-icon ") 8 | .description("Add icon to the project") 9 | .action(add_icon_to_congo); 10 | 11 | program.parse(process.argv); 12 | -------------------------------------------------------------------------------- /assets/icons/check.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/google.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/moon.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/facebook.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/404.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |

{{ i18n "error.404_title" | emojify }}

3 |

4 | {{ i18n "error.404_error" | emojify }} 5 |

6 |
7 |

{{ i18n "error.404_description" | emojify }}

8 |
9 | {{ end }} 10 | -------------------------------------------------------------------------------- /assets/icons/comment.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/phone.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | contact_links: 3 | - name: 💡 Feature Request 4 | url: https://github.com/jpanther/congo/discussions 5 | about: Request and discuss enhancements using GitHub Discussions 6 | - name: 🙋‍♀️ Question 7 | url: https://github.com/jpanther/congo/discussions 8 | about: Please ask and answer general questions using GitHub Discussions 9 | -------------------------------------------------------------------------------- /layouts/partials/home/profile.html: -------------------------------------------------------------------------------- 1 |
6 | {{ partial "profile.html" }} 7 |
{{ .Content | emojify }}
8 |
9 |
10 | {{ partial "recent-articles.html" . }} 11 |
12 | -------------------------------------------------------------------------------- /exampleSite/content/tags/advanced/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: advanced 3 | --- 4 | 5 | This is the advanced tag. Just like other listing pages in Congo, you can add custom content to individual taxonomy terms and it will be displayed at the top of the term listing. :rocket: 6 | 7 | You can also use these content pages to define Hugo metadata like titles and descriptions that will be used for SEO and other purposes. 8 | -------------------------------------------------------------------------------- /assets/icons/flickr.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/kickstarter.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/shortcodes/button.html: -------------------------------------------------------------------------------- 1 | 8 | {{ .Inner }} 9 | 10 | -------------------------------------------------------------------------------- /exampleSite/config/_default/config.toml: -------------------------------------------------------------------------------- 1 | # -- Site Configuration -- 2 | # Refer to the theme docs for more details about each of these parameters. 3 | # https://jpanther.github.io/congo/docs/getting-started/ 4 | 5 | theme = "congo" 6 | defaultContentLanguage = "en" 7 | 8 | enableRobotsTXT = true 9 | summaryLength = 0 10 | 11 | [pagination] 12 | pagerSize = 15 13 | 14 | [outputs] 15 | home = ["HTML", "RSS", "JSON"] 16 | -------------------------------------------------------------------------------- /exampleSite/content/samples/_index.zh-Hans.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "内容样例" 3 | description: "探索Congo的无限可能" 4 | 5 | cascade: 6 | showEdit: false 7 | showSummary: true 8 | --- 9 | 10 | {{< lead >}} 11 | Congo让您的内容栩栩如生。 :heart_eyes: 12 | {{< /lead >}} 13 | 14 | 这个部分包含一些演示页面,展示了Congo 如何呈现不同类型的内容。您还可以查看一个 [分类法列表]({{< ref "tags" >}}) 页面的示例。 15 | 16 | _**附注:** 此页面只是一个标准的Congo文章列表,Hugo已经配置生成了一个`samples`内容类型并显示文章摘要。_ 17 | 18 | --- 19 | -------------------------------------------------------------------------------- /layouts/shortcodes/chart.html: -------------------------------------------------------------------------------- 1 |
2 | {{ $id := delimit (shuffle (seq 1 9)) "" }} 3 | 4 | 12 |
13 | -------------------------------------------------------------------------------- /layouts/shortcodes/icon.html: -------------------------------------------------------------------------------- 1 | {{ $icon := resources.Get (printf "icons/%s.svg" ($.Get 0)) }} 2 | {{ if $icon }} 3 | 4 | {{ $icon.Content | safeHTML }} 5 | 6 | {{ else }} 7 | {{ errorf `[CONGO] Shortcode "icon" error in "%s": Resource "%s" not found. Check the path is correct or remove the shortcode.` .Page.Path (printf "icons/%s.svg" ($.Get 0)) }} 8 | {{ end }} 9 | -------------------------------------------------------------------------------- /config/_default/config.toml: -------------------------------------------------------------------------------- 1 | # -- Site Configuration -- 2 | # Refer to the theme docs for more details about each of these parameters. 3 | # https://jpanther.github.io/congo/docs/getting-started/ 4 | 5 | # baseURL = "https://your_domain.com/" 6 | defaultContentLanguage = "en" 7 | 8 | enableRobotsTXT = true 9 | summaryLength = 0 10 | 11 | [pagination] 12 | pagerSize = 10 13 | 14 | [outputs] 15 | home = ["HTML", "RSS", "JSON"] 16 | -------------------------------------------------------------------------------- /layouts/partials/recent-articles.html: -------------------------------------------------------------------------------- 1 | {{ if .Site.Params.homepage.showRecent | default false }} 2 |

{{ i18n "shortcode.recent_articles" | emojify }}

3 | {{ range first .Site.Params.homepage.recentLimit (.Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) .Site.Params.homepage.recentLimit).Pages }} 4 | {{ partial "article-link.html" . }} 5 | {{ end }} 6 | {{ end }} 7 | -------------------------------------------------------------------------------- /assets/icons/tag.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/workflows/label.yml: -------------------------------------------------------------------------------- 1 | name: Labeller 2 | 3 | on: [pull_request_target] 4 | 5 | jobs: 6 | label: 7 | name: Label 8 | runs-on: ubuntu-latest 9 | permissions: 10 | contents: read 11 | pull-requests: write 12 | 13 | steps: 14 | - name: Label 15 | uses: actions/labeler@v5 16 | with: 17 | repo-token: "${{ secrets.GITHUB_TOKEN }}" 18 | configuration-path: .github/labeller.yml 19 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ### Node ### 2 | # Dependency directories 3 | node_modules/ 4 | 5 | ### Hugo ### 6 | # Generated files by hugo 7 | **/public/ 8 | **/resources/_gen/ 9 | 10 | # Executable may be added to repository 11 | hugo.exe 12 | hugo.darwin 13 | hugo.linux 14 | 15 | # Temporary lock file while building 16 | .hugo_build.lock 17 | 18 | ### Congo ### 19 | # Lighthouse generated output 20 | .lighthouseci 21 | 22 | # Project specific files 23 | TODO 24 | -------------------------------------------------------------------------------- /exampleSite/content/tags/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Tags 3 | --- 4 | 5 | Congo has full support for Hugo taxonomies and will adapt to any taxonomy set up. Taxonomy listings like this one also support custom content to be displayed above the list of terms. 6 | 7 | This area could be used to add some extra descriptive text to each taxonomy. Check out the [advanced tag]({{< ref "advanced" >}}) below to see how to take this concept even further. 8 | 9 | --- 10 | -------------------------------------------------------------------------------- /exampleSite/content/tags/advanced/_index.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Avanzada 3 | --- 4 | 5 | Esta es la etiqueta avanzada. Al igual que otras páginas de listas en Congo, puede agregar contenido personalizado a los términos taxonómicos individuales y se mostrará en la parte superior de la lista de términos. :rocket: 6 | 7 | También puedes usar estas páginas de contenido para definir metadatos de Hugo como títulos y descripciones que se usarán para SEO y otros fines. 8 | -------------------------------------------------------------------------------- /assets/icons/bars.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/hashnode.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/orcid.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/tumblr.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/circle-info.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/xmark.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/triangle-exclamation.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/layouts/partials/home/custom.html: -------------------------------------------------------------------------------- 1 | {{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint "sha512" }} 2 |
3 | {{ partial "partials/home/page.html" . }} 4 |
5 | 8 | 14 | -------------------------------------------------------------------------------- /lighthouserc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ci: { 3 | collect: { 4 | startServerCommand: "npm run example -- --disableLiveReload --minify", 5 | startServerReadyPattern: "Web Server is available", 6 | url: ["http://localhost:8008/congo/samples/emoji/"], 7 | settings: { 8 | skipAudits: ["uses-text-compression", "uses-long-cache-ttl"], 9 | }, 10 | }, 11 | upload: { 12 | target: "temporary-public-storage", 13 | }, 14 | }, 15 | }; 16 | -------------------------------------------------------------------------------- /exampleSite/content/samples/_index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "サンプル" 3 | description: "Congoの可能性を見てみましょう" 4 | 5 | cascade: 6 | showEdit: false 7 | showSummary: true 8 | --- 9 | 10 | {{< lead >}} 11 | Congoはあなたのコンテンツに命を吹き込みます :heart_eyes: 12 | {{< /lead >}} 13 | 14 | このセクションには、Congoがさまざまなタイプのコンテンツをどのようにレンダリングするかを示すいくつかのデモページがあります。また、[Tags]({{< ref "tags" >}})ページの例も見ることができます。 15 | 16 | _**補足:** このページは標準的なCongoの記事リストであり、Hugoは `samples` コンテンツタイプを生成し、記事の要約を表示するように設定されています。_ 17 | 18 | --- 19 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "plugins": ["prettier-plugin-go-template", "prettier-plugin-tailwindcss"], 3 | "goTemplateBracketSpacing": true, 4 | "htmlWhitespaceSensitivity": "css", 5 | "printWidth": 100, 6 | "singleQuote": false, 7 | "tabWidth": 2, 8 | "useTabs": false, 9 | "trailingComma": "es5", 10 | "overrides": [ 11 | { 12 | "files": ["*.html", "layouts/_default/*.json"], 13 | "options": { 14 | "parser": "go-template" 15 | } 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /layouts/partials/toc.html: -------------------------------------------------------------------------------- 1 |
2 | 5 | {{ i18n "article.table_of_contents" }} 6 | 7 |
8 | {{ .TableOfContents | emojify }} 9 |
10 |
11 | -------------------------------------------------------------------------------- /exampleSite/layouts/shortcodes/swatches.html: -------------------------------------------------------------------------------- 1 |
2 | 6 | 10 | 14 |
15 | -------------------------------------------------------------------------------- /assets/icons/medium.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/external/index.zh-Hans.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "外部文章 - 为什么我改用 Fathom Analytics" 3 | date: 2019-01-24 4 | externalUrl: "https://jamespanther.com/writings/i-switched-from-google-analytics-to-fathom-analytics/" 5 | summary: "Front Matter中的`externalUrl` 参数可以链接到任何 URL。这篇文章看起来和其他文章没什么区别,但会链接到 Hugo 网站之外的一篇文章。" 6 | showReadingTime: false 7 | _build: 8 | render: "never" 9 | list: "local" 10 | --- 11 | 12 | 这个页面使用Front Matter中的`externalUrl`参数将链接指向了Hugo网站之外的一篇文章。 13 | 14 | 这对于像链接到Medium上的文章或者托管在第三方网站上的研究论文等情况非常方便。 15 | -------------------------------------------------------------------------------- /assets/icons/linkedin.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/apple.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/external/index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "外部記事 - 私がFathom Analyticsに乗り換えた理由" 3 | date: 2019-01-24 4 | externalUrl: "https://jamespanther.com/writings/i-switched-from-google-analytics-to-fathom-analytics/" 5 | summary: "`externalUrl` フロントマターパラメーターは任意のURLにリンクすることができます。この記事は他の記事と同じように見えますが、このウェブサイトの外にある記事にリンクしています。" 6 | showReadingTime: false 7 | _build: 8 | render: "never" 9 | list: "local" 10 | --- 11 | 12 | `externalUrl` フロントマターパラメーターを使用して、このウェブサイトの外の記事にリンクします。 13 | 14 | Mediumの投稿や、第三者のウェブサイトでホストしている研究論文へのリンクなどに最適です。 15 | -------------------------------------------------------------------------------- /exampleSite/content/tags/_index.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Etiquetas 3 | --- 4 | 5 | Congo tiene soporte total para las taxonomías de Hugo y se adaptará a cualquier configuración de taxonomía. Las listas de taxonomías como esta también admiten contenido personalizado que se muestra encima de la lista de términos. 6 | 7 | Esta área podría usarse para agregar texto descriptivo adicional a cada taxonomía. Consulte el ejemplo de [etiquetas avanzadas]({{< ref path="advanced" >}}) a continuación para ver cómo llevar este concepto aún más lejos. 8 | 9 | --- 10 | -------------------------------------------------------------------------------- /static/site.webmanifest: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Congo", 3 | "short_name": "Congo", 4 | "icons": [ 5 | { 6 | "src": "/android-chrome-192x192.png", 7 | "sizes": "192x192", 8 | "type": "image/png", 9 | "purpose": "any maskable" 10 | }, 11 | { 12 | "src": "/android-chrome-512x512.png", 13 | "sizes": "512x512", 14 | "type": "image/png", 15 | "purpose": "any maskable" 16 | } 17 | ], 18 | "theme_color": "#ffffff", 19 | "background_color": "#7c3aed", 20 | "display": "standalone" 21 | } 22 | -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | command = "cd exampleSite && hugo --gc --minify -D -b $URL" 3 | publish = "exampleSite/public" 4 | 5 | [build.environment] 6 | HUGO_VERSION = "0.133.0" 7 | HUGO_THEMESDIR = "../.." 8 | HUGO_THEME = "repo" 9 | TZ = "Australia/Melbourne" 10 | 11 | [context.production.environment] 12 | HUGO_ENV = "production" 13 | 14 | [context.deploy-preview] 15 | command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" 16 | 17 | [context.branch-deploy] 18 | command = "cd exampleSite && hugo --gc --minify -D -b $DEPLOY_PRIME_URL" 19 | -------------------------------------------------------------------------------- /layouts/_default/_markup/render-heading.html: -------------------------------------------------------------------------------- 1 | {{ .Text | safeHTML }} {{ if .Page.Params.showHeadingAnchors | default (.Page.Site.Params.article.showHeadingAnchors | default true) }}#{{ end }} -------------------------------------------------------------------------------- /assets/icons/search.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/youtube.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/docs/_index.zh-Hans.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "文档" 3 | description: "了解如何使用Congo及其功能。" 4 | 5 | cascade: 6 | showDate: false 7 | showAuthor: false 8 | showSummary: true 9 | invertPagination: true 10 | --- 11 | 12 | {{< lead >}} 13 | 简单而强大。了解如何使用Congo及其功能。 14 | {{< /lead >}} 15 | 16 | ![Screenshots of Congo on an iPhone, iPad and MacBook](screenshot.png) 17 | 18 | 该部分包含关于Congo的所有必要信息。如果您是新手,请查看 [安装]({{< ref "docs/installation" >}}) 指南以开始,或访问 [示例]({{< ref "samples" >}}) 部分查看Congo的功能。 19 | 20 | 特别感谢 [Katerina Limpitsouni](https://ninalimpi.com) 为这些文档中使用的出色插图! 21 | 22 | --- 23 | -------------------------------------------------------------------------------- /theme.toml: -------------------------------------------------------------------------------- 1 | # Congo theme for Hugo 2 | 3 | name = "congo" 4 | license = "MIT" 5 | licenselink = "https://github.com/jpanther/congo/blob/master/LICENSE" 6 | description = "A powerful, lightweight theme for Hugo built with Tailwind CSS." 7 | 8 | homepage = "https://github.com/jpanther/congo/" 9 | demosite = "https://jpanther.github.io/congo/" 10 | 11 | tags = ["blog", "minimal", "responsive", "dark mode", "dark", "light", "tailwind", "personal"] 12 | features = ["syntax highlighting", "dark mode", "emoji"] 13 | 14 | [author] 15 | name = "James Panther" 16 | homepage = "https://jamespanther.com/" 17 | -------------------------------------------------------------------------------- /assets/icons/pencil.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/xing.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /exampleSite/content/samples/emoji/index.zh-Hans.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "表情符号 :parachute:" 3 | date: 2019-03-05 4 | description: "表情符号使用教程" 5 | summary: "📖🏞️🧗🏽🐉🧙🏽‍♂️🧚🏽👸" 6 | tags: ["emoji", "sample"] 7 | --- 8 | 9 | Congo 默认支持在标题、菜单项和文章内容中使用 Emoji。Emoji 可以直接在内容和前置参数中使用简码。 10 | 11 | {{< alert >}} 12 | **注意:** 这些图形的渲染取决于浏览器和平台。要样式化 Emoji,您可以使用第三方 Emoji 字体或字体堆栈。 13 | {{< /alert >}} 14 | 15 | Congo 自动在整个主题中替换 Emoji,因此您可以在内容和前置参数中使用简码,它们将在构建时转换为相应的符号。 16 | 17 | **示例:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:。 18 | 19 | [Emojipedia](https://emojipedia.org/) 是一个有用的 Emoji 简码参考网站。 20 | -------------------------------------------------------------------------------- /exampleSite/content/samples/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Content Samples" 3 | description: "See what's possible with Congo." 4 | 5 | cascade: 6 | showEdit: false 7 | showSummary: true 8 | --- 9 | 10 | {{< lead >}} 11 | Congo brings your content to life. :heart_eyes: 12 | {{< /lead >}} 13 | 14 | This section contains some demo pages that show how Congo renders different types of content. You can also see an example [taxonomy listing]({{< ref "tags" >}}) page. 15 | 16 | _**Sidenote:** This page is just a standard Congo article listing and Hugo has been configured to generate a `samples` content type and display article summaries._ 17 | 18 | --- 19 | -------------------------------------------------------------------------------- /assets/icons/foursquare.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/docs/_index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "ドキュメント" 3 | description: "Congoの特徴とその使い方について" 4 | 5 | cascade: 6 | showDate: false 7 | showAuthor: false 8 | showSummary: true 9 | invertPagination: true 10 | --- 11 | 12 | {{< lead >}} 13 | シンプルでパワフル。Congoの使い方と特徴をご紹介します。 14 | {{< /lead >}} 15 | 16 | ![Screenshots of Congo on an iPhone, iPad and MacBook](screenshot.png) 17 | 18 | このセクションにはCongoの知るべきすべてが含まれています。もしあなたがCongoに触れるのが初めてならば、[インストール]({{< ref "docs/installation" >}})ガイドを読むか、[例]({{< ref "samples" >}})を見て、Congoは何ができるか確認してください。 19 | 20 | _このドキュメントに素晴らしいイラストを提供してくれた[Katerina Limpitsouni](https://ninalimpi.com)に感謝します。_ 21 | 22 | --- 23 | -------------------------------------------------------------------------------- /exampleSite/content/samples/emoji/index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "絵文字 :parachute:" 3 | date: 2019-03-05 4 | description: "絵文字の使い方について" 5 | summary: "📖🏞️🧗🏽🐉🧙🏽‍♂️🧚🏽👸" 6 | tags: ["emoji", "sample"] 7 | --- 8 | 9 | Congo全体で絵文字(Emoji)をサポートしています。絵文字はタイトル、メニュー項目、記事内容で使用できます。 10 | 11 | {{< alert >}} 12 | **注記:** これらのグリフのレンダリングはブラウザとプラットフォームに依存します。絵文字をスタイルするには、サードパーティの絵文字フォントまたはフォントスタックを使用することができます。 13 | {{< /alert >}} 14 | 15 | 絵文字の置き換えはコンテンツやフロントマターでショートコードを使用すれば、ビルド時に対応するグリフに自動的に変換されます。 16 | 17 | **例:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil: 18 | 19 | [Emojipedia](https://emojipedia.org/)は、絵文字を探すための便利なリファレンスです。 20 | -------------------------------------------------------------------------------- /assets/icons/lastfm.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/_default/index.json: -------------------------------------------------------------------------------- 1 | {{- $index := slice -}} 2 | {{- range .Site.Pages -}} 3 | {{- $section := .Site.GetPage "section" .Section -}} 4 | {{- $showDate := .Params.showDate | default .Site.Params.article.showDate -}} 5 | {{- $index = $index | append (dict 6 | "date" (cond (and .IsPage $showDate) (.Date | time.Format (site.Params.dateFormat | default ":date_long")) nil) 7 | "title" (.Title | emojify | safeJS) 8 | "section" ($section.Title | emojify | safeJS) 9 | "summary" (.Summary | emojify | safeJS) 10 | "content" (.Plain | emojify | safeJS) 11 | "permalink" .RelPermalink 12 | ) 13 | -}} 14 | {{- end -}} 15 | {{- $index | jsonify -}} 16 | -------------------------------------------------------------------------------- /layouts/_default/simple.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
3 |
4 | {{ if .Params.showBreadcrumbs | default (.Site.Params.article.showBreadcrumbs | default false) }} 5 | {{ partial "breadcrumbs.html" . }} 6 | {{ end }} 7 |

8 | {{ .Title | emojify }} 9 |

10 |
11 |
12 | {{ .Content | emojify }} 13 |
14 |
15 | {{ partial "sharing-links.html" . }} 16 |
17 |
18 | {{ end }} 19 | -------------------------------------------------------------------------------- /layouts/partials/author-links.html: -------------------------------------------------------------------------------- 1 | {{ with site.Language.Params.Author.links }} 2 |
3 | {{ range $links := . }} 4 | {{ range $name, $url := $links }} 5 | {{ partial "icon.html" $name }} 14 | {{ end }} 15 | {{ end }} 16 |
17 | {{ end }} 18 | -------------------------------------------------------------------------------- /assets/icons/google-scholar.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /exampleSite/content/samples/_index.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Páginas de ejemplo" 3 | description: "Vea lo que es posible con Congo." 4 | 5 | cascade: 6 | showEdit: false 7 | showSummary: true 8 | --- 9 | 10 | {{< lead >}} 11 | Congo da vida a su contenido. :heart_eyes: 12 | {{< /lead >}} 13 | 14 | Esta sección contiene ejemplos que muestran cómo Congo representa diferentes tipos de contenido. También puedes ver una página con una [lista de taxonomía]({{< ref "tags" >}}) de ejemplo. 15 | 16 | _**Nota al margen:** Esta página es solo una lista estándar de artículos de Congo, y Hugo se ha configurado para generar un tipo de contenido de `ejemplos` y mostrar resúmenes de artículos._ 17 | 18 | --- 19 | -------------------------------------------------------------------------------- /assets/icons/coffee.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/partials/meta/edit.html: -------------------------------------------------------------------------------- 1 | {{ $url := .Params.editURL | default (.Site.Params.article.editURL | default "#") }} 2 | {{ $slash := "" }} 3 | {{ if .Params.editAppendPath | default ( .Site.Params.article.editAppendPath | default false ) }} 4 | {{ if ne (substr $url -1 1) "/" }} 5 | {{ $slash = "/" }} 6 | {{ end }} 7 | {{ $url = printf "%s%s%s" $url $slash (path.Join .File.Path) }} 8 | {{ end }} 9 | 10 | {{ partial "icon.html" "edit" }} 18 | 19 | {{- /* Trim EOF */ -}} 20 | -------------------------------------------------------------------------------- /assets/icons/mastodon.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /.github/workflows/test-build.yml: -------------------------------------------------------------------------------- 1 | name: Test Build 2 | 3 | on: [push] 4 | 5 | jobs: 6 | build: 7 | name: Build Example Site 8 | runs-on: ubuntu-latest 9 | concurrency: 10 | group: ${{ github.workflow }}-${{ github.ref }} 11 | steps: 12 | - name: Checkout 13 | uses: actions/checkout@v4 14 | with: 15 | submodules: true 16 | fetch-depth: 0 17 | 18 | - name: Setup Hugo 19 | uses: peaceiris/actions-hugo@v3 20 | with: 21 | hugo-version: "latest" 22 | extended: true 23 | 24 | - name: Build 25 | working-directory: ./exampleSite 26 | run: hugo --minify --themesDir ../.. --baseURL https://jpanther.github.io/congo/ 27 | -------------------------------------------------------------------------------- /exampleSite/content/samples/_index.de.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Beispiele für Inhalte" 3 | description: "Sieh dir an, was mit Congo möglich ist." 4 | 5 | cascade: 6 | showEdit: false 7 | showSummary: true 8 | --- 9 | 10 | {{< lead >}} 11 | Congo erweckt deinen Inhalt zum Leben. :heart_eyes: 12 | {{< /lead >}} 13 | 14 | Dieser Abschnitt enthält einige Demoseiten, die zeigen, wie Congo verschiedene Arten von Inhalten wiedergibt. Sie können auch eine Beispielseite für ein [Taxonomieverzeichnis]({{< ref "tags" >}}) sehen. 15 | 16 | _**Hinweis:** Diese Seite ist nur eine standardmäßige Congo-Artikelauflistung und Hugo wurde so konfiguriert, dass er einen Inhaltstyp "Beispiele" generiert und Artikelzusammenfassungen anzeigt._ 17 | 18 | --- 19 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # GitHub Dependabot 2 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 3 | 4 | version: 2 5 | updates: 6 | - package-ecosystem: "npm" 7 | directory: "/" 8 | schedule: 9 | interval: "daily" 10 | time: "09:00" 11 | timezone: "Australia/Melbourne" 12 | commit-message: 13 | prefix: "📌" 14 | labels: 15 | - "dependencies" 16 | - package-ecosystem: "github-actions" 17 | directory: "/" 18 | schedule: 19 | interval: "weekly" 20 | day: "sunday" 21 | time: "09:00" 22 | timezone: "Australia/Melbourne" 23 | commit-message: 24 | prefix: "👷" 25 | labels: 26 | - "dependencies" 27 | -------------------------------------------------------------------------------- /assets/icons/amazon.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/config/_default/languages.zh-Hans.toml: -------------------------------------------------------------------------------- 1 | languageCode = "zh-Hans" 2 | languageName = "简体中文" 3 | languageDirection = "ltr" 4 | weight = 2 5 | 6 | title = "Congo" 7 | copyright = "© 2024 Congo contributors" 8 | 9 | [params] 10 | dateFormat = "2006年1月2日" 11 | 12 | mainSections = ["samples"] 13 | description = "一款基于Tailwindcss的强大且轻量的Hugo主题" 14 | 15 | [params.author] 16 | name = "Congo" 17 | image = "img/author.jpg" 18 | headline = "非凡的主题!" 19 | bio = "这是一个作者简介示例,虽然这里有一张狗的库存照片,但实际上这篇文章是由人创建的。 :dog:" 20 | links = [ 21 | { x-twitter = "https://twitter.com/" }, 22 | { facebook = "https://facebook.com/" }, 23 | { linkedin = "https://linkedin.com/" }, 24 | { youtube = "https://youtube.com/" }, 25 | ] 26 | -------------------------------------------------------------------------------- /exampleSite/config/_default/languages.ja.toml: -------------------------------------------------------------------------------- 1 | languageCode = "ja" 2 | languageName = "日本語" 3 | languageDirection = "ltr" 4 | weight = 2 5 | 6 | title = "Congo" 7 | copyright = "© 2024 Congo contributors" 8 | 9 | [params] 10 | dateFormat = "2006年1月2日" 11 | 12 | mainSections = ["samples"] 13 | description = "Tailwind CSSをベースに開発された強力で軽量なHugo向けテーマ" 14 | 15 | [params.author] 16 | name = "Congo" 17 | image = "img/author.jpg" 18 | headline = "ただならぬテーマ!" 19 | bio = "これは著者の経歴の例で、ここには犬の画像があるが、実際には人間が作成したものである。 :dog:" 20 | links = [ 21 | { x-twitter = "https://twitter.com/" }, 22 | { facebook = "https://facebook.com/" }, 23 | { linkedin = "https://linkedin.com/" }, 24 | { youtube = "https://youtube.com/" }, 25 | ] 26 | -------------------------------------------------------------------------------- /assets/icons/lightbulb.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/external/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "External Article - Why I switched to Fathom Analytics" 3 | date: 2019-01-24 4 | externalUrl: "https://jamespanther.com/writings/i-switched-from-google-analytics-to-fathom-analytics/" 5 | summary: "The `externalUrl` front matter parameter can link to any URL. This article looks just like any other, but will link to a post that is outside the Hugo project." 6 | showReadingTime: false 7 | _build: 8 | render: "never" 9 | list: "local" 10 | --- 11 | 12 | This page uses the `externalUrl` front matter parameter to link to an article outside of this Hugo website. 13 | 14 | It's great for things like linking to posts on Medium or to research papers you may have hosted on third party websites. 15 | -------------------------------------------------------------------------------- /assets/js/chart.js: -------------------------------------------------------------------------------- 1 | function css(name) { 2 | return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")"; 3 | } 4 | 5 | Chart.defaults.font.size = 14; 6 | Chart.defaults.plugins.colors.enabled = false; 7 | Chart.defaults.backgroundColor = css("--color-primary-300"); 8 | Chart.defaults.elements.point.borderColor = css("--color-primary-400"); 9 | Chart.defaults.elements.bar.borderColor = css("--color-primary-500"); 10 | Chart.defaults.elements.bar.borderWidth = 1; 11 | Chart.defaults.elements.line.borderColor = css("--color-primary-400"); 12 | Chart.defaults.elements.arc.backgroundColor = css("--color-primary-200"); 13 | Chart.defaults.elements.arc.borderColor = css("--color-primary-500"); 14 | Chart.defaults.elements.arc.borderWidth = 1; 15 | -------------------------------------------------------------------------------- /assets/icons/codepen.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/pinterest.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/edit.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/external/index.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Artículo externo - ¿Por qué cambié a Fathom Analytics?" 3 | date: 2019-01-24 4 | externalUrl: "https://jamespanther.com/writings/i-switched-from-google-analytics-to-fathom-analytics/" 5 | summary: "El parámetro `externalUrl` se puede vincular a cualquier URL. Este artículo se parece a cualquier otro, pero se vinculará a una publicación que está fuera del proyecto." 6 | showReadingTime: false 7 | _build: 8 | render: "never" 9 | list: "local" 10 | --- 11 | 12 | Esta página utiliza el parámetro `externalUrl` para vincularlo a un artículo fuera de este sitio web. 13 | 14 | Es ideal para cosas como enlaces a publicaciones en Medium o para trabajos de investigación que puede haber alojado en sitios web de terceros. 15 | -------------------------------------------------------------------------------- /assets/icons/bluesky.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/icons/dev.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/translate.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /exampleSite/content/samples/external/index.de.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Externer Artikel - Why I switched to Fathom Analytics" 3 | date: 2019-01-24 4 | externalUrl: "https://jamespanther.com/writings/i-switched-from-google-analytics-to-fathom-analytics/" 5 | summary: "Der Parameter `externalUrl` im Front Matter kann zu jeder URL verlinken. Der Artikel sieht aus wie jeder andere, aber verlinkt zu einem Post außerhalb des Hugo-Projekts." 6 | showReadingTime: false 7 | _build: 8 | render: "never" 9 | list: "local" 10 | --- 11 | 12 | Diese Seite verwendet den Parameter `externalUrl`, um auf einen Artikel außerhalb dieser Hugo-Website zu verlinken. 13 | 14 | Es ist ideal für Dinge wie die Verlinkung zu Beiträgen auf Medium oder zu wissenschaftlichen Arbeiten, die Sie auf Websites von Dritten gehostet haben. 15 | -------------------------------------------------------------------------------- /assets/icons/sun.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/telegram.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/_default/_markup/render-link.html: -------------------------------------------------------------------------------- 1 | {{- $link := .Destination -}} 2 | {{- $isRemote := strings.HasPrefix $link "http" -}} 3 | {{- if not $isRemote }} 4 | {{- $url := urls.Parse .Destination -}} 5 | {{- if $url.Path }} 6 | {{- $fragment := "" }} 7 | {{- with $url.Fragment }}{{ $fragment = printf "#%s" . }}{{ end -}} 8 | {{- with .Page.GetPage $url.Path }} 9 | {{ $link = printf "%s%s" .RelPermalink $fragment }} 10 | {{ else }} 11 | {{- if hasSuffix $url.Path ".md" }} 12 | {{ warnf "[CONGO] Can't resolve: %s" .Destination }} 13 | {{ end -}} 14 | {{ end -}} 15 | {{ end -}} 16 | {{ end -}} 17 | {{- .Text | safeHTML -}} -------------------------------------------------------------------------------- /layouts/partials/functions/warnings.html: -------------------------------------------------------------------------------- 1 | {{ if ne .Params.showAppearanceSwitcher nil }} 2 | {{ warnf "[CONGO] Theme parameter `showAppearanceSwitcher` has been renamed to `footer.showAppearanceSwitcher`. Please update your site configuration." }} 3 | {{ end }} 4 | {{ if ne .Params.showScrollToTop nil }} 5 | {{ warnf "[CONGO] Theme parameter `showScrollToTop` has been renamed to `footer.showScrollToTop`. Please update your site configuration." }} 6 | {{ end }} 7 | {{ if ne .Params.logo nil }} 8 | {{ warnf "[CONGO] Theme parameter `logo` has been renamed to `header.logo`. Please update your site configuration." }} 9 | {{ end }} 10 | {{ if .Author }} 11 | {{ warnf "[CONGO] Theme parameter `author` block in `languages.xx.toml` has been renamed to `params.author`. Please update your site configuration." }} 12 | {{ end }} 13 | -------------------------------------------------------------------------------- /layouts/partials/breadcrumbs.html: -------------------------------------------------------------------------------- 1 |
    2 | {{ template "crumb" (dict "p1" . "p2" .) }} 3 |
4 | {{ define "crumb" }} 5 | {{ if .p1.Parent }} 6 | {{ template "crumb" (dict "p1" .p1.Parent "p2" .p2 ) }} 7 | {{ else if not .p1.IsHome }} 8 | {{ template "crumb" (dict "p1" .p1.Site.Home "p2" .p2 ) }} 9 | {{ end }} 10 |
  • 11 | {{ if .p1.Title }} 15 | {{- .p1.Title -}} 16 | {{ else }} 17 | {{- .p1.Section -}} 18 | {{ end }}/ 20 |
  • 21 | {{ end }} 22 | -------------------------------------------------------------------------------- /assets/icons/steam.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/researchgate.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/docs/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Documentation" 3 | description: "Learn how to use Congo and its features." 4 | 5 | cascade: 6 | showDate: false 7 | showAuthor: false 8 | showSummary: true 9 | invertPagination: true 10 | --- 11 | 12 | {{< lead >}} 13 | Simple, yet powerful. Learn how to use Congo and its features. 14 | {{< /lead >}} 15 | 16 | ![Screenshots of Congo on an iPhone, iPad and MacBook](screenshot.png) 17 | 18 | This section contains everything you need to know about Congo. If you're new, check out the [Installation]({{< ref "docs/installation" >}}) guide to begin or visit the [Samples]({{< ref "samples" >}}) section to see what Congo can do. 19 | 20 | _Special thanks to [Katerina Limpitsouni](https://ninalimpi.com) for the excellent illustrations that are used throughout these docs!_ 21 | 22 | --- 23 | -------------------------------------------------------------------------------- /assets/icons/list.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/email.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/config/_default/languages.en.toml: -------------------------------------------------------------------------------- 1 | languageCode = "en-AU" 2 | languageName = "English (Australia)" 3 | languageDirection = "ltr" 4 | weight = 1 5 | 6 | title = "Congo" 7 | copyright = "© 2024 Congo contributors" 8 | 9 | [params] 10 | dateFormat = "2 January 2006" 11 | 12 | mainSections = ["samples"] 13 | description = "A powerful, lightweight theme for Hugo built with Tailwind CSS." 14 | 15 | [params.author] 16 | name = "Congo" 17 | image = "img/author.jpg" 18 | headline = "Not your ordinary theme!" 19 | bio = "This is an example author bio, and although there's a stock photo of a dog here, this article was actually created by a human. :dog:" 20 | links = [ 21 | { x-twitter = "https://twitter.com/" }, 22 | { facebook = "https://facebook.com/" }, 23 | { linkedin = "https://linkedin.com/" }, 24 | { youtube = "https://youtube.com/" }, 25 | ] 26 | -------------------------------------------------------------------------------- /assets/icons/twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/config/_default/languages.es.toml: -------------------------------------------------------------------------------- 1 | languageCode = "es-MX" 2 | languageName = "Español (México)" 3 | languageDirection = "ltr" 4 | weight = 2 5 | 6 | title = "Congo" 7 | copyright = "© 2024 Congo contributors" 8 | 9 | [params] 10 | dateFormat = "2 January 2006" 11 | 12 | mainSections = ["samples"] 13 | description = "Un tema poderoso y liviano para Hugo creado con Tailwind CSS." 14 | 15 | [params.author] 16 | name = "Congo" 17 | image = "img/author.jpg" 18 | headline = "¡No es tu tema ordinario!" 19 | bio = "Esta es una biografía de autor de ejemplo, y aunque aquí hay una foto de un perro, este artículo en realidad fue creado por un ser humano. :dog:" 20 | links = [ 21 | { x-twitter = "https://twitter.com/" }, 22 | { facebook = "https://facebook.com/" }, 23 | { linkedin = "https://linkedin.com/" }, 24 | { youtube = "https://youtube.com/" }, 25 | ] 26 | -------------------------------------------------------------------------------- /layouts/partials/sharing-links.html: -------------------------------------------------------------------------------- 1 | {{ with .Params.sharingLinks | default (.Site.Params.article.sharingLinks | default false) }} 2 | {{ $links := site.Data.sharing }} 3 |
    4 | {{ range . }} 5 | {{ with index $links . }} 6 | {{ partial "icon.html" .icon }} 15 | {{ end }} 16 | {{ end }} 17 |
    18 | {{ end }} 19 | -------------------------------------------------------------------------------- /assets/icons/blogger.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/skull-crossbones.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/mendeley.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /exampleSite/content/samples/emoji/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Emoji :parachute:" 3 | date: 2019-03-05 4 | description: "Guide to Emoji usage in Congo" 5 | summary: "📖🏞️🧗🏽🐉🧙🏽‍♂️🧚🏽👸" 6 | tags: ["emoji", "sample"] 7 | --- 8 | 9 | Emoji is supported throughout Congo by default. Emoji can be used in titles, menu items and article content. 10 | 11 | {{< alert >}} 12 | **Note:** The rendering of these glyphs depends on the browser and the platform. To style the emoji you can either use a third party emoji font or a font stack. 13 | {{< /alert >}} 14 | 15 | Emoji replacements are automatic throughout Congo, so you can use shorthand codes in your content and front matter and they will be converted to their corresponding symbols at build time. 16 | 17 | **Example:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:. 18 | 19 | [Emojipedia](https://emojipedia.org/) is a useful reference for emoji shorthand codes. 20 | -------------------------------------------------------------------------------- /exampleSite/assets/js/home.js: -------------------------------------------------------------------------------- 1 | function switchHomeLayout() { 2 | const pageDiv = document.getElementById("page"); 3 | const profileDiv = document.getElementById("profile"); 4 | const layoutCode = document.querySelectorAll("code[id=layout]"); 5 | if (pageDiv.style.display === "none") { 6 | pageDiv.style.display = "block"; 7 | profileDiv.style.display = "none"; 8 | layoutCode.forEach(function (el) { 9 | el.innerText = "page"; 10 | }); 11 | } else { 12 | pageDiv.style.display = "none"; 13 | profileDiv.style.display = "block"; 14 | layoutCode.forEach(function (el) { 15 | el.innerText = "profile"; 16 | }); 17 | } 18 | } 19 | 20 | window.addEventListener("DOMContentLoaded", (event) => { 21 | document.querySelectorAll("#switch-layout-button").forEach((button) => 22 | button.addEventListener("click", function (e) { 23 | e.preventDefault(); 24 | switchHomeLayout(); 25 | }) 26 | ); 27 | }); 28 | -------------------------------------------------------------------------------- /exampleSite/config/_default/languages.de.toml: -------------------------------------------------------------------------------- 1 | languageCode = "de-DE" 2 | languageName = "Deutsch (Deutschland)" 3 | languageDirection = "ltr" 4 | weight = 4 5 | 6 | title = "Congo" 7 | copyright = "© 2024 Congo contributors" 8 | 9 | [params] 10 | dateFormat = "2. January 2006" 11 | 12 | mainSections = ["samples"] 13 | description = "Ein leistungsstarkes, leichtgewichtiges Theme für Hugo, das mit Tailwind CSS erstellt wurde." 14 | 15 | [params.author] 16 | name = "Congo" 17 | image = "img/author.jpg" 18 | headline = "Nicht dein Durschnitts-Theme!" 19 | bio = "Dies ist ein Beispiel für eine Autorenbiografie, und obwohl hier ein Stockfoto eines Hundes zu sehen ist, wurde dieser Artikel tatsächlich von einem Menschen verfasst. :dog:" 20 | links = [ 21 | { x-twitter = "https://twitter.com/" }, 22 | { facebook = "https://facebook.com/" }, 23 | { linkedin = "https://linkedin.com/" }, 24 | { youtube = "https://youtube.com/" }, 25 | ] 26 | -------------------------------------------------------------------------------- /layouts/partials/analytics.html: -------------------------------------------------------------------------------- 1 | {{ if hugo.IsProduction }} 2 | {{ with .Site.Params.fathomAnalytics.site }} 3 | 4 | {{ end }} 5 | {{ with site.Params.plausibleAnalytics.domain }} 6 | 12 | {{ end }} 13 | {{ with site.Params.umamiAnalytics }} 14 | {{- $region := "eu" }} 15 | {{- if isset . "region" }} 16 | {{- $region = .region }} 17 | {{- end }} 18 | 23 | {{ end }} 24 | {{ template "_internal/google_analytics.html" . }} 25 | {{ end }} 26 | -------------------------------------------------------------------------------- /assets/icons/whatsapp.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/reddit.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/shortcodes/screenshot.html: -------------------------------------------------------------------------------- 1 | {{ if .Get "src" }} 2 | {{ $image := .Page.Resources.GetMatch (printf "*%s*" (.Get "src")) }} 3 | 4 | 5 | {{- if .Get "href" -}} 6 | 7 | {{- end -}} 8 | 9 | {{ $altText := "" }} 10 | {{ with .Get "alt" }} 11 | {{ $altText = . }} 12 | {{ else }} 13 | {{ $altText = (.Get "caption") | markdownify | plainify }} 14 | {{ end }} 15 | 16 | {{ $lazy := $.Page.Site.Params.enableImageLazyLoading | default true }} 17 | {{ $webp := $.Page.Site.Params.enableImageWebp | default true }} 18 | {{ partial "picture.html" (dict "img" $image "alt" $altText "x2" true "lazy" $lazy "webp" $webp) }} 19 | 20 | {{- if .Get "href" }}{{ end -}} 21 | {{- if .Get "caption" -}} 22 |
    23 | {{- .Get "caption" | markdownify -}} 24 |
    25 | {{- end }} 26 | 27 | {{ end }} 28 | -------------------------------------------------------------------------------- /assets/icons/instagram.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/emoji/index.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Emoji :parachute:" 3 | date: 2019-03-05 4 | description: "Guide to Emoji usage in Congo" 5 | summary: "📖🏞️🧗🏽🐉🧙🏽‍♂️🧚🏽👸" 6 | tags: ["emoji", "sample"] 7 | --- 8 | 9 | Los Emojis son compatibles en Congo de forma predeterminada. Estos se pueden usar en títulos, elementos de menú y en el contenido de los artículos. 10 | 11 | {{< alert >}} 12 | **Note:** La representación de estos glifos depende del navegador y de la plataforma. Para cambiar el estilo del emoji, puedes usar un font de emojis de terceros o una pila de fonts. 13 | {{< /alert >}} 14 | 15 | El reemplazo de emojis es automático en Congo, por lo que puedes usar las formas abreviadas dentro de tu contenido y se convertirán a sus símbolos correspondientes en el momento de la compilación. 16 | 17 | **Ejemplo:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:. 18 | 19 | [Emojipedia](https://emojipedia.org/) es una referencia útil para los códigos abreviados de los emojis. 20 | -------------------------------------------------------------------------------- /exampleSite/content/samples/mathematical-notation/index.zh-Hans.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 数学符号 3 | date: 2019-03-08 4 | description: 在Congo中使用数学符号的简要示例。 5 | tags: ["sample", "katex", "maths", "shortcodes"] 6 | --- 7 | 8 | KaTeX可以用于在文章中呈现数学符号。 9 | 10 | 11 | 12 | {{< katex >}} 13 | 14 | 只有在使用数学符号时,Congo才会将KaTeX资产打包到您的项目中。为了使其生效,只需在文章中包含[`katex` 短代码]({{< ref "docs/shortcodes#katex" >}})。页面上的任何KaTeX语法都将自动渲染。 15 | 16 | 请使用[支持的TeX函数的在线参考](https://katex.org/docs/supported.html)查看可用的语法。 17 | 18 | ## 内联符号 19 | 20 | 内联符号可以通过在表达式周围使用 `\\(` 和 `\\)` 定界符来生成。 21 | 22 | **示例:** 23 | 24 | ```tex 25 | % KaTeX内联符号 26 | 内联符号: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 27 | ``` 28 | 29 | 内联符号: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 30 | 31 | ## 块符号 32 | 33 | 或者,可以使用 `$$` 定界符生成块符号。这将在其自己的HTML块中输出表达式。 34 | 35 | **示例:** 36 | 37 | ```tex 38 | % KaTeX块符号 39 | $$ 40 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 41 | $$ 42 | ``` 43 | 44 | $$ 45 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 46 | $$ 47 | -------------------------------------------------------------------------------- /exampleSite/content/samples/emoji/index.de.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Emoji :parachute:" 3 | date: 2019-03-05 4 | description: "Leitfaden zur Benutzung von Emoji in Congo" 5 | summary: "📖🏞️🧗🏽🐉🧙🏽‍♂️🧚🏽👸" 6 | tags: ["Emoji", "Beispiele"] 7 | --- 8 | 9 | Congo unterstützt standardmäßig Emoji. Emoji können in Titeln, Menüpunkten und Artikelinhalten verwendet werden. 10 | 11 | {{< alert >}} 12 | **Hinweis:** Das Rendering dieser Glyphen hängt vom Browser und von der Plattform ab. Um die Emoji zu gestalten, kannst du entweder eine Emoji-Schriftart eines Drittanbieters oder einen Font Stack verwenden. 13 | {{< /alert >}} 14 | 15 | Die Ersetzung von Emoji erfolgt in Congo automatisch, so dass du in deinen Inhalten und im Front Matter Kurzzeichen verwenden können, die zum Zeitpunkt der Erstellung in die entsprechenden Symbole umgewandelt werden. 16 | 17 | **Beispiele für Kurzzeichen:** `see_no_evil` :see_no_evil:, `hear_no_evil` :hear_no_evil:, `speak_no_evil` :speak_no_evil:. 18 | 19 | [Emojipedia](https://emojipedia.org/) ist eine nützliche Referenz für Emoji-Kurzzeichen. 20 | -------------------------------------------------------------------------------- /assets/icons/globe.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/link.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/slack.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/rich-content/index.zh-Hans.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "富文本" 3 | date: 2019-03-10 4 | description: "富文本的简介" 5 | summary: "这是一个 _富_ 文本的 _简介_ " 6 | coverAlt: "一个示例封面图片,描绘了一些知名媒体机构的图标。" 7 | coverCaption: "这是一个带有说明的封面图片示例。" 8 | tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"] 9 | --- 10 | 11 | Hugo包含了多个[内置短代码](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes)以支持丰富的内容,同时还提供了[隐私配置](https://gohugo.io/about/hugo-and-gdpr/)和一组 _简单短代码_,用于启用各种社交媒体嵌入的静态和无JS版本。 12 | 13 | ## YouTube 14 | 15 | 以下是使用内置的 `youtube` 短代码的示例。 16 | 17 | {{< youtube ZJthWmvUzzc >}} 18 | 19 | ## Twitter 20 | 21 | 这个例子使用了 `twitter_simple` 短代码来输出一条推文。它需要两个命名参数 `user` 和 `id`。 22 | 23 | {{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} 24 | 25 | 或者,可以使用 `tweet` 短代码来嵌入一个完全标记的Twitter卡片。 26 | 27 | ## Gist 28 | 29 | `gist` 短代码可以用于嵌入GitHub Gist。它需要两个未命名参数:Gist的用户名和ID。 30 | 31 | {{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} 32 | 33 | ## Vimeo 34 | 35 | `vimeo_simple` 短代码将嵌入Vimeo视频。 36 | 37 | {{< vimeo_simple 48912912 >}} 38 | -------------------------------------------------------------------------------- /.github/workflows/gh-pages.yml: -------------------------------------------------------------------------------- 1 | name: GitHub Pages 2 | 3 | on: 4 | push: 5 | branches: 6 | - stable 7 | 8 | jobs: 9 | build-deploy: 10 | name: Build and Deploy 11 | runs-on: ubuntu-latest 12 | concurrency: 13 | group: ${{ github.workflow }}-${{ github.ref }} 14 | steps: 15 | - name: Checkout 16 | uses: actions/checkout@v4 17 | with: 18 | submodules: true 19 | fetch-depth: 0 20 | 21 | - name: Setup Hugo 22 | uses: peaceiris/actions-hugo@v3 23 | with: 24 | hugo-version: "latest" 25 | extended: true 26 | 27 | - name: Build 28 | working-directory: ./exampleSite 29 | run: hugo --minify --themesDir ../.. --buildDrafts --baseURL https://jpanther.github.io/congo/ 30 | 31 | - name: Deploy 32 | uses: peaceiris/actions-gh-pages@v4 33 | if: ${{ github.ref == 'refs/heads/stable' }} 34 | with: 35 | github_token: ${{ secrets.GITHUB_TOKEN }} 36 | publish_branch: gh-pages 37 | publish_dir: ./exampleSite/public 38 | -------------------------------------------------------------------------------- /assets/icons/dribbble.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/mathematical-notation/index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: 数学的表記 3 | date: 2019-03-08 4 | description: Congoによる数学的表記の簡単なサンプル 5 | tags: ["sample", "katex", "maths", "shortcodes"] 6 | --- 7 | 8 | 記事中の数学的表記にKaTeXを使用することができます。 9 | 10 | 11 | 12 | {{< katex >}} 13 | 14 | Congoは、数学的表記を使用する場合にのみ、KaTeXアセットをプロジェクトにバンドルします。これを動作させるには、単に記事内に[`katex` ショートコード]({{< ref "docs/shortcodes#katex" >}})をインクルードしてください。そのページ上のKaTeX構文は自動的にレンダリングされます。 15 | 16 | 使用可能な構文については、[supported TeX functions](https://katex.org/docs/supported.html)のオンラインリファレンスを参照してください。 17 | 18 | ## インライン記法 19 | 20 | インライン記法は、式を `\\(` と `\\)` で囲むことで生成できます。 21 | 22 | **例:** 23 | 24 | ```tex 25 | % KaTeX inline notation 26 | インライン記法: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 27 | ``` 28 | 29 | インライン記法: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 30 | 31 | ## ブロック記法 32 | 33 | あるいは、 `$$` を使ってブロック記法で生成することもできます。これは式を独自のHTMLブロックとして出力します。 34 | 35 | **例:** 36 | 37 | ```tex 38 | % KaTeX block notation 39 | $$ 40 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 41 | $$ 42 | ``` 43 | 44 | $$ 45 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 46 | $$ 47 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2021 James Panther (https://jamespanther.com) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of 6 | this software and associated documentation files (the "Software"), to deal in 7 | the Software without restriction, including without limitation the rights to 8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 9 | the Software, and to permit persons to whom the Software is furnished to do so, 10 | subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 21 | -------------------------------------------------------------------------------- /assets/icons/threads.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/weibo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /layouts/partials/profile.html: -------------------------------------------------------------------------------- 1 | {{ $align := .align | default "center" }} 2 |
    11 | {{ $lazy := site.Params.enableImageLazyLoading | default true }} 12 | {{ $altText := (site.Language.Params.Author.name | default "Author") }} 13 | {{ with site.Language.Params.Author.image }} 14 | {{ $authorImage := resources.Get . }} 15 | {{ if $authorImage }} 16 | {{ $imgClass := "mb-2 h-auto w-36 rounded-full" }} 17 | {{ partial "picture.html" (dict "img" $authorImage "alt" $altText "class" $imgClass "lazy" $lazy) }} 18 | {{ end }} 19 | {{ end }} 20 |

    21 | {{ site.Language.Params.Author.name | default site.Title }} 22 |

    23 | {{ with site.Language.Params.Author.headline }} 24 |

    25 | {{ . | markdownify | emojify }} 26 |

    27 | {{ end }} 28 |
    29 | {{ partialCached "author-links.html" . }} 30 |
    31 |
    32 | -------------------------------------------------------------------------------- /layouts/_default/_markup/render-image.html: -------------------------------------------------------------------------------- 1 | {{ $url := urls.Parse .Destination }} 2 | {{ $altText := .Text }} 3 | {{ $caption := .Title }} 4 | {{ $class := "mx-auto my-0 rounded-md" }} 5 | 6 | {{ $file := $url.Path }} 7 | {{ $img := .Page.Resources.GetMatch $file }} 8 | {{- if and (not $img) .Page.File }} 9 | {{ $path := path.Join .Page.File.Dir $file }} 10 | {{ $img = resources.Get $path }} 11 | {{ end -}} 12 | 13 | {{/* https://github.com/gohugoio/hugo/pull/10666 */}} 14 | {{- $params := $url.Query -}} 15 | {{- $x2Param := $params.Get "2x" -}} 16 | {{- $x2 := false -}} 17 | {{- if eq $x2Param "true" -}} 18 | {{- $x2 = true -}} 19 | {{- end -}} 20 | 21 |
    22 | {{- with $img -}} 23 | {{ $lazy := $.Page.Site.Params.enableImageLazyLoading | default true }} 24 | {{ $webp := $.Page.Site.Params.enableImageWebp | default true }} 25 | {{ partial "picture.html" (dict "img" . "alt" $altText "class" $class "x2" $x2 "lazy" $lazy "webp" $webp) }} 26 | {{- else -}} 27 | {{ $altText }} 28 | {{- end -}} 29 | {{ with $caption }}
    {{ . | markdownify }}
    {{ end }} 30 |
    31 | -------------------------------------------------------------------------------- /exampleSite/content/_index.zh-Hans.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "欢迎使用Congo! :tada:" 3 | description: "这是一个基于Hugo的主题Congo示例。" 4 | --- 5 | 6 | {{< lead >}} 7 | 一款基于Tailwindcss的强大且轻量Hugo主题 8 | {{< /lead >}} 9 | 10 | 这是一个完全使用Congo构建的演示站点。它还包含一个完整的 [主题文档]({{< ref "docs" >}}) 集。Congo是灵活的,非常适合静态基于页面的内容(就像你看到的这个演示)或具有最新文章的传统博客。 11 | 12 |
    13 | 14 | {{< icon "triangle-exclamation" >}} 15 | 16 | 17 | 这是一个 page 布局的示例. 18 | 24 | 25 |
    26 | 27 | {{< figure src="festivities.svg" class="m-auto mt-6 max-w-prose" >}} 28 | 29 | 探索 [示例页面]({{< ref "samples" >}}) 以感受Congo的强大功能。如果你喜欢该主题,请在 [Github](https://github.com/jpanther/congo) 上查看该项目,或阅读 [安装指南]({{< ref "docs/installation" >}}) 开始使用。 30 | -------------------------------------------------------------------------------- /exampleSite/content/samples/rich-content/index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "リッチコンテンツ" 3 | date: 2019-03-10 4 | description: "リッチコンテンツに関する簡単な説明" 5 | summary: "**リッチ** なコンテンツの _一例_" 6 | coverAlt: "いくつかの人気メディアのアイコンを描いたカバー画像の例。" 7 | coverCaption: "これはキャプション付きの `cover` 画像の例です。" 8 | tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"] 9 | --- 10 | 11 | Hugoには、リッチコンテンツのためのいくつかの[組み込みショートコード](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes)と、[プライバシー設定](https://gohugo.io/about/hugo-and-gdpr/)、そして様々なソーシャルメディアの埋め込みを静的に可能にする _simple shortcodes_ のセットが同梱されています。 12 | 13 | ## YouTube 14 | 15 | 以下は、組み込みの `youtube` ショートコードを使用した例です。 16 | 17 | {{< youtube ZJthWmvUzzc >}} 18 | 19 | ## Twitter 20 | 21 | この例では `twitter_simple` ショートコードを使っています。 `user` と `id` の2つの名前付きパラメーターが必要です。 22 | 23 | {{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} 24 | 25 | `tweet` ショートコードを使えば、完全にマークアップされたTwitterカードを埋め込むこともできます。 26 | 27 | ## Gist 28 | 29 | `gist` ショートコードを使うと、GitHubのGistを埋め込むことができます。ユーザー名とGistのIDというパラメーターが必要です。 30 | 31 | {{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} 32 | 33 | ## Vimeo 34 | 35 | `vimeo_simple` ショートコードでVimeoの動画を埋め込むことができます。 36 | 37 | {{< vimeo_simple 48912912 >}} 38 | -------------------------------------------------------------------------------- /exampleSite/content/_index.ja.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Congoへようこそ! :tada:" 3 | description: "これはHugo向けテーマ、Congoのデモです" 4 | --- 5 | 6 | {{< lead >}} 7 | Tailwind CSSをベースに開発された強力で軽量なHugo向けテーマ。 8 | {{< /lead >}} 9 | 10 | これはCongoを使って構築されたデモサイトです。 11 | [Congoに関するドキュメント]({{< ref "docs" >}})も含まれています。 12 | Congoは柔軟性に富み、静的なコンテンツ配信にも、投稿フィード機能を持つようなBlogにも適しています。 13 | 14 |
    15 | 16 | {{< icon "triangle-exclamation" >}} 17 | 18 | 19 | これはpageレイアウトのデモです。 20 | 26 | 27 |
    28 | 29 | {{< figure src="festivities.svg" class="m-auto mt-6 max-w-prose" >}} 30 | 31 | [例]({{< ref "samples" >}})を見て、Congoの実力を実感してください。気に入ったら[GitHub](https://github.com/jpanther/congo)をチェックするか、[インストール]({{< ref "docs/installation" >}})を読んで実際に使い始めてほしい。 32 | -------------------------------------------------------------------------------- /assets/icons/bug.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /config/_default/menus.en.toml: -------------------------------------------------------------------------------- 1 | # -- Main Menu -- 2 | # The main menu is displayed in the header at the top of the page. 3 | # Acceptable parameters are name, pageRef, page, url, title, weight. 4 | # 5 | # The simplest menu configuration is to provide: 6 | # name = The name to be displayed for this menu link 7 | # pageRef = The identifier of the page or section to link to 8 | # 9 | # By default the menu is ordered alphabetically. This can be 10 | # overridden by providing a weight value. The menu will then be 11 | # ordered by weight from lowest to highest. 12 | 13 | [[main]] 14 | name = "Blog" 15 | pageRef = "posts" 16 | weight = 10 17 | 18 | [[main]] 19 | name = "Categories" 20 | pageRef = "categories" 21 | weight = 20 22 | 23 | [[main]] 24 | name = "Tags" 25 | pageRef = "tags" 26 | weight = 30 27 | 28 | [[main]] 29 | identifier = "search" 30 | weight = 99 31 | [main.params] 32 | action = "search" 33 | 34 | [[main]] 35 | identifier = "locale" 36 | weight = 100 37 | [main.params] 38 | action = "locale" 39 | 40 | # -- Footer Menu -- 41 | # The footer menu is displayed at the bottom of the page, just before 42 | # the copyright notice. Configure as per the main menu above. 43 | 44 | # [[footer]] 45 | # name = "Tags" 46 | # pageRef = "tags" 47 | # weight = 10 48 | -------------------------------------------------------------------------------- /layouts/shortcodes/figure.html: -------------------------------------------------------------------------------- 1 | {{ if .Get "default" }} 2 | {{ template "_internal/shortcodes/figure.html" . }} 3 | {{ else }} 4 | {{ $url := urls.Parse (.Get "src") }} 5 | {{ $altText := .Get "alt" }} 6 | {{ $caption := .Get "caption" }} 7 | {{ $href := .Get "href" }} 8 | {{ $class := default "mx-auto my-0 rounded-md" (.Get "class") }} 9 | 10 | {{ $file := $url.Path }} 11 | {{ $img := .Page.Resources.GetMatch $file }} 12 | {{- if and (not $img) .Page.File }} 13 | {{ $path := path.Join .Page.File.Dir $file }} 14 | {{ $img = resources.Get $path }} 15 | {{ end -}} 16 | 17 | 18 | 19 | {{ with $href }}{{ end }} 20 | 21 | {{- with $img -}} 22 | {{ $lazy := $.Page.Site.Params.enableImageLazyLoading | default true }} 23 | {{ $webp := $.Page.Site.Params.enableImageWebp | default true }} 24 | {{ partial "picture.html" (dict "img" . "alt" $altText "class" $class "lazy" $lazy "webp" $webp) }} 25 | {{- else -}} 26 | {{ $altText }} 27 | {{- end -}} 28 | 29 | {{ with $href }}{{ end }} 30 | {{ with $caption }}
    {{ . | markdownify }}
    {{ end }} 31 | 32 | {{ end }} 33 | -------------------------------------------------------------------------------- /layouts/partials/logo.html: -------------------------------------------------------------------------------- 1 | {{- if .Site.Params.header.logo }} 2 | {{- $logo := resources.Get .Site.Params.header.logo }} 3 | {{- $logo_dark := resources.Get .Site.Params.header.logoDark }} 4 | {{- if $logo }} 5 | 6 | 7 | {{ .Site.Title }} 15 | {{- if $logo_dark }} 16 | {{ .Site.Title }} 23 | {{- end }} 24 | 25 | {{- end }} 26 | {{- end }} 27 | {{- if .Site.Params.header.showTitle | default true }} 28 | {{ .Site.Title | markdownify | emojify }} 34 | {{- end }} 35 | -------------------------------------------------------------------------------- /layouts/_default/sitemap.xml: -------------------------------------------------------------------------------- 1 | {{ printf "" | safeHTML }} 2 | 4 | {{ range .Data.Pages }} 5 | {{ if not (in .Site.Params.sitemap.excludedKinds .Kind) }} 6 | {{ if and (.Param "xml" | default true) (not (isset .Params "externalUrl")) }} 7 | {{- if .Permalink -}} 8 | 9 | {{ .Permalink }}{{ if not .Lastmod.IsZero }} 10 | {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }} 11 | {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} 12 | {{ .Sitemap.Priority }}{{ end }}{{ if .IsTranslated }}{{ range .Translations }} 13 | {{ end }} 18 | {{ end }} 23 | 24 | {{- end -}} 25 | {{ end }} 26 | {{ end }} 27 | {{ end }} 28 | 29 | -------------------------------------------------------------------------------- /assets/icons/line.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/icons/discord.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/icons/github.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /layouts/_default/taxonomy.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
    3 | {{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }} 4 | {{ partial "breadcrumbs.html" . }} 5 | {{ end }} 6 |

    {{ .Title }}

    7 |
    8 | {{ if .Content }} 9 |
    10 |
    11 | {{ .Content | emojify }} 12 |
    13 |
    14 | {{ end }} 15 |
    16 | {{ range .Data.Terms }} 17 |
    18 |

    19 | {{ .Page.Title }} 24 | {{ if $.Site.Params.taxonomy.showTermCount | default true }} 25 | · 26 | 27 | {{ .Count }} 28 | 29 | {{ end }} 30 |

    31 |
    32 | {{ end }} 33 |
    34 | {{ end }} 35 | -------------------------------------------------------------------------------- /i18n/zh-Hans.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "锚点" 3 | date: "{{ .Date }}" 4 | date_updated: "更新于 {{ .Date }}" 5 | draft: "草稿" 6 | edit_title: "编辑内容" 7 | reading_time: 8 | other: "{{ .Count }} 分钟" 9 | reading_time_title: "预计阅读" 10 | table_of_contents: "目录" 11 | word_count: 12 | one: "{{ .Count }} 字" 13 | other: "{{ .Count }} 字" 14 | 15 | author: 16 | byline_title: "作者" 17 | 18 | code: 19 | copy: "复制" 20 | copied: "已复制" 21 | 22 | error: 23 | 404_title: "找不到网页 :confused:" 24 | 404_error: "404 错误" 25 | 404_description: "您请求的页面似乎不存在。" 26 | 27 | footer: 28 | dark_appearance: "切换为深色模式" 29 | light_appearance: "切换为浅色模式" 30 | powered_by: "由 {{ .Hugo }} & {{ .Congo }} 强力驱动" 31 | 32 | list: 33 | externalurl_title: "链接到外部网站" 34 | no_articles: "这里还没有任何文章可以列出。" 35 | 36 | nav: 37 | scroll_to_top_title: "回到顶部" 38 | skip_to_main: "跳到主要内容" 39 | 40 | search: 41 | open_button_title: "搜索 (/)" 42 | close_button_title: "关闭 (Esc)" 43 | input_placeholder: "搜索" 44 | 45 | sharing: 46 | email: "通过电子邮件发送" 47 | facebook: "分享到 Facebook" 48 | linkedin: "分享到 LinkedIn" 49 | mastodon: "嘟嘟到 Mastodon" 50 | pinterest: "钉到 Pinterest" 51 | reddit: "提交到 Reddit" 52 | twitter: "分享到 Twitter" 53 | # threads: "Post on Threads" 54 | telegram: "分享到 Telegram" 55 | line: "分享到 LINE" 56 | weibo: "分享到 微博" 57 | # x-twitter: "Post on X" 58 | # xing: "Share on XING" 59 | 60 | shortcode: 61 | recent_articles: "最近的文章" 62 | -------------------------------------------------------------------------------- /layouts/partials/author.html: -------------------------------------------------------------------------------- 1 | {{ if .Params.showAuthor | default (.Site.Params.article.showAuthor | default true) }} 2 |
    3 | {{ $lazy := .Params.enableImageLazyLoading|default .Site.Params.enableImageLazyLoading | default true }} 4 | {{ $altText := ($.Site.Language.Params.Author.name | default "Author") }} 5 | {{ with .Site.Language.Params.Author.image }} 6 | {{ $authorImage := resources.Get . }} 7 | {{ if $authorImage }} 8 | {{ $imgClass := "!mb-0 !mt-0 me-4 w-24 h-auto rounded-full" }} 9 | {{ partial "picture.html" (dict "img" $authorImage "alt" $altText "class" $imgClass "lazy" $lazy ) }} 10 | {{ end }} 11 | {{ end }} 12 |
    13 | {{ with .Site.Language.Params.Author.name | markdownify | emojify }} 14 |
    15 | {{ i18n "author.byline_title" | markdownify | emojify }} 16 |
    17 |
    18 | {{ . }} 19 |
    20 | {{ end }} 21 | {{ with .Site.Language.Params.Author.bio | markdownify | emojify }} 22 |
    {{ . }}
    23 | {{ end }} 24 |
    {{ partialCached "author-links.html" . }}
    25 |
    26 |
    27 | {{ end }} 28 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/i18n-issue.yml: -------------------------------------------------------------------------------- 1 | name: 💬 i18n Issue 2 | description: Report an issue with i18n or translations 3 | labels: [i18n] 4 | body: 5 | - type: markdown 6 | attributes: 7 | value: | 8 | Thanks for taking the time to fill out this issue report! 9 | - type: input 10 | id: language 11 | attributes: 12 | label: Language 13 | description: Which language are you using? 14 | placeholder: eg. English 15 | validations: 16 | required: true 17 | - type: textarea 18 | id: issue 19 | attributes: 20 | label: What's the issue? 21 | description: Describe the translation issue and how to reproduce it. 22 | validations: 23 | required: true 24 | - type: input 25 | id: theme-version 26 | attributes: 27 | label: Theme version 28 | description: What version of the theme are you using? 29 | placeholder: eg. v1.1.0 30 | validations: 31 | required: true 32 | - type: input 33 | id: hugo-version 34 | attributes: 35 | label: Hugo version 36 | description: What version of Hugo are you using? 37 | placeholder: eg. v0.86.1 38 | validations: 39 | required: true 40 | - type: textarea 41 | id: logs 42 | attributes: 43 | label: Relevant Hugo log output 44 | description: Please copy and paste any relevant Hugo log output. This will be automatically formatted into code, so no need for backticks. 45 | render: shell 46 | -------------------------------------------------------------------------------- /i18n/zh-Hant.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "定位點" 3 | date: "{{ .Date }}" 4 | date_updated: "上次編輯: {{ .Date }}" 5 | draft: "草稿" 6 | edit_title: "編輯內容" 7 | reading_time: 8 | one: "{{ .Count }} 分鐘" 9 | other: "{{ .Count }} 分鐘" 10 | reading_time_title: "預計閱讀時間" 11 | table_of_contents: "目錄" 12 | word_count: 13 | one: "{{ .Count }} 字" 14 | other: "{{ .Count }} 字" 15 | 16 | author: 17 | byline_title: "作者" 18 | 19 | code: 20 | copy: "複製" 21 | copied: "已複製" 22 | 23 | error: 24 | 404_title: "找不到網頁 :confused:" 25 | 404_error: "404 錯誤" 26 | 404_description: "您在尋找的頁面似乎不存在。" 27 | 28 | footer: 29 | dark_appearance: "切換為深色模式" 30 | light_appearance: "切換為淺色模式" 31 | powered_by: "以 {{ .Hugo }} & {{ .Congo }} 製作" 32 | 33 | list: 34 | externalurl_title: "外部網站連結" 35 | no_articles: "這裡還沒有任何文章。" 36 | 37 | nav: 38 | scroll_to_top_title: "捲動到頁頂" 39 | skip_to_main: "快轉到主要內容" 40 | 41 | search: 42 | open_button_title: "搜尋 (/)" 43 | close_button_title: "關閉 (Esc)" 44 | input_placeholder: "搜尋" 45 | 46 | sharing: 47 | email: "以電子郵件發送" 48 | facebook: "分享到 Facebook" 49 | linkedin: "分享到 LinkedIn" 50 | mastodon: "嘟到 Mastodon" 51 | pinterest: "釘到 Pinterest" 52 | reddit: "發送到 Reddit" 53 | twitter: "推到 Twitter" 54 | # threads: "Post on Threads" 55 | telegram: "分享到 Telegram" 56 | line: "分享到 LINE" 57 | weibo: "分享到 微博" 58 | # x-twitter: "Post on X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "最近的文章" 63 | -------------------------------------------------------------------------------- /assets/js/mermaid.js: -------------------------------------------------------------------------------- 1 | function css(name) { 2 | return "rgb(" + getComputedStyle(document.documentElement).getPropertyValue(name) + ")"; 3 | } 4 | 5 | let isDark = document.documentElement.classList.contains("dark"); 6 | 7 | mermaid.initialize({ 8 | theme: "base", 9 | themeVariables: { 10 | background: css("--color-neutral"), 11 | primaryTextColor: isDark ? css("--color-neutral-200") : css("--color-neutral-700"), 12 | primaryColor: isDark ? css("--color-primary-700") : css("--color-primary-200"), 13 | secondaryColor: isDark ? css("--color-secondary-700") : css("--color-secondary-200"), 14 | tertiaryColor: isDark ? css("--color-neutral-700") : css("--color-neutral-100"), 15 | primaryBorderColor: isDark ? css("--color-primary-500") : css("--color-primary-400"), 16 | secondaryBorderColor: css("--color-secondary-400"), 17 | tertiaryBorderColor: isDark ? css("--color-neutral-300") : css("--color-neutral-400"), 18 | lineColor: isDark ? css("--color-neutral-300") : css("--color-neutral-600"), 19 | fontFamily: 20 | "ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,segoe ui,Roboto,helvetica neue,Arial,noto sans,sans-serif", 21 | fontSize: "16px", 22 | pieTitleTextSize: "19px", 23 | pieSectionTextSize: "16px", 24 | pieLegendTextSize: "16px", 25 | pieStrokeWidth: "1px", 26 | pieOuterStrokeWidth: "0.5px", 27 | pieStrokeColor: isDark ? css("--color-neutral-300") : css("--color-neutral-400"), 28 | pieOpacity: "1", 29 | }, 30 | }); 31 | -------------------------------------------------------------------------------- /exampleSite/config/_default/menus.zh-Hans.toml: -------------------------------------------------------------------------------- 1 | # -- Main Menu -- 2 | # The main menu is displayed in the header at the top of the page. 3 | # Acceptable parameters are name, pageRef, page, url, title, weight. 4 | # 5 | # The simplest menu configuration is to provide: 6 | # name = The name to be displayed for this menu link 7 | # pageRef = The identifier of the page or section to link to 8 | # 9 | # By default the menu is ordered alphabetically. This can be 10 | # overridden by providing a weight value. The menu will then be 11 | # ordered by weight from lowest to highest. 12 | 13 | [[main]] 14 | name = "文档" 15 | pageRef = "docs" 16 | weight = 10 17 | 18 | [[main]] 19 | name = "示例" 20 | pageRef = "samples" 21 | weight = 20 22 | 23 | [[main]] 24 | name = "用户" 25 | pageRef = "users" 26 | weight = 30 27 | 28 | [[main]] 29 | name = "GitHub" 30 | url = "https://github.com/jpanther/congo" 31 | weight = 40 32 | [main.params] 33 | icon = "github" 34 | showName = false 35 | target = "_blank" 36 | 37 | [[main]] 38 | identifier = "搜索" 39 | weight = 99 40 | [main.params] 41 | action = "search" 42 | 43 | [[main]] 44 | identifier = "语言" 45 | weight = 100 46 | [main.params] 47 | action = "locale" 48 | 49 | # -- Footer Menu -- 50 | # The footer menu is displayed at the bottom of the page, just before 51 | # the copyright notice. Configure as per the main menu above. 52 | 53 | # [[footer]] 54 | # name = "标签" 55 | # pageRef = "tags" 56 | # weight = 10 57 | -------------------------------------------------------------------------------- /exampleSite/config/_default/menus.ja.toml: -------------------------------------------------------------------------------- 1 | # -- Main Menu -- 2 | # The main menu is displayed in the header at the top of the page. 3 | # Acceptable parameters are name, pageRef, page, url, title, weight. 4 | # 5 | # The simplest menu configuration is to provide: 6 | # name = The name to be displayed for this menu link 7 | # pageRef = The identifier of the page or section to link to 8 | # 9 | # By default the menu is ordered alphabetically. This can be 10 | # overridden by providing a weight value. The menu will then be 11 | # ordered by weight from lowest to highest. 12 | 13 | [[main]] 14 | name = "ドキュメント" 15 | pageRef = "docs" 16 | weight = 10 17 | 18 | [[main]] 19 | name = "サンプル" 20 | pageRef = "samples" 21 | weight = 20 22 | 23 | [[main]] 24 | name = "利用例" 25 | pageRef = "users" 26 | weight = 30 27 | 28 | [[main]] 29 | name = "GitHub" 30 | url = "https://github.com/jpanther/congo" 31 | weight = 40 32 | [main.params] 33 | icon = "github" 34 | showName = false 35 | target = "_blank" 36 | 37 | [[main]] 38 | identifier = "検索" 39 | weight = 99 40 | [main.params] 41 | action = "search" 42 | 43 | [[main]] 44 | identifier = "locale" 45 | weight = 100 46 | [main.params] 47 | action = "locale" 48 | 49 | # -- Footer Menu -- 50 | # The footer menu is displayed at the bottom of the page, just before 51 | # the copyright notice. Configure as per the main menu above. 52 | 53 | # [[footer]] 54 | # name = "Tags" 55 | # pageRef = "tags" 56 | # weight = 10 57 | -------------------------------------------------------------------------------- /assets/css/schemes/avocado.css: -------------------------------------------------------------------------------- 1 | /* Avocado scheme */ 2 | :root { 3 | --color-neutral: 255, 255, 255; 4 | /* Stone */ 5 | --color-neutral-50: 250, 250, 249; 6 | --color-neutral-100: 245, 245, 244; 7 | --color-neutral-200: 231, 229, 228; 8 | --color-neutral-300: 214, 211, 209; 9 | --color-neutral-400: 168, 162, 158; 10 | --color-neutral-500: 120, 113, 108; 11 | --color-neutral-600: 87, 83, 78; 12 | --color-neutral-700: 68, 64, 60; 13 | --color-neutral-800: 41, 37, 36; 14 | --color-neutral-900: 28, 25, 23; 15 | --color-neutral-950: 12, 10, 9; 16 | /* Lime */ 17 | --color-primary-50: 247, 254, 231; 18 | --color-primary-100: 236, 252, 203; 19 | --color-primary-200: 217, 249, 157; 20 | --color-primary-300: 190, 242, 100; 21 | --color-primary-400: 163, 230, 53; 22 | --color-primary-500: 132, 204, 22; 23 | --color-primary-600: 101, 163, 13; 24 | --color-primary-700: 77, 124, 15; 25 | --color-primary-800: 63, 98, 18; 26 | --color-primary-900: 54, 83, 20; 27 | --color-primary-950: 26, 46, 5; 28 | /* Emerald */ 29 | --color-secondary-50: 236, 253, 245; 30 | --color-secondary-100: 209, 250, 229; 31 | --color-secondary-200: 167, 243, 208; 32 | --color-secondary-300: 110, 231, 183; 33 | --color-secondary-400: 52, 211, 153; 34 | --color-secondary-500: 16, 185, 129; 35 | --color-secondary-600: 5, 150, 105; 36 | --color-secondary-700: 4, 120, 87; 37 | --color-secondary-800: 6, 95, 70; 38 | --color-secondary-900: 6, 78, 59; 39 | --color-secondary-950: 2, 44, 34; 40 | } 41 | -------------------------------------------------------------------------------- /assets/css/schemes/fire.css: -------------------------------------------------------------------------------- 1 | /* Fire scheme */ 2 | :root { 3 | --color-neutral: 255, 255, 255; 4 | /* Stone */ 5 | --color-neutral-50: 250, 250, 249; 6 | --color-neutral-100: 245, 245, 244; 7 | --color-neutral-200: 231, 229, 228; 8 | --color-neutral-300: 214, 211, 209; 9 | --color-neutral-400: 168, 162, 158; 10 | --color-neutral-500: 120, 113, 108; 11 | --color-neutral-600: 87, 83, 78; 12 | --color-neutral-700: 68, 64, 60; 13 | --color-neutral-800: 41, 37, 36; 14 | --color-neutral-900: 28, 25, 23; 15 | --color-neutral-950: 12, 10, 9; 16 | /* Orange */ 17 | --color-primary-50: 255, 247, 237; 18 | --color-primary-100: 255, 237, 213; 19 | --color-primary-200: 254, 215, 170; 20 | --color-primary-300: 253, 186, 116; 21 | --color-primary-400: 251, 146, 60; 22 | --color-primary-500: 249, 115, 22; 23 | --color-primary-600: 234, 88, 12; 24 | --color-primary-700: 194, 65, 12; 25 | --color-primary-800: 154, 52, 18; 26 | --color-primary-900: 124, 45, 18; 27 | --color-primary-950: 69, 10, 10; 28 | /* Rose */ 29 | --color-secondary-50: 255, 241, 242; 30 | --color-secondary-100: 255, 228, 230; 31 | --color-secondary-200: 254, 205, 211; 32 | --color-secondary-300: 253, 164, 175; 33 | --color-secondary-400: 251, 113, 133; 34 | --color-secondary-500: 244, 63, 94; 35 | --color-secondary-600: 225, 29, 72; 36 | --color-secondary-700: 190, 18, 60; 37 | --color-secondary-800: 159, 18, 57; 38 | --color-secondary-900: 136, 19, 55; 39 | --color-secondary-950: 76, 5, 25; 40 | } 41 | -------------------------------------------------------------------------------- /assets/css/schemes/ocean.css: -------------------------------------------------------------------------------- 1 | /* Ocean scheme */ 2 | :root { 3 | --color-neutral: 255, 255, 255; 4 | /* Slate */ 5 | --color-neutral-50: 248, 250, 252; 6 | --color-neutral-100: 241, 245, 249; 7 | --color-neutral-200: 226, 232, 240; 8 | --color-neutral-300: 203, 213, 225; 9 | --color-neutral-400: 148, 163, 184; 10 | --color-neutral-500: 100, 116, 139; 11 | --color-neutral-600: 71, 85, 105; 12 | --color-neutral-700: 51, 65, 85; 13 | --color-neutral-800: 30, 41, 59; 14 | --color-neutral-900: 15, 23, 42; 15 | --color-neutral-950: 2, 6, 23; 16 | /* Blue */ 17 | --color-primary-50: 239, 246, 255; 18 | --color-primary-100: 219, 234, 254; 19 | --color-primary-200: 191, 219, 254; 20 | --color-primary-300: 147, 197, 253; 21 | --color-primary-400: 96, 165, 250; 22 | --color-primary-500: 59, 130, 246; 23 | --color-primary-600: 37, 99, 235; 24 | --color-primary-700: 29, 78, 216; 25 | --color-primary-800: 30, 64, 175; 26 | --color-primary-900: 30, 58, 138; 27 | --color-primary-950: 23, 37, 8; 28 | /* Cyan */ 29 | --color-secondary-50: 236, 254, 255; 30 | --color-secondary-100: 207, 250, 254; 31 | --color-secondary-200: 165, 243, 252; 32 | --color-secondary-300: 103, 232, 249; 33 | --color-secondary-400: 34, 211, 238; 34 | --color-secondary-500: 6, 182, 212; 35 | --color-secondary-600: 8, 145, 178; 36 | --color-secondary-700: 14, 116, 144; 37 | --color-secondary-800: 21, 94, 117; 38 | --color-secondary-900: 22, 78, 99; 39 | --color-secondary-950: 8, 51, 69; 40 | } 41 | -------------------------------------------------------------------------------- /assets/css/schemes/slate.css: -------------------------------------------------------------------------------- 1 | /* Slate scheme */ 2 | :root { 3 | --color-neutral: 255, 255, 255; 4 | /* Gray */ 5 | --color-neutral-50: 249, 250, 251; 6 | --color-neutral-100: 243, 244, 246; 7 | --color-neutral-200: 229, 231, 235; 8 | --color-neutral-300: 209, 213, 219; 9 | --color-neutral-400: 156, 163, 175; 10 | --color-neutral-500: 107, 114, 128; 11 | --color-neutral-600: 75, 85, 99; 12 | --color-neutral-700: 55, 65, 81; 13 | --color-neutral-800: 31, 41, 55; 14 | --color-neutral-900: 17, 24, 39; 15 | --color-neutral-950: 17, 24, 39; 16 | /* Slate */ 17 | --color-primary-50: 248, 250, 252; 18 | --color-primary-100: 241, 245, 249; 19 | --color-primary-200: 226, 232, 240; 20 | --color-primary-300: 203, 213, 225; 21 | --color-primary-400: 148, 163, 184; 22 | --color-primary-500: 100, 116, 139; 23 | --color-primary-600: 71, 85, 105; 24 | --color-primary-700: 51, 65, 85; 25 | --color-primary-800: 30, 41, 59; 26 | --color-primary-900: 15, 23, 42; 27 | --color-primary-950: 2, 6, 23; 28 | /* Gray */ 29 | --color-secondary-50: 249, 250, 251; 30 | --color-secondary-100: 243, 244, 246; 31 | --color-secondary-200: 229, 231, 235; 32 | --color-secondary-300: 209, 213, 219; 33 | --color-secondary-400: 156, 163, 175; 34 | --color-secondary-500: 107, 114, 128; 35 | --color-secondary-600: 75, 85, 99; 36 | --color-secondary-700: 55, 65, 81; 37 | --color-secondary-800: 31, 41, 55; 38 | --color-secondary-900: 17, 24, 39; 39 | --color-secondary-950: 10, 10, 10; 40 | } 41 | -------------------------------------------------------------------------------- /exampleSite/config/_default/menus.en.toml: -------------------------------------------------------------------------------- 1 | # -- Main Menu -- 2 | # The main menu is displayed in the header at the top of the page. 3 | # Acceptable parameters are name, pageRef, page, url, title, weight. 4 | # 5 | # The simplest menu configuration is to provide: 6 | # name = The name to be displayed for this menu link 7 | # pageRef = The identifier of the page or section to link to 8 | # 9 | # By default the menu is ordered alphabetically. This can be 10 | # overridden by providing a weight value. The menu will then be 11 | # ordered by weight from lowest to highest. 12 | 13 | [[main]] 14 | name = "Docs" 15 | pageRef = "docs" 16 | weight = 10 17 | 18 | [[main]] 19 | name = "Samples" 20 | pageRef = "samples" 21 | weight = 20 22 | 23 | [[main]] 24 | name = "Users" 25 | pageRef = "users" 26 | weight = 30 27 | 28 | [[main]] 29 | name = "GitHub" 30 | url = "https://github.com/jpanther/congo" 31 | weight = 40 32 | [main.params] 33 | icon = "github" 34 | showName = false 35 | target = "_blank" 36 | 37 | [[main]] 38 | identifier = "search" 39 | weight = 99 40 | [main.params] 41 | action = "search" 42 | 43 | [[main]] 44 | identifier = "locale" 45 | weight = 100 46 | [main.params] 47 | action = "locale" 48 | 49 | # -- Footer Menu -- 50 | # The footer menu is displayed at the bottom of the page, just before 51 | # the copyright notice. Configure as per the main menu above. 52 | 53 | # [[footer]] 54 | # name = "Tags" 55 | # pageRef = "tags" 56 | # weight = 10 57 | -------------------------------------------------------------------------------- /exampleSite/config/_default/menus.es.toml: -------------------------------------------------------------------------------- 1 | # -- Main Menu -- 2 | # The main menu is displayed in the header at the top of the page. 3 | # Acceptable parameters are name, pageRef, page, url, title, weight. 4 | # 5 | # The simplest menu configuration is to provide: 6 | # name = The name to be displayed for this menu link 7 | # pageRef = The identifier of the page or section to link to 8 | # 9 | # By default the menu is ordered alphabetically. This can be 10 | # overridden by providing a weight value. The menu will then be 11 | # ordered by weight from lowest to highest. 12 | 13 | [[main]] 14 | name = "Docs" 15 | url = "/docs" 16 | weight = 10 17 | 18 | [[main]] 19 | name = "Ejemplos" 20 | pageRef = "samples" 21 | weight = 20 22 | 23 | [[main]] 24 | name = "Usuarios" 25 | pageRef = "users" 26 | weight = 30 27 | 28 | [[main]] 29 | name = "GitHub" 30 | url = "https://github.com/jpanther/congo" 31 | weight = 40 32 | [main.params] 33 | icon = "github" 34 | showName = false 35 | target = "_blank" 36 | 37 | [[main]] 38 | identifier = "search" 39 | weight = 99 40 | [main.params] 41 | action = "search" 42 | 43 | [[main]] 44 | identifier = "locale" 45 | weight = 100 46 | [main.params] 47 | action = "locale" 48 | 49 | # -- Footer Menu -- 50 | # The footer menu is displayed at the bottom of the page, just before 51 | # the copyright notice. Configure as per the main menu above. 52 | 53 | # [[footer]] 54 | # name = "Tags" 55 | # pageRef = "tags" 56 | # weight = 10 57 | -------------------------------------------------------------------------------- /assets/css/schemes/cherry.css: -------------------------------------------------------------------------------- 1 | /* Cherry scheme */ 2 | :root { 3 | --color-neutral: 255, 255, 255; 4 | /* Neutral */ 5 | --color-neutral-50: 250, 250, 250; 6 | --color-neutral-100: 245, 245, 245; 7 | --color-neutral-200: 229, 229, 229; 8 | --color-neutral-300: 212, 212, 212; 9 | --color-neutral-400: 163, 163, 163; 10 | --color-neutral-500: 115, 115, 115; 11 | --color-neutral-600: 82, 82, 82; 12 | --color-neutral-700: 64, 64, 64; 13 | --color-neutral-800: 38, 38, 38; 14 | --color-neutral-900: 23, 23, 23; 15 | --color-neutral-950: 10, 10, 10; 16 | /* Rose */ 17 | --color-primary-50: 255, 241, 242; 18 | --color-primary-100: 255, 228, 230; 19 | --color-primary-200: 254, 205, 211; 20 | --color-primary-300: 253, 164, 175; 21 | --color-primary-400: 251, 113, 133; 22 | --color-primary-500: 244, 63, 94; 23 | --color-primary-600: 225, 29, 72; 24 | --color-primary-700: 190, 18, 60; 25 | --color-primary-800: 159, 18, 57; 26 | --color-primary-900: 136, 19, 55; 27 | --color-primary-950: 76, 5, 25; 28 | /* Green */ 29 | --color-secondary-50: 240, 253, 244; 30 | --color-secondary-100: 220, 252, 231; 31 | --color-secondary-200: 187, 247, 208; 32 | --color-secondary-300: 134, 239, 172; 33 | --color-secondary-400: 74, 222, 128; 34 | --color-secondary-500: 34, 197, 94; 35 | --color-secondary-600: 22, 163, 74; 36 | --color-secondary-700: 21, 128, 61; 37 | --color-secondary-800: 22, 101, 52; 38 | --color-secondary-900: 20, 83, 45; 39 | --color-secondary-950: 5, 46, 22; 40 | } 41 | -------------------------------------------------------------------------------- /assets/css/schemes/congo.css: -------------------------------------------------------------------------------- 1 | /* Congo scheme */ 2 | :root { 3 | --color-neutral: 255, 255, 255; 4 | /* Gray */ 5 | --color-neutral-50: 250, 250, 250; 6 | --color-neutral-100: 244, 244, 245; 7 | --color-neutral-200: 228, 228, 231; 8 | --color-neutral-300: 212, 212, 216; 9 | --color-neutral-400: 161, 161, 170; 10 | --color-neutral-500: 113, 113, 122; 11 | --color-neutral-600: 82, 82, 91; 12 | --color-neutral-700: 63, 63, 70; 13 | --color-neutral-800: 39, 39, 42; 14 | --color-neutral-900: 24, 24, 27; 15 | --color-neutral-950: 3, 7, 18; 16 | /* Violet */ 17 | --color-primary-50: 245, 243, 255; 18 | --color-primary-100: 237, 233, 254; 19 | --color-primary-200: 221, 214, 254; 20 | --color-primary-300: 196, 181, 253; 21 | --color-primary-400: 167, 139, 250; 22 | --color-primary-500: 139, 92, 246; 23 | --color-primary-600: 124, 58, 237; 24 | --color-primary-700: 109, 40, 217; 25 | --color-primary-800: 91, 33, 182; 26 | --color-primary-900: 76, 29, 149; 27 | --color-primary-950: 46, 16, 101; 28 | /* Fuchsia */ 29 | --color-secondary-50: 253, 244, 255; 30 | --color-secondary-100: 250, 232, 255; 31 | --color-secondary-200: 245, 208, 254; 32 | --color-secondary-300: 240, 171, 252; 33 | --color-secondary-400: 232, 121, 249; 34 | --color-secondary-500: 217, 70, 239; 35 | --color-secondary-600: 192, 38, 211; 36 | --color-secondary-700: 162, 28, 175; 37 | --color-secondary-800: 134, 25, 143; 38 | --color-secondary-900: 112, 26, 117; 39 | --color-secondary-950: 74, 4, 78; 40 | } 41 | -------------------------------------------------------------------------------- /assets/css/schemes/sapphire.css: -------------------------------------------------------------------------------- 1 | /* Sapphire scheme */ 2 | :root { 3 | --color-neutral: 255, 255, 255; 4 | /* Slate */ 5 | --color-neutral-50: 248, 250, 252; 6 | --color-neutral-100: 241, 245, 249; 7 | --color-neutral-200: 226, 232, 240; 8 | --color-neutral-300: 203, 213, 225; 9 | --color-neutral-400: 148, 163, 184; 10 | --color-neutral-500: 100, 116, 139; 11 | --color-neutral-600: 71, 85, 105; 12 | --color-neutral-700: 51, 65, 85; 13 | --color-neutral-800: 30, 41, 59; 14 | --color-neutral-900: 15, 23, 42; 15 | --color-neutral-950: 10, 10, 10; 16 | /* Indigo */ 17 | --color-primary-50: 238, 242, 255; 18 | --color-primary-100: 224, 231, 255; 19 | --color-primary-200: 199, 210, 254; 20 | --color-primary-300: 165, 180, 252; 21 | --color-primary-400: 129, 140, 248; 22 | --color-primary-500: 99, 102, 241; 23 | --color-primary-600: 79, 70, 229; 24 | --color-primary-700: 67, 56, 202; 25 | --color-primary-800: 55, 48, 163; 26 | --color-primary-900: 49, 46, 129; 27 | --color-primary-950: 30, 27, 75; 28 | /* Pink */ 29 | --color-secondary-50: 253, 242, 248; 30 | --color-secondary-100: 252, 231, 243; 31 | --color-secondary-200: 251, 207, 232; 32 | --color-secondary-300: 249, 168, 212; 33 | --color-secondary-400: 244, 114, 182; 34 | --color-secondary-500: 236, 72, 153; 35 | --color-secondary-600: 219, 39, 119; 36 | --color-secondary-700: 190, 24, 93; 37 | --color-secondary-800: 157, 23, 77; 38 | --color-secondary-900: 131, 24, 67; 39 | --color-secondary-950: 80, 7, 36; 40 | } 41 | -------------------------------------------------------------------------------- /exampleSite/config/_default/menus.de.toml: -------------------------------------------------------------------------------- 1 | # -- Main Menu -- 2 | # The main menu is displayed in the header at the top of the page. 3 | # Acceptable parameters are name, pageRef, page, url, title, weight. 4 | # 5 | # The simplest menu configuration is to provide: 6 | # name = The name to be displayed for this menu link 7 | # pageRef = The identifier of the page or section to link to 8 | # 9 | # By default the menu is ordered alphabetically. This can be 10 | # overridden by providing a weight value. The menu will then be 11 | # ordered by weight from lowest to highest. 12 | 13 | [[main]] 14 | name = "Dokumentation" 15 | pageRef = "docs" 16 | weight = 10 17 | 18 | [[main]] 19 | name = "Beispiele" 20 | pageRef = "samples" 21 | weight = 20 22 | 23 | [[main]] 24 | name = "Genutzt von" 25 | pageRef = "users" 26 | weight = 30 27 | 28 | [[main]] 29 | name = "GitHub" 30 | url = "https://github.com/jpanther/congo" 31 | weight = 40 32 | [main.params] 33 | icon = "github" 34 | showName = false 35 | target = "_blank" 36 | 37 | [[main]] 38 | identifier = "search" 39 | weight = 99 40 | [main.params] 41 | action = "search" 42 | 43 | [[main]] 44 | identifier = "locale" 45 | weight = 100 46 | [main.params] 47 | action = "locale" 48 | 49 | # -- Footer Menu -- 50 | # The footer menu is displayed at the bottom of the page, just before 51 | # the copyright notice. Configure as per the main menu above. 52 | 53 | # [[footer]] 54 | # name = "Tags" 55 | # pageRef = "tags" 56 | # weight = 10 57 | -------------------------------------------------------------------------------- /exampleSite/content/samples/mathematical-notation/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Mathematical notation 3 | date: 2019-03-08 4 | description: A brief sample of mathematical notation in Congo. 5 | tags: ["sample", "katex", "maths", "shortcodes"] 6 | --- 7 | 8 | KaTeX can be used to render mathematical notation within articles. 9 | 10 | 11 | 12 | {{< katex >}} 13 | 14 | Congo will only bundle the KaTeX assets into your project if you make use of mathematical notation. In order for this to work, simply include the [`katex` shortcode]({{< ref "docs/shortcodes#katex" >}}) within the article. Any KaTeX syntax on that page will then be automatically rendered. 15 | 16 | Use the online reference of [supported TeX functions](https://katex.org/docs/supported.html) for the available syntax. 17 | 18 | ## Inline notation 19 | 20 | Inline notation can be generated by wrapping the expression in `\\(` and `\\)` delimiters. 21 | 22 | **Example:** 23 | 24 | ```tex 25 | % KaTeX inline notation 26 | Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 27 | ``` 28 | 29 | Inline notation: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 30 | 31 | ## Block notation 32 | 33 | Alternatively, block notation can be generated using `$$` delimiters. This will output the expression in its own HTML block. 34 | 35 | **Example:** 36 | 37 | ```tex 38 | % KaTeX block notation 39 | $$ 40 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 41 | $$ 42 | ``` 43 | 44 | $$ 45 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 46 | $$ 47 | -------------------------------------------------------------------------------- /i18n/ko.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "앵커" 3 | date: "{{ .Date }}" 4 | date_updated: "수정됨: {{ .Date }}" 5 | draft: "초안" 6 | edit_title: "편집" 7 | reading_time: 8 | one: "{{ .Count }} 분" 9 | other: "{{ .Count }} 분" 10 | reading_time_title: "읽는 데 걸리는 시간" 11 | table_of_contents: "목차" 12 | word_count: 13 | one: "{{ .Count }} 자" 14 | other: "{{ .Count }} 자" 15 | 16 | author: 17 | byline_title: "글쓴이" 18 | 19 | code: 20 | copy: "복사" 21 | copied: "복사됨" 22 | 23 | error: 24 | 404_title: "페이지를 찾을 수 없어요 :confused:" 25 | 404_error: "Error 404" 26 | 404_description: "요청하신 페이지를 찾을 수 없어요." 27 | 28 | footer: 29 | dark_appearance: "다크 모드로 전환" 30 | light_appearance: "라이트 모드로 전환" 31 | powered_by: "Powered by {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "외부 사이트 링크" 35 | no_articles: "아직 글이 존재하지 않아요." 36 | 37 | nav: 38 | scroll_to_top_title: "위로 스크롤" 39 | skip_to_main: "메인 콘텐츠로 이동하기" 40 | 41 | search: 42 | open_button_title: "검색 (/)" 43 | close_button_title: "닫기 (Esc)" 44 | input_placeholder: "검색" 45 | 46 | sharing: 47 | email: "email로 보내기" 48 | facebook: "Facebook에 공유하기" 49 | linkedin: "LinkedIn에 공유하기" 50 | mastodon: "Mastodon에 게시하기" 51 | pinterest: "Pinterest에 핀하기" 52 | reddit: "Reddit에 게시하기" 53 | twitter: "Twitter에 트윗하기" 54 | # threads: "Post on Threads" 55 | telegram: "Telegram에 공유하기" 56 | line: "LINE에 공유하기" 57 | weibo: "Weibo에 공유하기" 58 | # x-twitter: "Post on X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "최신 글" 63 | -------------------------------------------------------------------------------- /exampleSite/content/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Welcome to Congo! :tada:" 3 | description: "This is a demo of the Congo theme for Hugo." 4 | --- 5 | 6 | {{< lead >}} 7 | A powerful, lightweight theme for Hugo built with Tailwind CSS. 8 | {{< /lead >}} 9 | 10 | This is a demo site built entirely using Congo. It also contains a complete set of [theme documentation]({{< ref "docs" >}}). Congo is flexible and is great for both static page-based content (like this demo) or a traditional blog with a feed of recent posts. 11 | 12 |
    13 | 14 | {{< icon "triangle-exclamation" >}} 15 | 16 | 17 | This is a demo of the page layout. 18 | 24 | 25 |
    26 | 27 | {{< figure src="festivities.svg" class="m-auto mt-6 max-w-prose" >}} 28 | 29 | Explore the [sample pages]({{< ref "samples" >}}) to get a feel for what Congo can do. If you like what you see, check out the project on [Github](https://github.com/jpanther/congo) or read the [Installation guide]({{< ref "docs/installation" >}}) to get started. 30 | -------------------------------------------------------------------------------- /i18n/ja.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "アンカー" 3 | date: "{{ .Date }}" 4 | date_updated: "更新日: {{ .Date }}" 5 | draft: "下書き" 6 | edit_title: "編集" 7 | reading_time: 8 | one: "{{ .Count }} 分" 9 | other: "{{ .Count }} 分" 10 | reading_time_title: "読むのに必要な時間" 11 | table_of_contents: "目次" 12 | word_count: 13 | one: "{{ .Count }} 文字" 14 | other: "{{ .Count }} 文字" 15 | 16 | author: 17 | byline_title: "著者" 18 | 19 | code: 20 | copy: "コピー" 21 | copied: "コピーしました" 22 | 23 | error: 24 | 404_title: "ページが見つかりませんでした。 :confused:" 25 | 404_error: "Error 404" 26 | 404_description: "ご要望のページは存在しないようです。" 27 | 28 | footer: 29 | dark_appearance: "ダークモードへ切り替え" 30 | light_appearance: "ライトモードへ切り替え" 31 | powered_by: "Powered by {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "外部サイトへリンク" 35 | no_articles: "ここに掲載する記事はまだありません。" 36 | 37 | nav: 38 | scroll_to_top_title: "TOPへスクロール" 39 | skip_to_main: "メインコンテンツへスキップ" 40 | 41 | search: 42 | open_button_title: "検索 (/)" 43 | close_button_title: "閉じる (Esc)" 44 | input_placeholder: "Search" 45 | 46 | sharing: 47 | email: " Eメールを送る" 48 | facebook: "Facebookでシェアする" 49 | linkedin: "LinkedInでシェアする" 50 | mastodon: "Mastodonに投稿する" 51 | pinterest: "Pinterestでピンする" 52 | reddit: "Redditに投稿する" 53 | twitter: "Twitterに投稿する" 54 | # threads: "Post on Threads" 55 | telegram: "Telegramでシェアする" 56 | line: "LINEでシェアする" 57 | weibo: "Weiboでシェアする" 58 | # x-twitter: "Post on X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "最近の記事" 63 | -------------------------------------------------------------------------------- /assets/icons/keybase.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /exampleSite/content/samples/rich-content/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Rich Content" 3 | date: 2019-03-10 4 | description: "A brief description of Rich Content" 5 | summary: "This is an _example_ of a **rich** content summary." 6 | coverAlt: "An example cover image depicting icons of some popular media organisations." 7 | coverCaption: "This is an example cover image with a caption." 8 | tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"] 9 | --- 10 | 11 | Hugo ships with several [built-in shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [privacy config](https://gohugo.io/about/hugo-and-gdpr/) and a set of _simple shortcodes_ that enable static and no-JS versions of various social media embeds. 12 | 13 | ## YouTube 14 | 15 | Below is an example using the built-in `youtube` shortcode. 16 | 17 | {{< youtube ZJthWmvUzzc >}} 18 | 19 | ## Twitter 20 | 21 | This example uses the `twitter_simple` shortcode to output a Tweet. It requires two named parameters `user` and `id`. 22 | 23 | {{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} 24 | 25 | Alternatively, the `tweet` shortcode can be used to embed a fully marked up Twitter card. 26 | 27 | ## Gist 28 | 29 | The `gist` shortcode can be used to embed a GitHub Gist. It requires two unnamed parameters: the username and ID of the Gist. 30 | 31 | {{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} 32 | 33 | ## Vimeo 34 | 35 | The `vimeo_simple` shortcode will embed a Vimeo video. 36 | 37 | {{< vimeo_simple 48912912 >}} 38 | -------------------------------------------------------------------------------- /exampleSite/content/samples/mathematical-notation/index.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Notación matemática 3 | date: 2019-03-08 4 | description: Una breve muestra de notación matemática en Congo. 5 | tags: ["sample", "katex", "maths", "shortcodes"] 6 | --- 7 | 8 | Una breve muestra de notación matemática en Congo. 9 | 10 | 11 | 12 | {{< katex >}} 13 | 14 | Congo solo incluirá los assets de KaTeX en su proyecto si utiliza notación matemática. Para que esto funcione, simplemente incluya el [`katex` shortcode]({{< ref path="docs/shortcodes#katex" lang="en" >}}) dentro del artículo. Cualquier sintaxis de KaTeX en esa página se renderizará automáticamente. 15 | 16 | Utilice la documentación en línea de [funciones TeX admitidas](https://katex.org/docs/supported.html) para conocer la sintaxis disponible. 17 | 18 | ## Notación en línea 19 | 20 | La notación en línea se puede generar envolviendo la expresión en los delimitadores `\\(` y `\\)`. 21 | 22 | **Ejemplo:** 23 | 24 | ```tex 25 | % KaTeX notación en línea 26 | Notación en línea: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 27 | ``` 28 | 29 | Notación en línea: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 30 | 31 | ## Notación en bloque 32 | 33 | Alternativamente, la notación en bloque se puede generar usando delimitadores `$$`. Esto generará la expresión en su propio bloque HTML. 34 | 35 | **Ejemplo:** 36 | 37 | ```tex 38 | % KaTeX notación en bloque 39 | $$ 40 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 41 | $$ 42 | ``` 43 | 44 | $$ 45 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 46 | $$ 47 | -------------------------------------------------------------------------------- /i18n/he.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "עוגן" 3 | date: "{{ .Date }}" 4 | date_updated: "עודכן: {{ .Date }}" 5 | draft: "טיוטה" 6 | edit_title: "ערוך תוכן" 7 | reading_time: 8 | one: "{{ .Count }} דקה" 9 | other: "{{ .Count }} דקות" 10 | reading_time_title: "זמן קריאה" 11 | table_of_contents: "תוכן עניינים" 12 | word_count: 13 | one: "{{ .Count }} מילה" 14 | other: "{{ .Count }} מילים" 15 | 16 | author: 17 | byline_title: "מחבר" 18 | 19 | code: 20 | copy: "העתק" 21 | copied: "הועתק" 22 | 23 | error: 24 | 404_title: "הדף לא נמצא :confused:" 25 | 404_error: "שגיאה 404" 26 | 404_description: "נראה שהדף שביקשת לא קיים." 27 | 28 | footer: 29 | dark_appearance: "מעבר למצב לילה" 30 | light_appearance: "מעבר למצב יום" 31 | powered_by: "בנוי בעזרת {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "קישור לאתר חיצוני" 35 | no_articles: "אין כרגע מאמרים ברשימה זו." 36 | 37 | nav: 38 | scroll_to_top_title: "חזרה למעלה" 39 | skip_to_main: "דילוג לתוכן" 40 | 41 | search: 42 | open_button_title: "חיפוש (/)" 43 | close_button_title: "סגירה (Esc)" 44 | input_placeholder: "חיפוש" 45 | 46 | sharing: 47 | email: "שליחת אימייל" 48 | facebook: "שיתוף בפייסבוק" 49 | linkedin: "שיתוף בלינקדאין" 50 | # mastodon: "Toot on Mastodon" 51 | pinterest: "שיתוף בפינטרסט" 52 | reddit: "שליחה לרדיט" 53 | twitter: "ציוץ בטוויטר" 54 | # threads: "Post on Threads" 55 | telegram: "שיתוף בטלגרם" 56 | line: "שיתוף בליין" 57 | # weibo: "Share on Weibo" 58 | # x-twitter: "Post on X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "חדשים" 63 | -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- 1 | name: "Close stale issues and PRs" 2 | on: 3 | schedule: 4 | - cron: "30 1 * * *" 5 | 6 | jobs: 7 | stale: 8 | runs-on: ubuntu-latest 9 | permissions: 10 | issues: write 11 | pull-requests: write 12 | steps: 13 | - uses: actions/stale@v9 14 | with: 15 | days-before-stale: 120 16 | days-before-close: 30 17 | stale-issue-label: "stale" 18 | exempt-issue-labels: "wip,help wanted,dependencies" 19 | stale-pr-label: "stale" 20 | exempt-pr-labels: "wip,help wanted,dependencies" 21 | stale-issue-message: > 22 | This issue has been automatically marked as stale because it has not had any recent activity. 23 | 24 | If you are still experiencing this issue, please review the issue history and add a reply with any requested and/or additional information in order to keep the issue open. 25 | 26 | This issue will automatically close in 30 days if no further activity occurs. 27 | stale-pr-message: > 28 | This pull request has been automatically marked as stale because it has not had any recent activity. 29 | 30 | Please review the PR history and add a reply with any requested information. If no information has been requested, it may be that this contribution does not fit with the project objectives, or does not adhere to the [contributing guidelines](https://github.com/jpanther/congo/blob/dev/CONTRIBUTING.md). If this is in error, please add a reply with further details. 31 | 32 | This PR will automatically close in 30 days if no further activity occurs. 33 | -------------------------------------------------------------------------------- /exampleSite/content/samples/mathematical-notation/index.de.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Mathematische Notation 3 | date: 2019-03-08 4 | description: Ein kurzes Beispiel für die mathematische Notation in Congo. 5 | tags: ["Beispiele", "KaTeX", "Mathematik", "Shortcodes"] 6 | --- 7 | 8 | KaTeX kann verwendet werden, um mathematische Notationen in Artikeln darzustellen. 9 | 10 | 11 | 12 | {{< katex >}} 13 | 14 | Congo bindet die KaTeX-Assets nur dann in das Projekt ein, wenn die mathematische Notation verwendet wird. Damit dies funktioniert, kann einfach der Shortcode [`katex`]({{< ref path="docs/shortcodes#katex" lang="en" >}}) in den Artikel eingefügt werden. Jede KaTeX-Syntax auf dieser Seite wird dann automatisch gerendert. 15 | 16 | Die Online-Referenz der [unterstützten TeX-Funktionen](https://katex.org/docs/supported.html) zeigt Syntax-Beispiele. 17 | 18 | ## Inline-Schreibweise 19 | 20 | Die Inline-Schreibweise kann erzeugt werden, indem der Ausdruck in die Trennzeichen `\(` und `\)` eingeschlossen wird. 21 | 22 | **Beispiel:** 23 | 24 | ```tex 25 | % KaTeX Inline-Schreibweise 26 | Inline-Schreibweise: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 27 | ``` 28 | 29 | Inline-Schreibweise: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\) 30 | 31 | ## Schreibweise als Block 32 | 33 | Alternativ kann die Blockschreibweise mit Hilfe von `$$`-Trennzeichen erzeugt werden. Dadurch wird der Ausdruck in einem eigenen HTML-Block ausgegeben. 34 | 35 | **Beispiel:** 36 | 37 | ```tex 38 | % KaTeX mit Block-Schreibweise 39 | $$ 40 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 41 | $$ 42 | ``` 43 | 44 | $$ 45 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } } 46 | $$ 47 | -------------------------------------------------------------------------------- /exampleSite/content/_index.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "¡Bienvenido a Congo! :tada:" 3 | description: "Esta es una demostración del tema Congo para Hugo." 4 | --- 5 | 6 | {{< lead >}} 7 | Un tema poderoso y liviano para Hugo creado con Tailwind CSS. 8 | {{< /lead >}} 9 | 10 | Este es un sitio de demostración creado completamente con Congo. También contiene un conjunto completo de artículos con [documentación del tema]({{< ref path="docs" lang="en" >}}). Congo es flexible y es excelente tanto para contenido estático basado en páginas (como es el caso de esta demostración) como para un blog tradicional con un feed de publicaciones recientes. 11 | 12 |
    13 | 14 | {{< icon "triangle-exclamation" >}} 15 | 16 | 17 | Esta es la demostración en formato page 18 | 24 | 25 |
    26 | 27 | {{< figure src="festivities.svg" class="m-auto mt-6 max-w-prose" >}} 28 | 29 | Explora las [páginas de ejemplo]({{< ref "samples" >}}) para tener una idea de lo que Congo puede hacer. Si te gusta lo que ves, consulta el proyecto en [Github](https://github.com/jpanther/congo) o lee la [Guía de instalación]({{< ref path="docs/installation" lang="en" >}}) para comenzar. 30 | -------------------------------------------------------------------------------- /layouts/_default/term.html: -------------------------------------------------------------------------------- 1 | {{ define "main" }} 2 |
    3 | {{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }} 4 | {{ partial "breadcrumbs.html" . }} 5 | {{ end }} 6 |

    {{ .Title }}

    7 |
    8 | {{ if .Content }} 9 |
    10 |
    11 | {{ .Content | emojify }} 12 |
    13 |
    14 | {{ end }} 15 |
    16 | {{ if .Data.Pages }} 17 |
    18 | {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }} 19 | {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} 20 |

    21 | {{ .Key }} 22 |

    23 |
    24 | {{ range .Pages }} 25 | {{ partial "article-link.html" . }} 26 | {{ end }} 27 | {{ end }} 28 | {{ else }} 29 | {{ range (.Paginate .Pages).Pages }} 30 | {{ partial "article-link.html" . }} 31 | {{ end }} 32 | {{ end }} 33 |
    34 | {{ partial "pagination.html" . }} 35 | {{ else }} 36 |
    37 |

    38 | {{ i18n "list.no_articles" | emojify }} 39 |

    40 |
    41 | {{ end }} 42 |
    43 | {{ end }} 44 | -------------------------------------------------------------------------------- /i18n/nb.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "Anchor" 3 | date: "{{ .Date }}" 4 | date_updated: "Oppdatert: {{ .Date }}" 5 | draft: "Utkast" 6 | edit_title: "Rediger innhold" 7 | reading_time: 8 | one: "{{ .Count }} min" 9 | other: "{{ .Count }} min" 10 | reading_time_title: "Lesetid" 11 | table_of_contents: "Innholdsfortegnelse" 12 | word_count: 13 | one: "{{ .Count }} ord" 14 | other: "{{ .Count }} ord" 15 | 16 | author: 17 | byline_title: "Forfatter" 18 | 19 | code: 20 | copy: "Kopier" 21 | copied: "Kopiert" 22 | 23 | error: 24 | 404_title: "Side ikke funnet :confused:" 25 | 404_error: "Feil 404" 26 | 404_description: "Finner ikke siden du ser etter." 27 | 28 | footer: 29 | dark_appearance: "Bytt til mørk modus" 30 | light_appearance: "Bytt til lys modus" 31 | powered_by: "Powered by {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "Lenke til ekstern side" 35 | no_articles: "Det finnes ingen artikler å vise her ennå." 36 | 37 | nav: 38 | scroll_to_top_title: "Scroll til toppen" 39 | skip_to_main: "Hopp til hovedinnholdet" 40 | 41 | search: 42 | open_button_title: "Søk (/)" 43 | close_button_title: "Lukk (Esc)" 44 | input_placeholder: "Søk" 45 | 46 | sharing: 47 | email: "Send via e-post" 48 | facebook: "Del på Facebook" 49 | linkedin: "Del på LinkedIn" 50 | mastodon: "Toot på Mastodon" 51 | pinterest: "Pin på Pinterest" 52 | reddit: "Post til Reddit" 53 | twitter: "Tweet på Twitter" 54 | threads: "Post på Threads" 55 | telegram: "Del på Telegram" 56 | line: "Del på LINE" 57 | weibo: "Del på Weibo" 58 | x-twitter: "Post på X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "Nylig publisert" 63 | -------------------------------------------------------------------------------- /exampleSite/content/_index.de.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Willkommen bei Congo! :tada:" 3 | description: "Dies ist eine Demo des Congo-Themes für Hugo." 4 | --- 5 | 6 | {{< lead >}} 7 | Ein mächtiges und gleichzeitig leichtes Theme für Hugo, das mit Tailwind CSS erstellt wurde. 8 | {{< /lead >}} 9 | 10 | Dies ist eine Demo-Site, die vollständig mit Congo erstellt wurde. Sie enthält auch eine vollständige [Theme-Dokumentation]({{< ref path="docs" lang="en" >}}). Congo ist flexibel und eignet sich sowohl für statische seitenbasierte Inhalte (wie diese Demo) als auch für einen traditionellen Blog mit einem Feed der letzten Beiträge. 11 | 12 |
    13 | 14 | {{< icon "triangle-exclamation" >}} 15 | 16 | 17 | Dies ist eine Demo des page-Layouts. 18 | 24 | 25 |
    26 | 27 | {{< figure src="festivities.svg" class="m-auto mt-6 max-w-prose" >}} 28 | 29 | Schau dir die [Beispielseiten]({{< ref "samples" >}}) an, um ein Gefühl für die Möglichkeiten von Congo zu bekommen. Wenn dir gefällt, was du siehst, dann schau dir sich das Projekt auf [Github](https://github.com/jpanther/congo) an oder lies die [Installationsanleitung]({{< ref path="docs/installation" lang="en">}}), um loszulegen. 30 | -------------------------------------------------------------------------------- /exampleSite/content/samples/rich-content/index.es.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Contenido enriquecido" 3 | date: 2019-03-10 4 | description: "Una breve descripción de los shortcuts de Hugo" 5 | summary: "Este es un _ejemplo_ de un resumen de contenido **enriquecido**." 6 | coverAlt: "Una imagen de portada de ejemplo que muestra logos de algunas redes sociales populares." 7 | coverCaption: "Este es un ejemplo de pie de foto para una portada." 8 | tags: ["shortcodes", "privacy", "sample", "gist", "twitter", "youtube", "vimeo"] 9 | --- 10 | 11 | Hugo viene con varios [shortcuts integrados](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) para hacer contenido enriquecido, junto con una [configuración de privacidad](https://gohugo.io/about/hugo-and-gdpr/) y un conjunto de _shortcuts simples_ que permiten incrustar versiones estáticas y sin Javascript de varias redes sociales. 12 | 13 | ## YouTube 14 | 15 | A continuación, se muestra un ejemplo que utiliza el shortcut integrado `youtube`. 16 | 17 | {{< youtube ZJthWmvUzzc >}} 18 | 19 | ## Twitter 20 | 21 | Este ejemplo usa el shortcode `twitter_simple` para generar un Tweet. Requiere dos parámetros por nombre: `usuario` e `id`. 22 | 23 | {{< twitter_simple user="DesignReviewed" id="1085870671291310081" >}} 24 | 25 | Alternativamente, el shortcut `tweet` se puede usar para incrustar una tarjeta completa de Twitter. 26 | 27 | ## Gist 28 | 29 | El shortcode `gist` se puede usar para incrustar un GitHub Gist. Requiere dos parámetros por posición: el nombre de usuario y el ID del Gist. 30 | 31 | {{< gist jpanther a873e1219ffeaa80a926bbe8255f348e >}} 32 | 33 | ## Vimeo 34 | 35 | El shortcode `vimeo_simple` insertará un video de Vimeo. 36 | 37 | {{< vimeo_simple 48912912 >}} 38 | -------------------------------------------------------------------------------- /i18n/ro.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "Link" 3 | date: "{{ .Date }}" 4 | date_updated: "Modificat la: {{ .Date }}" 5 | draft: "Draft" 6 | edit_title: "Editează" 7 | reading_time: 8 | one: "{{ .Count }} min" 9 | other: "{{ .Count }} minute" 10 | reading_time_title: "Citit în" 11 | table_of_contents: "Cuprins" 12 | word_count: 13 | one: "{{ .Count }} cuvânt" 14 | other: "{{ .Count }} cuvinte" 15 | 16 | author: 17 | byline_title: "Autor" 18 | 19 | code: 20 | copy: "Copiază" 21 | copied: "Copiat" 22 | 23 | error: 24 | 404_title: "Pagină Lipsă :confused:" 25 | 404_error: "Eroare 404" 26 | 404_description: "Se pare că pagina pe care o cauți nu există." 27 | 28 | footer: 29 | dark_appearance: "Schimbă la tema de noapte" 30 | light_appearance: "Schimbă la tema normală" 31 | powered_by: "Powered by {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "Link la site extern" 35 | no_articles: "Nu avem încă niciun articol." 36 | 37 | nav: 38 | scroll_to_top_title: "Înapoi sus" 39 | skip_to_main: "Sari la conținut" 40 | 41 | search: 42 | open_button_title: "Caută (/)" 43 | close_button_title: "Închide (Esc)" 44 | input_placeholder: "Caută" 45 | 46 | sharing: 47 | email: "Trimite pe email" 48 | facebook: "Postează pe Facebook" 49 | linkedin: "Postează LinkedIn" 50 | # mastodon: "Toot on Mastodon" 51 | pinterest: "Pune pe Pinterest" 52 | reddit: "Postează pe Reddit" 53 | twitter: "Scrie pe Twitter" 54 | # threads: "Post on Threads" 55 | telegram: "Trimite pe Telegram" 56 | line: "Trimite pe LINE" 57 | weibo: "Trimite pe Weibo" 58 | # x-twitter: "Post on X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "Cele mai noi" 63 | -------------------------------------------------------------------------------- /i18n/en.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "Anchor" 3 | date: "{{ .Date }}" 4 | date_updated: "Updated: {{ .Date }}" 5 | draft: "Draft" 6 | edit_title: "Edit content" 7 | reading_time: 8 | one: "{{ .Count }} min" 9 | other: "{{ .Count }} mins" 10 | reading_time_title: "Reading time" 11 | table_of_contents: "Table of Contents" 12 | word_count: 13 | one: "{{ .Count }} word" 14 | other: "{{ .Count }} words" 15 | 16 | author: 17 | byline_title: "Author" 18 | 19 | code: 20 | copy: "Copy" 21 | copied: "Copied" 22 | 23 | error: 24 | 404_title: "Page Not Found :confused:" 25 | 404_error: "Error 404" 26 | 404_description: "It seems that the page you've requested does not exist." 27 | 28 | footer: 29 | dark_appearance: "Switch to dark appearance" 30 | light_appearance: "Switch to light appearance" 31 | powered_by: "Powered by {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "Link to external site" 35 | no_articles: "There's no articles to list here yet." 36 | 37 | nav: 38 | scroll_to_top_title: "Scroll to top" 39 | skip_to_main: "Skip to main content" 40 | 41 | search: 42 | open_button_title: "Search (/)" 43 | close_button_title: "Close (Esc)" 44 | input_placeholder: "Search" 45 | 46 | sharing: 47 | email: "Send via email" 48 | facebook: "Share on Facebook" 49 | linkedin: "Share on LinkedIn" 50 | mastodon: "Toot on Mastodon" 51 | pinterest: "Pin on Pinterest" 52 | reddit: "Submit to Reddit" 53 | twitter: "Tweet on Twitter" 54 | threads: "Post on Threads" 55 | telegram: "Share on Telegram" 56 | line: "Share on LINE" 57 | weibo: "Share on Weibo" 58 | x-twitter: "Post on X" 59 | xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "Recent" 63 | -------------------------------------------------------------------------------- /i18n/tr.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | # anchor_label: "Anchor" 3 | date: "{{ .Date }}" 4 | date_updated: "Güncellendi: {{ .Date }}" 5 | draft: "Taslak" 6 | edit_title: "İçeriği düzenle" 7 | reading_time: 8 | one: "{{ .Count }} dk" 9 | other: "{{ .Count }} dk" 10 | reading_time_title: "Okuma süresi" 11 | word_count: 12 | one: "{{ .Count }} kelime" 13 | other: "{{ .Count }} kelime" 14 | 15 | author: 16 | byline_title: "Yazar" 17 | 18 | code: 19 | copy: "Kopyala" 20 | copied: "Kopyalandı" 21 | 22 | error: 23 | 404_title: "Sayfa Bulunamadı :confused:" 24 | 404_error: "Hata 404" 25 | 404_description: "Görünüşe göre istediğiniz sayfa mevcut değil." 26 | 27 | footer: 28 | dark_appearance: "Koyu görünüme geç" 29 | light_appearance: "Açık görünüme geç" 30 | powered_by: "{{ .Hugo }} & {{ .Congo }} tarafından desteklenmektedir." 31 | 32 | list: 33 | externalurl_title: "Harici siteye bağlantı" 34 | no_articles: "Henüz burada listelenecek bir makale yok." 35 | 36 | nav: 37 | scroll_to_top_title: "Yukarı çık" 38 | skip_to_main: "Ana içeriğe geç" 39 | 40 | search: 41 | open_button_title: "Ara (/)" 42 | close_button_title: "Kapat (Esc)" 43 | input_placeholder: "Ara" 44 | 45 | sharing: 46 | email: "Email ile gönder" 47 | facebook: "Facebook'ta paylaş" 48 | linkedin: "LinkedIn'te paylaş" 49 | # mastodon: "Toot on Mastodon" 50 | pinterest: "Pinterest'te pinle" 51 | reddit: "Reddit'te gönder" 52 | twitter: "Twitter'da Tweetle" 53 | # threads: "Post on Threads" 54 | telegram: "Telegram'da paylaş" 55 | line: "LINE'da paylaş" 56 | weibo: "Weibo'da paylaş" 57 | # x-twitter: "Post on X" 58 | # xing: "Share on XING" 59 | 60 | shortcode: 61 | recent_articles: "Güncel" 62 | icon_none: "Icon bulunamadı." 63 | -------------------------------------------------------------------------------- /i18n/sv.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "Ankare" 3 | date: "{{ .Date }}" 4 | date_updated: "Uppdaterad: {{ .Date }}" 5 | draft: "Utkast" 6 | edit_title: "Redigera innehåll" 7 | reading_time: 8 | one: "{{ .Count }} min" 9 | other: "{{ .Count }} min" 10 | reading_time_title: "Lästid" 11 | table_of_contents: "Innehållsförteckning" 12 | word_count: 13 | one: "{{ .Count }} ord" 14 | other: "{{ .Count }} ord" 15 | 16 | author: 17 | byline_title: "Författare" 18 | 19 | code: 20 | copy: "Kopiera" 21 | copied: "Kopierat" 22 | 23 | error: 24 | 404_title: "Sidan hittades inte :confused:" 25 | 404_error: "Error 404" 26 | 404_description: "Den sida du har begärt verkar inte finnas." 27 | 28 | footer: 29 | dark_appearance: "Byt till mörkt utseende" 30 | light_appearance: "Byt till ljust utseende" 31 | powered_by: "Drivs av {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "Länk till extern webbplats" 35 | no_articles: "Det finns inga artiklar att visa här ännu." 36 | 37 | nav: 38 | scroll_to_top_title: "Scrolla till början" 39 | skip_to_main: "Hoppa till huvudinnehåll" 40 | 41 | search: 42 | open_button_title: "Sök (/)" 43 | close_button_title: "Stäng (Esc)" 44 | input_placeholder: "Sök" 45 | 46 | sharing: 47 | email: "Skicka via e-post" 48 | facebook: "Dela på Facebook" 49 | linkedin: "Dela på LinkedIn" 50 | mastodon: "Dela på Mastodon" 51 | pinterest: "Fäst på Pinterest" 52 | reddit: "Publicera på Reddit" 53 | twitter: "Twittra på Twitter" 54 | # threads: "Post on Threads" 55 | telegram: "Dela på Telegram" 56 | line: "Dela på LINE" 57 | weibo: "Dela på Weibo" 58 | x-twitter: "Publicera på X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "Senaste" 63 | -------------------------------------------------------------------------------- /i18n/vi.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "Neo" 3 | date: "{{ .Date }}" 4 | date_updated: "Đã cập nhật: {{ .Date }}" 5 | draft: "Bản nháp" 6 | edit_title: "Chỉnh sửa" 7 | reading_time: 8 | one: "{{ .Count }} phút" 9 | other: "{{ .Count }} phút" 10 | reading_time_title: "Thời gian đọc" 11 | table_of_contents: "Mục lục" 12 | word_count: 13 | one: "{{ .Count }} từ" 14 | other: "{{ .Count }} từ" 15 | 16 | author: 17 | byline_title: "Tác giả" 18 | 19 | code: 20 | copy: "Sao chép" 21 | copied: "Đã sao chép" 22 | 23 | error: 24 | 404_title: "Không tìm thấy trang :confused:" 25 | 404_error: "Lỗi 404" 26 | 404_description: "Có vẻ như trang bạn yêu cầu không tồn tại." 27 | 28 | footer: 29 | dark_appearance: "Chuyển sang giao diện tối" 30 | light_appearance: "Chuyển sang giao diện sáng" 31 | powered_by: "Cung cấp bởi {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "Liên kết đến trang web bên ngoài" 35 | no_articles: "Chưa có bài viết ở đây." 36 | 37 | nav: 38 | scroll_to_top_title: "Cuộn lên trên cùng" 39 | skip_to_main: "Chuyển đến nội dung chính" 40 | 41 | search: 42 | open_button_title: "Tìm kiếm (/)" 43 | close_button_title: "Đóng (Esc)" 44 | input_placeholder: "Tìm kiếm" 45 | 46 | sharing: 47 | email: "Gửi qua email" 48 | facebook: "Chia sẻ lên Facebook" 49 | linkedin: "Chia sẻ lên LinkedIn" 50 | mastodon: "Toot trên Mastodon" 51 | pinterest: "Pin lên Pinterest" 52 | reddit: "Gửi lên Reddit" 53 | twitter: "Tweet lên Twitter" 54 | # threads: "Post on Threads" 55 | telegram: "Chia sẻ lên Telegram" 56 | line: "Chia sẻ lên LINE" 57 | weibo: "Chia sẻ lên Weibo" 58 | x-twitter: "Đăng lên X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "Gần đây" 63 | -------------------------------------------------------------------------------- /i18n/ar.yaml: -------------------------------------------------------------------------------- 1 | article: 2 | anchor_label: "رابط الصفحة" 3 | date: "{{ .Date }}" 4 | date_updated: "تاريخ التحديث: {{ .Date }}" 5 | draft: "مسودة" 6 | edit_title: "تعديل المحتوى" 7 | reading_time: 8 | one: "دقيقة واحدة" 9 | other: "{{ .Count }} من الدقائق" 10 | reading_time_title: "وقت القراءة" 11 | table_of_contents: "قائمة المحتويات" 12 | word_count: 13 | one: "كلمة واحدة" 14 | other: "{{ .Count }} من الكلمات" 15 | 16 | author: 17 | byline_title: "الكاتب" 18 | 19 | code: 20 | copy: "نسخ" 21 | copied: "تم النسخ" 22 | 23 | error: 24 | 404_title: "لم يتم العثور على الصفحة :confused:" 25 | 404_error: "خطأ 404" 26 | 404_description: "يبدو بأن الصفحة التي تحاول الوصول إليها غير موجودة." 27 | 28 | footer: 29 | dark_appearance: "حوّل إلى النمط الداكن" 30 | light_appearance: "حوّل إلى النمط الفاتح" 31 | powered_by: "مُمكن باستعمال {{ .Hugo }} & {{ .Congo }}" 32 | 33 | list: 34 | externalurl_title: "رابط إلى صفحة خارجية" 35 | no_articles: "لا يوجد أي مقالات هنا حتى الآن." 36 | 37 | nav: 38 | scroll_to_top_title: "اذهب إلى أعلى" 39 | skip_to_main: "التخطي إلى المحتوى الرئيسي" 40 | 41 | search: 42 | open_button_title: "بحث (/)" 43 | close_button_title: "إغلاق (Esc)" 44 | input_placeholder: "بحث" 45 | 46 | sharing: 47 | email: "إرسال بواسطة البريد الإلكتروني" 48 | facebook: "مشاركة على فيسبوك" 49 | linkedin: "مشاركة على لينكد إن" 50 | mastodon: "نشر تووت على ماستادون" 51 | pinterest: "تثبيت على بينتريست" 52 | reddit: "نشر على ريديت" 53 | twitter: "تغريد على تويتر" 54 | # threads: "Post on Threads" 55 | telegram: "شارك على تيليجرام" 56 | line: "شارك على لاين" 57 | # weibo: "Share on Weibo" 58 | # x-twitter: "Post on X" 59 | # xing: "Share on XING" 60 | 61 | shortcode: 62 | recent_articles: "حديثًا" 63 | --------------------------------------------------------------------------------