├── .editorconfig
├── .github
├── FUNDING.yml
├── ISSUE_TEMPLATE
│ ├── bug_report.md
│ ├── feature_request.md
│ └── question.md
└── pull_request_template.md
├── .gitignore
├── CONTRIBUTORS.md
├── LICENSE.md
├── Makefile
├── README.md
├── archetypes
├── default.md
└── posts.md
├── assets
├── js
│ ├── coder.js
│ └── purify.min.js
└── scss
│ ├── _base.scss
│ ├── _base_dark.scss
│ ├── _base_rtl.scss
│ ├── _content.scss
│ ├── _content_dark.scss
│ ├── _content_rtl.scss
│ ├── _float.scss
│ ├── _float_dark.scss
│ ├── _footer.scss
│ ├── _footer_dark.scss
│ ├── _mastodon.scss
│ ├── _navigation.scss
│ ├── _navigation_dark.scss
│ ├── _navigation_rtl.scss
│ ├── _notices.scss
│ ├── _notices_dark.scss
│ ├── _pagination.scss
│ ├── _syntax.scss
│ ├── _syntax_dark.scss
│ ├── _tabs.scss
│ ├── _tabs_dark.scss
│ ├── _taxonomies.scss
│ ├── _taxonomies_dark.scss
│ ├── _variables.scss
│ ├── coder-dark.scss
│ ├── coder-rtl.scss
│ ├── coder.scss
│ ├── css
│ └── normalize.css
│ └── font-awesome
│ ├── LICENSE.txt
│ ├── _animated.scss
│ ├── _bordered-pulled.scss
│ ├── _core.scss
│ ├── _fixed-width.scss
│ ├── _functions.scss
│ ├── _icons.scss
│ ├── _list.scss
│ ├── _mixins.scss
│ ├── _rotated-flipped.scss
│ ├── _screen-reader.scss
│ ├── _shims.scss
│ ├── _sizing.scss
│ ├── _stacked.scss
│ ├── _variables.scss
│ ├── brands.scss
│ ├── fontawesome.scss
│ ├── regular.scss
│ ├── solid.scss
│ └── v4-shims.scss
├── docs
├── analytics.md
├── analytics
│ ├── applicationinsights.md
│ ├── baidu.md
│ ├── clicky.md
│ ├── cloudflare.md
│ ├── fathom.md
│ ├── goatcounter.md
│ ├── googleanalytics.md
│ ├── googletagmanager.md
│ ├── matomo.md
│ ├── microanalytics.md
│ ├── onedollarstats.md
│ ├── pirsch.md
│ ├── plausible.md
│ ├── umami.md
│ ├── vercel.md
│ └── wideangle.md
├── comment-system.md
├── configurations.md
├── contributing.md
├── faq.md
├── home.md
├── multilingual-mode.md
└── quick-start.md
├── exampleSite
├── content
│ ├── about.md
│ ├── about.pt-br.md
│ ├── authors
│ │ └── hugo-authors
│ │ │ ├── _index.md
│ │ │ └── _index.pt-br.md
│ ├── categories
│ │ ├── syntax
│ │ │ └── _index.pt-br.md
│ │ └── themes
│ │ │ └── _index.pt-br.md
│ ├── contact.md
│ ├── contact.pt-br.md
│ ├── posts
│ │ ├── emoji-support.md
│ │ ├── emoji-support.pt-br.md
│ │ ├── external-post.md
│ │ ├── external-post.pt-br.md
│ │ ├── html-and-css-only-tabs.md
│ │ ├── html-and-css-only-tabs.pt-br.md
│ │ ├── markdown-syntax.md
│ │ ├── markdown-syntax.pt-br.md
│ │ ├── math-typesetting.md
│ │ ├── math-typesetting.pt-br.md
│ │ ├── mermaid-support.md
│ │ ├── mermaid-support.pt-br.md
│ │ ├── more-rich-content.md
│ │ ├── more-rich-content.pt-br.md
│ │ ├── placeholder-text.md
│ │ ├── placeholder-text.pt-br.md
│ │ ├── rich-content.md
│ │ └── rich-content.pt-br.md
│ ├── projects.md
│ ├── projects.pt-br.md
│ └── tags
│ │ └── shortcodes
│ │ └── _index.pt-br.md
├── hugo.toml
├── layouts
│ └── .gitkeep
├── resources
│ └── _gen
│ │ └── assets
│ │ └── scss
│ │ └── scss
│ │ ├── coder-dark.scss_9e20ccd2d8034c8e0fd83b11fb6e2bd5.content
│ │ ├── coder-dark.scss_9e20ccd2d8034c8e0fd83b11fb6e2bd5.json
│ │ ├── coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.content
│ │ └── coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.json
└── static
│ └── images
│ ├── N90.jpg
│ ├── apple-touch-icon.png
│ ├── avatar.jpg
│ ├── favicon-16x16.png
│ ├── favicon-32x32.png
│ └── favicon.svg
├── go.mod
├── hugo.toml
├── i18n
├── ar.toml
├── bn.toml
├── ca.toml
├── cs.toml
├── de.toml
├── en.toml
├── es.toml
├── fi.toml
├── fr.toml
├── he.toml
├── hi.toml
├── hu.toml
├── id.toml
├── it.toml
├── ja.toml
├── ko.toml
├── ms.toml
├── nl.toml
├── np.toml
├── oc.toml
├── pl.toml
├── pt-br.toml
├── ro.toml
├── ru.toml
├── se.toml
├── sk.toml
├── sq.toml
├── sr-latn.toml
├── sr.toml
├── tr.toml
├── ur.toml
├── zh-cn.toml
└── zh-tw.toml
├── images
├── logos
│ ├── favicon.png
│ ├── favicon.svg
│ ├── logomark.png
│ ├── logomark.svg
│ ├── logotype-a.png
│ ├── logotype-a.svg
│ ├── logotype-b.png
│ └── logotype-b.svg
├── screenshot.png
└── tn.png
├── layouts
├── 404.html
├── _default
│ ├── _markup
│ │ ├── render-heading.html
│ │ └── render-link.html
│ ├── baseof.html
│ ├── list.html
│ ├── single.html
│ └── terms.html
├── index.html
├── partials
│ ├── 404.html
│ ├── analytics
│ │ ├── applicationinsights.html
│ │ ├── baidu.html
│ │ ├── clicky.html
│ │ ├── cloudflare.html
│ │ ├── fathom.html
│ │ ├── goatcounter.html
│ │ ├── googletagmanager.html
│ │ ├── matomo.html
│ │ ├── microanalyticsio.html
│ │ ├── onedollarstats.html
│ │ ├── pirsch.html
│ │ ├── plausible.html
│ │ ├── umami.html
│ │ ├── vercel.html
│ │ ├── wideangle.html
│ │ └── yandex-metrika.html
│ ├── body
│ │ └── extensions.html
│ ├── csp.html
│ ├── float.html
│ ├── footer.html
│ ├── head.html
│ ├── head
│ │ ├── alternative-output-formats.html
│ │ ├── color-scheme.html
│ │ ├── custom-icons.html
│ │ ├── custom-styles.html
│ │ ├── extensions.html
│ │ ├── hugo-generator.html
│ │ ├── meta-tags.html
│ │ └── theme-styles.html
│ ├── header.html
│ ├── home.html
│ ├── home
│ │ ├── author.html
│ │ ├── avatar.html
│ │ ├── extensions.html
│ │ └── social.html
│ ├── list.html
│ ├── page.html
│ ├── pagination.html
│ ├── posts
│ │ ├── commento.html
│ │ ├── cusdis.html
│ │ ├── disqus.html
│ │ ├── giscus.html
│ │ ├── mastodon.html
│ │ ├── math.html
│ │ ├── series.html
│ │ ├── telegram.html
│ │ └── utterances.html
│ ├── taxonomy
│ │ ├── authors.html
│ │ ├── categories.html
│ │ └── tags.html
│ └── terms.html
├── posts
│ ├── li.html
│ ├── list.html
│ └── single.html
└── shortcodes
│ ├── mermaid.html
│ ├── notice.html
│ ├── tab.html
│ └── tabgroup.html
├── netlify.toml
├── resources
└── _gen
│ └── assets
│ └── scss
│ ├── coder-dark.scss_9909fe12caa938878c0f06cd010153f1.content
│ ├── coder-dark.scss_9909fe12caa938878c0f06cd010153f1.json
│ ├── coder.scss_3309bf5eef245954e39c3edadcf84268.content
│ ├── coder.scss_3309bf5eef245954e39c3edadcf84268.json
│ └── scss
│ ├── coder-dark.scss_9e20ccd2d8034c8e0fd83b11fb6e2bd5.content
│ ├── coder-dark.scss_9e20ccd2d8034c8e0fd83b11fb6e2bd5.json
│ ├── coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.content
│ └── coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.json
├── static
└── fonts
│ ├── LICENSE.txt
│ ├── fa-brands-400.ttf
│ ├── fa-brands-400.woff2
│ ├── fa-regular-400.ttf
│ ├── fa-regular-400.woff2
│ ├── fa-solid-900.ttf
│ └── fa-solid-900.woff2
└── theme.toml
/.editorconfig:
--------------------------------------------------------------------------------
1 | # https://editorconfig.org
2 |
3 | # this file is the top-most editorconfig file
4 | root = true
5 |
6 | # all files
7 | [*]
8 | charset = utf-8
9 | end_of_line = lf
10 | indent_style = space
11 | indent_size = 4
12 | insert_final_newline = true
13 | trim_trailing_whitespace = true
14 |
15 | # markdown files
16 | [*.md]
17 | insert_final_newline = false
18 | trim_trailing_whitespace = false
19 |
20 | # configuration files
21 | [*.toml]
22 | indent_size = 2
23 |
24 | # web files
25 | [*.{html,css,scss}]
26 | indent_size = 2
27 |
28 | [Makefile]
29 | indent_style = tab
30 |
--------------------------------------------------------------------------------
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | custom: https://www.buymeacoffee.com/luizdepra
2 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/bug_report.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Bug report
3 | about: Create a report to help us improve
4 | title: ""
5 | labels: "Triage Needed"
6 | assignees: ""
7 | ---
8 |
9 | ## Describe the problem:
10 |
11 | _Explain the problem you have encountered_
12 |
13 | ### Steps to reproduce:
14 |
15 | 1. ***
16 | 2. ***
17 | 3. ***
18 |
19 | ### Observed Results:
20 |
21 | - What happened?
22 | - What did you expect to happen?
23 |
24 | ### Relevant code exceptions or logs
25 |
26 | Note: Please copy/paste text of the messages, no screenshots of logs please.
27 |
28 | ```
29 | // paste your log here
30 | ```
31 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/feature_request.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Feature request
3 | about: Suggest an idea for this project
4 | title: ""
5 | labels: ""
6 | assignees: ""
7 | ---
8 |
9 | ## Describe the enhancement
10 |
11 | _Explain the enhancement you would like_
12 |
--------------------------------------------------------------------------------
/.github/ISSUE_TEMPLATE/question.md:
--------------------------------------------------------------------------------
1 | ---
2 | name: Question
3 | about: Ask a question you could not find an answer in the docs
4 | title: ""
5 | labels: "Question"
6 | assignees: ""
7 | ---
8 |
9 | ## Your question
10 |
11 | _Ask the question you have not been able to find an answer in the Documentation_
12 |
--------------------------------------------------------------------------------
/.github/pull_request_template.md:
--------------------------------------------------------------------------------
1 | ### Prerequisites
2 |
3 | Put an `x` into the box(es) that apply:
4 |
5 | - [ ] This pull request fixes a bug.
6 | - [ ] This pull request adds a feature.
7 | - [ ] This pull request introduces breaking change.
8 |
9 | ### Description
10 |
11 | Describe what this pull request achieves.
12 |
13 | ### Issues Resolved
14 |
15 | List any existing issues this pull request resolves.
16 |
17 | ### Checklist
18 |
19 | Put an `x` into the box(es) that apply:
20 |
21 | #### General
22 |
23 | - [ ] Describe what changes are being made
24 | - [ ] Explain why and how the changes were necessary and implemented respectively
25 | - [ ] Reference issue with `#` if applicable
26 |
27 | #### Resources
28 |
29 | - [ ] If you have changed any SCSS code, run `make release` to regenerate all CSS files
30 |
31 | #### Contributors
32 |
33 | - [ ] Add yourself to `CONTRIBUTORS.md` if you aren't on it already
34 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea
2 | **/themes/
3 | exampleSite/public/
4 | exampleSite/resources/
5 | *.lock
6 | public
7 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2018 Luiz F. A. de Prá
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 |
--------------------------------------------------------------------------------
/Makefile:
--------------------------------------------------------------------------------
1 | HUGO_BIN=hugo
2 |
3 | .PHONY: build demo release
4 |
5 | build:
6 | $(HUGO_BIN) --themesDir=../.. --source=exampleSite
7 |
8 | demo:
9 | $(HUGO_BIN) server -D --themesDir=../.. --source=exampleSite --bind 0.0.0.0
10 |
11 | release: build
12 | rm -rf ./resources && cp -r ./exampleSite/resources ./resources
13 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | A simple and clean blog theme for [Hugo](https://gohugo.io/).
19 |
20 | 
21 |
22 | ## Live Demo
23 |
24 | See [here](https://hugo-coder.netlify.app/).
25 |
26 | ## Quick Start
27 |
28 | 1. Add the repository into your Hugo Project repository as a submodule, `git submodule add https://github.com/luizdepra/hugo-coder.git themes/hugo-coder`.
29 | 2. Configure your `hugo.toml`. You can either use [this minimal configuration](https://github.com/luizdepra/hugo-coder/blob/main/docs/configurations.md#complete-example) as a base, or look for a complete explanation about all configurations [here](https://github.com/luizdepra/hugo-coder/blob/main/docs/configurations.md). The [`hugo.toml`](https://github.com/luizdepra/hugo-coder/blob/master/exampleSite/hugo.toml) inside the [`exampleSite`](https://github.com/luizdepra/hugo-coder/tree/master/exampleSite) is also a good reference.
30 | 3. Build your site with `hugo server` and see the result at `http://localhost:1313/`.
31 |
32 | ## Documentation
33 |
34 | See the [`docs`](docs/home.md) folder.
35 |
36 | ## License
37 |
38 | Coder is licensed under the [MIT license](https://github.com/luizdepra/hugo-coder/blob/master/LICENSE.md).
39 |
40 | ## Maintenance
41 |
42 | This theme is maintained by its author [Luiz de Prá](https://github.com/luizdepra) with the help from these awesome [contributors](CONTRIBUTORS.md).
43 |
44 | ## Sponsoring
45 |
46 | If you like my project or it was useful for you, consider supporting its development. Just:
47 |
48 |
49 |
50 | ## Special Thanks
51 |
52 | - Gleen McComb, for his great [article](https://glennmccomb.com/articles/how-to-build-custom-hugo-pagination/) about custom pagination.
53 | - All contributors, for every PR and Issue reported.
54 |
--------------------------------------------------------------------------------
/archetypes/default.md:
--------------------------------------------------------------------------------
1 | +++
2 | draft = true
3 | date = {{ .Date }}
4 | title = ""
5 | slug = ""
6 | +++
7 |
--------------------------------------------------------------------------------
/archetypes/posts.md:
--------------------------------------------------------------------------------
1 | +++
2 | draft = true
3 | date = {{ .Date }}
4 | title = ""
5 | description = ""
6 | slug = ""
7 | authors = []
8 | tags = []
9 | categories = []
10 | externalLink = ""
11 | series = []
12 | +++
13 |
--------------------------------------------------------------------------------
/assets/js/coder.js:
--------------------------------------------------------------------------------
1 | const body = document.body;
2 | const darkModeToggle = document.getElementById('dark-mode-toggle');
3 | const darkModeMediaQuery = window.matchMedia('(prefers-color-scheme: dark)');
4 |
5 | // Check if user preference is set, if not check value of body class for light or dark else it means that colorscheme = auto
6 | if (localStorage.getItem("colorscheme")) {
7 | setTheme(localStorage.getItem("colorscheme"));
8 | } else if (body.classList.contains('colorscheme-light') || body.classList.contains('colorscheme-dark')) {
9 | setTheme(body.classList.contains("colorscheme-dark") ? "dark" : "light");
10 | } else {
11 | setTheme(darkModeMediaQuery.matches ? "dark" : "light");
12 | }
13 |
14 | if (darkModeToggle) {
15 | darkModeToggle.addEventListener('click', () => {
16 | let theme = body.classList.contains("colorscheme-dark") ? "light" : "dark";
17 | setTheme(theme);
18 | rememberTheme(theme);
19 | });
20 | }
21 |
22 | darkModeMediaQuery.addListener((event) => {
23 | setTheme(event.matches ? "dark" : "light");
24 | });
25 |
26 | document.addEventListener("DOMContentLoaded", function () {
27 | let node = document.querySelector('.preload-transitions');
28 | node.classList.remove('preload-transitions');
29 | });
30 |
31 | function setTheme(theme) {
32 | body.classList.remove('colorscheme-auto');
33 | let inverse = theme === 'dark' ? 'light' : 'dark';
34 | body.classList.remove('colorscheme-' + inverse);
35 | body.classList.add('colorscheme-' + theme);
36 | document.documentElement.style['color-scheme'] = theme;
37 |
38 | function waitForElm(selector) {
39 | return new Promise(resolve => {
40 | if (document.querySelector(selector)) {
41 | return resolve(document.querySelector(selector));
42 | }
43 |
44 | const observer = new MutationObserver(mutations => {
45 | if (document.querySelector(selector)) {
46 | resolve(document.querySelector(selector));
47 | observer.disconnect();
48 | }
49 | });
50 |
51 | observer.observe(document.body, {
52 | childList: true,
53 | subtree: true
54 | });
55 | });
56 | }
57 |
58 | if (theme === 'dark') {
59 | const message = {
60 | type: 'set-theme',
61 | theme: 'github-dark'
62 | };
63 | waitForElm('.utterances-frame').then((iframe) => {
64 | iframe.contentWindow.postMessage(message, 'https://utteranc.es');
65 | })
66 |
67 | }
68 | else {
69 | const message = {
70 | type: 'set-theme',
71 | theme: 'github-light'
72 | };
73 | waitForElm('.utterances-frame').then((iframe) => {
74 | iframe.contentWindow.postMessage(message, 'https://utteranc.es');
75 | })
76 |
77 | }
78 |
79 | function sendMessage(message) {
80 | const iframe = document.querySelector('iframe.giscus-frame');
81 | if (!iframe) return;
82 | iframe.contentWindow.postMessage({ giscus: message }, 'https://giscus.app');
83 | }
84 | sendMessage({
85 | setConfig: {
86 | theme: theme,
87 | },
88 | });
89 |
90 | // Create and send event
91 | const event = new Event('themeChanged');
92 | document.dispatchEvent(event);
93 | }
94 |
95 | function rememberTheme(theme) {
96 | localStorage.setItem('colorscheme', theme);
97 | }
98 |
--------------------------------------------------------------------------------
/assets/scss/_base_dark.scss:
--------------------------------------------------------------------------------
1 | @mixin base_dark {
2 | color: $fg-color-dark;
3 | background-color: $bg-color-dark;
4 |
5 | a {
6 | color: $link-color-dark;
7 | }
8 |
9 | h1,
10 | h2,
11 | h3,
12 | h4,
13 | h5,
14 | h6 {
15 | color: $alt-fg-color-dark;
16 |
17 | &:hover .heading-link {
18 | visibility: visible;
19 | }
20 |
21 | .heading-link {
22 | color: $link-color-dark;
23 | font-weight: inherit;
24 | text-decoration: none;
25 | font-size: 80%;
26 | visibility: hidden;
27 | }
28 |
29 | .title-link {
30 | color: inherit;
31 | font-weight: inherit;
32 | text-decoration: none;
33 | }
34 | }
35 |
36 | pre code {
37 | background-color: inherit;
38 | color: inherit;
39 | }
40 |
41 | code {
42 | background-color: $lighter-alt-bg-color-dark;
43 | color: $fg-color-dark;
44 | }
45 |
46 | blockquote {
47 | border-left: 2px solid $alt-bg-color-dark;
48 | }
49 |
50 | th,
51 | td {
52 | padding: 1.6rem;
53 | }
54 |
55 | table {
56 | border-collapse: collapse;
57 | }
58 |
59 | table td,
60 | table th {
61 | border: 2px solid $alt-fg-color-dark;
62 | }
63 |
64 | table tr:first-child th {
65 | border-top: 0;
66 | }
67 |
68 | table tr:last-child td {
69 | border-bottom: 0;
70 | }
71 |
72 | table tr td:first-child,
73 | table tr th:first-child {
74 | border-left: 0;
75 | }
76 |
77 | table tr td:last-child,
78 | table tr th:last-child {
79 | border-right: 0;
80 | }
81 | }
82 |
83 | body.colorscheme-dark {
84 | @include base_dark();
85 | }
86 |
87 | body.colorscheme-auto {
88 | @media (prefers-color-scheme: dark) {
89 | @include base_dark();
90 | }
91 | }
92 |
--------------------------------------------------------------------------------
/assets/scss/_base_rtl.scss:
--------------------------------------------------------------------------------
1 | body.rtl {
2 | direction: rtl;
3 |
4 | pre {
5 | direction: ltr;
6 | }
7 |
8 | blockquote {
9 | border-left: none;
10 | border-right: 2px solid $alt-bg-color;
11 | padding-left: 0;
12 | padding-right: 1.6rem;
13 | }
14 |
15 | table tr td:first-child,
16 | table tr th:first-child {
17 | border-right: 0;
18 | }
19 |
20 | table tr td:last-child,
21 | table tr th:last-child {
22 | border-left: 0;
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/assets/scss/_content_dark.scss:
--------------------------------------------------------------------------------
1 | @mixin content_dark {
2 | .content {
3 | .post {
4 | .tags {
5 | .tag {
6 | background-color: $alt-bg-color-dark;
7 |
8 | a {
9 | color: $fg-color-dark;
10 | }
11 | a:active {
12 | color: $fg-color-dark;
13 | }
14 | }
15 | }
16 | }
17 | .list {
18 | ul {
19 | li {
20 | .title {
21 | color: $fg-color-dark;
22 |
23 | &:hover,
24 | &:focus {
25 | color: $link-color-dark;
26 | }
27 | }
28 | }
29 | }
30 | }
31 |
32 | .centered {
33 | .about {
34 | ul {
35 | li {
36 | a {
37 | color: $fg-color-dark;
38 |
39 | &:hover,
40 | &:focus {
41 | color: $link-color-dark;
42 | }
43 | }
44 | }
45 | }
46 | }
47 | }
48 | }
49 | }
50 |
51 | body.colorscheme-dark {
52 | @include content_dark();
53 | }
54 |
55 | body.colorscheme-auto {
56 | @media (prefers-color-scheme: dark) {
57 | @include content_dark();
58 | }
59 | }
60 |
--------------------------------------------------------------------------------
/assets/scss/_content_rtl.scss:
--------------------------------------------------------------------------------
1 | body.rtl {
2 | .content {
3 | .post {
4 | .post-meta {
5 | .posted-on {
6 | margin-left: 1.5rem;
7 | margin-right: 0;
8 | }
9 | }
10 |
11 | .tags,
12 | .categories {
13 | i {
14 | margin-left: 0.5rem;
15 | margin-right: 0;
16 | }
17 | }
18 | }
19 | }
20 |
21 | .list {
22 | ul {
23 | li {
24 | .date {
25 | text-align: left;
26 | margin-left: 3rem;
27 | margin-right: 0;
28 |
29 | @media only screen and (max-width: 768px) {
30 | text-align: right;
31 | }
32 | }
33 | }
34 | }
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/assets/scss/_float.scss:
--------------------------------------------------------------------------------
1 | .float-container {
2 | bottom: 2rem;
3 | right: 2rem;
4 | z-index: 100;
5 | position: fixed;
6 | font-size: 1.6em;
7 |
8 | a {
9 | position: relative;
10 | display: inline-block;
11 | width: 3rem;
12 | height: 3rem;
13 | font-size: 2rem;
14 | color: $alt-fg-color;
15 | background-color: $alt-bg-color;
16 | border-radius: 0.2rem;
17 | opacity: 0.5;
18 | transition: all 0.25s ease-in;
19 |
20 | &:hover,
21 | &:focus {
22 | color: $link-color;
23 | opacity: 1;
24 |
25 | @media only screen and (max-width: 768px) {
26 | color: $alt-fg-color;
27 | opacity: 0.5;
28 | }
29 | }
30 |
31 | i {
32 | position: absolute;
33 | top: 50%;
34 | left: 50%;
35 | transform: translate(-50%, -50%);
36 | }
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/assets/scss/_float_dark.scss:
--------------------------------------------------------------------------------
1 | @mixin float_dark {
2 | .float-container {
3 | a {
4 | color: $alt-fg-color-dark;
5 | background-color: $alt-bg-color-dark;
6 |
7 | &:hover,
8 | &:focus {
9 | color: $link-color-dark;
10 |
11 | @media only screen and (max-width: 768px) {
12 | color: $alt-fg-color-dark;
13 | }
14 | }
15 | }
16 | }
17 | }
18 |
19 | body.colorscheme-dark {
20 | @include float_dark();
21 | }
22 |
23 | body.colorscheme-auto {
24 | @media (prefers-color-scheme: dark) {
25 | @include float_dark();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/assets/scss/_footer.scss:
--------------------------------------------------------------------------------
1 | .footer {
2 | width: 100%;
3 | text-align: center;
4 | font-size: 1.6rem;
5 | line-height: 2rem;
6 | margin-bottom: 1rem;
7 | @media only screen and (max-width: 768px) {
8 | font-size: 1.5rem;
9 | }
10 | a {
11 | color: $link-color;
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/assets/scss/_footer_dark.scss:
--------------------------------------------------------------------------------
1 | @mixin footer_dark {
2 | .footer {
3 | a {
4 | color: $link-color-dark;
5 | }
6 | }
7 | }
8 |
9 | body.colorscheme-dark {
10 | @include footer_dark();
11 | }
12 |
13 | body.colorscheme-auto {
14 | @media (prefers-color-scheme: dark) {
15 | @include footer_dark();
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/assets/scss/_mastodon.scss:
--------------------------------------------------------------------------------
1 | .mastodon-wrapper {
2 | display: flex;
3 | gap: 3rem;
4 | flex-direction: row;
5 | }
6 |
7 | .comment-level {
8 | max-width: 3rem;
9 | min-width: 3rem;
10 | }
11 |
12 | .reply-original {
13 | display: none;
14 | }
15 |
16 | .mastodon-comment {
17 | background-color: var(--body-background);
18 | border-radius: var(--card-border-radius);
19 | padding: var(--card-padding);
20 | margin-bottom: 1rem;
21 | display: flex;
22 | gap: 1rem;
23 | flex-direction: column;
24 | flex-grow: 2;
25 |
26 | .comment {
27 | display: flex;
28 | flex-direction: row;
29 | gap: 1rem;
30 | flex-wrap: true;
31 | }
32 |
33 | .comment-avatar img {
34 | width: 6rem;
35 | }
36 |
37 | .content {
38 | flex-grow: 2;
39 | }
40 |
41 | .comment-author {
42 | display: flex;
43 | flex-direction: column;
44 |
45 | &-name {
46 | font-weight: bold;
47 | a {
48 | display: flex;
49 | align-items: center;
50 | }
51 | }
52 |
53 | &-date {
54 | margin-left: auto;
55 | }
56 | }
57 |
58 | .disabled {
59 | color: var(--accent-color)
60 | }
61 | }
62 |
63 | .mastodon-comment-content p:first-child {
64 | margin-top: 0;
65 | }
66 |
67 | .mastodon {
68 | --dlg-bg: #282c37;
69 | --dlg-w: 600px;
70 | --dlg-color: #9baec8;
71 | --dlg-button-p: 0.75em 2em;
72 | --dlg-outline-c: #00D9F5;
73 | }
74 |
--------------------------------------------------------------------------------
/assets/scss/_navigation.scss:
--------------------------------------------------------------------------------
1 | .navigation {
2 | height: 6rem;
3 | width: 100%;
4 |
5 | a,
6 | span {
7 | display: inline;
8 | font-size: 1.7rem;
9 | font-family: $font-family;
10 | font-weight: 600;
11 | color: $fg-color;
12 | }
13 |
14 | a {
15 |
16 | &:hover,
17 | &:focus {
18 | color: $link-color;
19 | }
20 | }
21 |
22 | .navigation-title {
23 | letter-spacing: 0.1rem;
24 | text-transform: uppercase;
25 | }
26 |
27 | .navigation-list {
28 | float: right;
29 | list-style: none;
30 | margin-bottom: 0;
31 | margin-top: 0;
32 |
33 | @media only screen and (max-width: 768px) {
34 | position: relative;
35 | top: 2rem;
36 | right: 0;
37 | z-index: 5;
38 | visibility: hidden;
39 | opacity: 0;
40 | padding: 0;
41 | max-height: 0;
42 | width: 100%;
43 | background-color: $bg-color;
44 | border-top: solid 2px $alt-bg-color;
45 | border-bottom: solid 2px $alt-bg-color;
46 | transition: opacity 0.25s, max-height 0.15s linear;
47 | }
48 |
49 | .navigation-item {
50 | float: left;
51 | margin: 0;
52 | position: relative;
53 |
54 | @media only screen and (max-width: 768px) {
55 | float: none !important;
56 | text-align: center;
57 |
58 | a,
59 | span {
60 | line-height: 5rem;
61 | }
62 | }
63 |
64 | a,
65 | span {
66 | margin-left: 1rem;
67 | margin-right: 1rem;
68 | }
69 | }
70 |
71 | .separator {
72 | @media only screen and (max-width: 768px) {
73 | display: none;
74 | }
75 | }
76 |
77 | .menu-separator {
78 | @media only screen and (max-width: 768px) {
79 | border-top: 2px solid $fg-color;
80 | margin: 0 8rem;
81 |
82 | span {
83 | display: none;
84 | }
85 | }
86 | }
87 | }
88 |
89 | #dark-mode-toggle {
90 | margin: 1.7rem 0;
91 | font-size: 2.4rem;
92 | line-height: inherit;
93 | bottom: 2rem;
94 | left: 2rem;
95 | z-index: 100;
96 | position: fixed;
97 | }
98 |
99 | #menu-toggle {
100 | display: none;
101 |
102 | @media only screen and (max-width: 768px) {
103 | display: initial;
104 | position: relative;
105 | visibility: hidden;
106 |
107 | &:checked+label>i {
108 | color: $alt-bg-color;
109 | }
110 |
111 | &:checked+label+ul {
112 | visibility: visible;
113 | opacity: 1;
114 | max-height: 100rem;
115 | }
116 |
117 | &:focus-visible+label {
118 | outline-style: auto;
119 | }
120 | }
121 | }
122 |
123 | .menu-button {
124 | display: none;
125 |
126 | @media only screen and (max-width: 768px) {
127 | position: relative;
128 | display: block;
129 | font-size: 2.4rem;
130 | font-weight: 400;
131 | }
132 |
133 | i {
134 |
135 | &:hover,
136 | &:focus {
137 | color: $alt-fg-color;
138 | }
139 | }
140 | }
141 |
142 | i {
143 | color: $fg-color;
144 | cursor: pointer;
145 |
146 | &:hover,
147 | &:focus {
148 | color: $link-color;
149 | }
150 | }
151 | }
152 |
--------------------------------------------------------------------------------
/assets/scss/_navigation_dark.scss:
--------------------------------------------------------------------------------
1 | @mixin navigation_dark {
2 | .navigation {
3 |
4 | a,
5 | span {
6 | color: $fg-color-dark;
7 | }
8 |
9 | a {
10 |
11 | &:hover,
12 | &:focus {
13 | color: $link-color-dark;
14 | }
15 | }
16 |
17 | .navigation-list {
18 | @media only screen and (max-width: 768px) {
19 | background-color: $bg-color-dark;
20 | border-top: solid 2px $alt-bg-color-dark;
21 | border-bottom: solid 2px $alt-bg-color-dark;
22 | }
23 |
24 | .menu-separator {
25 | @media only screen and (max-width: 768px) {
26 | border-top: 2px solid $fg-color-dark;
27 | }
28 | }
29 | }
30 |
31 | #menu-toggle {
32 | @media only screen and (max-width: 768px) {
33 | &:checked+label>i {
34 | color: $alt-bg-color-dark;
35 | }
36 | }
37 | }
38 |
39 | i {
40 | color: $fg-color-dark;
41 |
42 | &:hover,
43 | &:focus {
44 | color: $link-color-dark;
45 | }
46 | }
47 |
48 | .menu-button {
49 | i {
50 |
51 | &:hover,
52 | &:focus {
53 | color: $alt-fg-color-dark;
54 | }
55 | }
56 | }
57 | }
58 | }
59 |
60 | body.colorscheme-dark {
61 | @include navigation_dark();
62 | }
63 |
64 | body.colorscheme-auto {
65 | @media (prefers-color-scheme: dark) {
66 | @include navigation_dark();
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/assets/scss/_navigation_rtl.scss:
--------------------------------------------------------------------------------
1 | body.rtl {
2 | .navigation-list {
3 | float: left;
4 |
5 | @media only screen and (max-width: 768px) {
6 | left: 0;
7 | right: auto;
8 | }
9 |
10 | .navigation-item {
11 | float: right;
12 | }
13 | }
14 |
15 | .menu-button {
16 | @media only screen and (max-width: 768px) {
17 | float: left;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/assets/scss/_notices.scss:
--------------------------------------------------------------------------------
1 | .notice {
2 | border-radius: 0.2rem;
3 | position: relative;
4 | margin: 2rem 0;
5 | padding: 0 0.75rem;
6 | overflow: auto;
7 |
8 | .notice-title {
9 | position: relative;
10 | font-weight: 700;
11 | margin: 0 -0.75rem;
12 | padding: 0.2rem 3.5rem;
13 | border-bottom: 1px solid $bg-color;
14 |
15 | i {
16 | position: absolute;
17 | top: 50%;
18 | left: 1.8rem;
19 | transform: translate(-50%, -50%);
20 | }
21 | }
22 |
23 | .notice-content {
24 | display: block;
25 | margin: 2rem 2rem;
26 | }
27 | }
28 |
29 | .notice.note {
30 | background-color: $bg-color-notice-note-content;
31 |
32 | .notice-title {
33 | background-color: $bg-color-notice-note-title;
34 |
35 | i {
36 | color: $fg-color-notice-note-icon;
37 | }
38 | }
39 | }
40 |
41 | .notice.tip {
42 | background-color: $bg-color-notice-tip-content;
43 |
44 | .notice-title {
45 | background-color: $bg-color-notice-tip-title;
46 |
47 | i {
48 | color: $fg-color-notice-tip-icon;
49 | }
50 | }
51 | }
52 |
53 | .notice.example {
54 | background-color: $bg-color-notice-example-content;
55 |
56 | .notice-title {
57 | background-color: $bg-color-notice-example-title;
58 |
59 | i {
60 | color: $fg-color-notice-example-icon;
61 | }
62 | }
63 | }
64 |
65 | .notice.question {
66 | background-color: $bg-color-notice-question-content;
67 |
68 | .notice-title {
69 | background-color: $bg-color-notice-question-title;
70 |
71 | i {
72 | color: $fg-color-notice-question-icon;
73 | }
74 | }
75 | }
76 |
77 | .notice.info {
78 | background-color: $bg-color-notice-info-content;
79 |
80 | .notice-title {
81 | background-color: $bg-color-notice-info-title;
82 |
83 | i {
84 | color: $fg-color-notice-info-icon;
85 | }
86 | }
87 | }
88 |
89 | .notice.warning {
90 | background-color: $bg-color-notice-warning-content;
91 |
92 | .notice-title {
93 | background-color: $bg-color-notice-warning-title;
94 |
95 | i {
96 | color: $fg-color-notice-warning-icon;
97 | }
98 | }
99 | }
100 |
101 | .notice.error {
102 | background-color: $bg-color-notice-error-content;
103 |
104 | .notice-title {
105 | background-color: $bg-color-notice-error-title;
106 |
107 | i {
108 | color: $fg-color-notice-error-icon;
109 | }
110 | }
111 | }
112 |
--------------------------------------------------------------------------------
/assets/scss/_notices_dark.scss:
--------------------------------------------------------------------------------
1 | @mixin notices_dark {
2 | .notice {
3 | .notice-title {
4 | border-bottom: 1px solid $bg-color-dark;
5 | }
6 | }
7 | }
8 |
9 | body.colorscheme-dark {
10 | @include notices_dark();
11 | }
12 |
13 | body.colorscheme-auto {
14 | @media (prefers-color-scheme: dark) {
15 | @include notices_dark();
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/assets/scss/_pagination.scss:
--------------------------------------------------------------------------------
1 | .pagination {
2 | display: flex;
3 | justify-content: center;
4 |
5 | margin-top: 6rem;
6 | text-align: center;
7 | font-family: $font-family;
8 |
9 | li {
10 | display: inline;
11 | text-align: center;
12 | font-weight: 700;
13 | padding: 0 5px 0 5px;
14 |
15 | margin: 0;
16 | text-align: center;
17 | width: 2.2rem;
18 |
19 | a {
20 | font-weight: 300;
21 | }
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/assets/scss/_tabs.scss:
--------------------------------------------------------------------------------
1 | .tabs {
2 | display: flex;
3 | flex-wrap: wrap;
4 | margin: 2rem 0 2rem 0;
5 | position: relative;
6 |
7 | &.tabs-left {
8 | justify-content: flex-start;
9 |
10 | label.tab-label {
11 | margin-right: 0.5rem;
12 | }
13 |
14 | .tab-content {
15 | border-radius: 0px 4px 4px 4px;
16 | }
17 | }
18 |
19 | &.tabs-right {
20 | justify-content: flex-end;
21 |
22 | label.tab-label {
23 | margin-left: 0.5rem;
24 | }
25 |
26 | .tab-content {
27 | border-radius: 4px 0px 4px 4px;
28 | }
29 | }
30 |
31 | input.tab-input {
32 | display: none;
33 | }
34 |
35 | label.tab-label {
36 | background-color: $alt-bg-color;
37 | border-color: $darker-alt-bg-color;
38 | border-radius: 4px 4px 0px 0px;
39 |
40 | border-style: solid;
41 | border-bottom-style: hidden;
42 |
43 | border-width: 1px;
44 | cursor: pointer;
45 | display: inline-block;
46 | order: 1;
47 | padding: 0.3rem 0.6rem;
48 | position: relative;
49 | top: 1px;
50 | user-select: none;
51 | }
52 |
53 | input.tab-input:checked + label.tab-label {
54 | background-color: $bg-color;
55 | }
56 |
57 | .tab-content {
58 | background-color: $bg-color;
59 | border-color: $darker-alt-bg-color;
60 | border-style: solid;
61 | border-width: 1px;
62 | display: none;
63 | order: 2;
64 | padding: 1rem;
65 | width: 100%;
66 | }
67 |
68 | &.tabs-code {
69 | .tab-content {
70 | padding: 0.5rem;
71 |
72 | pre {
73 | margin: 0;
74 | }
75 | }
76 | }
77 | }
78 |
--------------------------------------------------------------------------------
/assets/scss/_tabs_dark.scss:
--------------------------------------------------------------------------------
1 | @mixin tabs_dark {
2 | .tabs {
3 | label.tab-label {
4 | background-color: $alt-bg-color-dark;
5 | border-color: $lighter-alt-bg-color-dark;
6 | }
7 |
8 | input.tab-input:checked + label.tab-label {
9 | background-color: $bg-color-dark;
10 | }
11 |
12 | .tab-content {
13 | background-color: $bg-color-dark;
14 | border-color: $lighter-alt-bg-color-dark;
15 | }
16 | }
17 | }
18 |
19 | body.colorscheme-dark {
20 | @include tabs_dark();
21 | }
22 |
23 | body.colorscheme-auto {
24 | @media (prefers-color-scheme: dark) {
25 | @include tabs_dark();
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/assets/scss/_taxonomies.scss:
--------------------------------------------------------------------------------
1 | .taxonomy {
2 | li {
3 | display: inline-block;
4 | margin: 0.9rem;
5 | }
6 |
7 | .taxonomy-element {
8 | display: block;
9 | padding: 0.3rem 0.9rem;
10 | background-color: $alt-bg-color;
11 | border-radius: 0.6rem;
12 |
13 | a {
14 | color: $fg-color;
15 | }
16 | a:active {
17 | color: $fg-color;
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/assets/scss/_taxonomies_dark.scss:
--------------------------------------------------------------------------------
1 | @mixin taxonomy_dark {
2 | .taxonomy-element {
3 | background-color: $alt-bg-color-dark;
4 |
5 | a {
6 | color: $fg-color-dark;
7 | }
8 | a:active {
9 | color: $fg-color-dark;
10 | }
11 | }
12 | }
13 |
14 | body.colorscheme-dark {
15 | @include taxonomy_dark();
16 | }
17 |
18 | body.colorscheme-auto {
19 | @media (prefers-color-scheme: dark) {
20 | @include taxonomy_dark();
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/assets/scss/_variables.scss:
--------------------------------------------------------------------------------
1 | // Fonts
2 | $font-family: -apple-system,
3 | BlinkMacSystemFont,
4 | "Segoe UI",
5 | Roboto,
6 | Oxygen-Sans,
7 | Ubuntu,
8 | Cantarell,
9 | "Helvetica Neue",
10 | Helvetica,
11 | "游ゴシック",
12 | "PingFang SC",
13 | STXihei,"华文细黑",
14 | "Microsoft YaHei","微软雅黑",
15 | SimSun,"宋体",
16 | Heiti,"黑体",
17 | sans-serif;
18 | $code-font-family: SFMono-Regular,
19 | Consolas,
20 | Liberation Mono,
21 | Menlo,
22 | monospace;
23 |
24 | // Colors
25 | $bg-color: #fafafa !default;
26 | $fg-color: #212121 !default;
27 | $alt-bg-color: #e0e0e0 !default;
28 | $alt-fg-color: #000 !default;
29 | $darker-alt-bg-color: #ccc !default;
30 | $link-color: #1565c0 !default;
31 |
32 | // Dark colors
33 | $bg-color-dark: #212121 !default;
34 | $fg-color-dark: #dadada !default;
35 | $alt-bg-color-dark: #424242 !default;
36 | $alt-fg-color-dark: #dadada !default;
37 | $lighter-alt-bg-color-dark: #4f4f4f !default;
38 | $link-color-dark: #42a5f5 !default;
39 |
40 | // Notice colors
41 | $fg-color-notice-note-icon: #5e35b1 !default;
42 | $bg-color-notice-note-title: #673ab71a !default;
43 | $bg-color-notice-note-content: #7e57c21a !default;
44 | $fg-color-notice-tip-icon: #00897b !default;
45 | $bg-color-notice-tip-title: #0096881a !default;
46 | $bg-color-notice-tip-content: #26a69a1a !default;
47 | $fg-color-notice-example-icon: #6d4c41 !default;
48 | $bg-color-notice-example-title: #7955481a !default;
49 | $bg-color-notice-example-content: #8d6e631a !default;
50 | $fg-color-notice-question-icon: #7cb342 !default;
51 | $bg-color-notice-question-title: #8bc34a1a !default;
52 | $bg-color-notice-question-content: #9ccc651a !default;
53 | $fg-color-notice-info-icon: #1e88e5 !default;
54 | $bg-color-notice-info-title: #2196f31a !default;
55 | $bg-color-notice-info-content: #42a5f51a !default;
56 | $fg-color-notice-warning-icon: #ffb300 !default;
57 | $bg-color-notice-warning-title: #ffc1071a !default;
58 | $bg-color-notice-warning-content: #ffca281a !default;
59 | $fg-color-notice-error-icon: #e53935 !default;
60 | $bg-color-notice-error-title: #f443361a !default;
61 | $bg-color-notice-error-content: #ef53501a !default;
62 |
63 | // Path to FontAwesome TTF/WOFF files.
64 | $fa-font-path: "../fonts" !default;
65 |
--------------------------------------------------------------------------------
/assets/scss/coder-dark.scss:
--------------------------------------------------------------------------------
1 | @import "variables";
2 | @import "base_dark";
3 | @import "content_dark";
4 | @import "notices_dark";
5 | @import "navigation_dark";
6 | @import "tabs_dark";
7 | @import "taxonomies_dark";
8 | @import "footer_dark";
9 | @import "float_dark";
10 | @import "syntax_dark";
11 |
--------------------------------------------------------------------------------
/assets/scss/coder-rtl.scss:
--------------------------------------------------------------------------------
1 | @import "_variables";
2 | @import "_base_rtl";
3 | @import "_content_rtl";
4 | @import "_navigation_rtl";
5 |
--------------------------------------------------------------------------------
/assets/scss/coder.scss:
--------------------------------------------------------------------------------
1 | @import "css/normalize";
2 | @import "variables";
3 | @import "font-awesome/fontawesome";
4 | @import "font-awesome/regular";
5 | @import "font-awesome/solid";
6 | @import "font-awesome/brands";
7 | @import "font-awesome/v4-shims";
8 | @import "base";
9 | @import "content";
10 | @import "notices";
11 | @import "navigation";
12 | @import "pagination";
13 | @import "tabs";
14 | @import "taxonomies";
15 | @import "footer";
16 | @import "float";
17 | @import "mastodon";
18 | @import "syntax";
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_bordered-pulled.scss:
--------------------------------------------------------------------------------
1 | // bordered + pulled icons
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-border {
5 | border-color: var(--#{$fa-css-prefix}-border-color, #{$fa-border-color});
6 | border-radius: var(--#{$fa-css-prefix}-border-radius, #{$fa-border-radius});
7 | border-style: var(--#{$fa-css-prefix}-border-style, #{$fa-border-style});
8 | border-width: var(--#{$fa-css-prefix}-border-width, #{$fa-border-width});
9 | padding: var(--#{$fa-css-prefix}-border-padding, #{$fa-border-padding});
10 | }
11 |
12 | .#{$fa-css-prefix}-pull-left {
13 | float: left;
14 | margin-right: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
15 | }
16 |
17 | .#{$fa-css-prefix}-pull-right {
18 | float: right;
19 | margin-left: var(--#{$fa-css-prefix}-pull-margin, #{$fa-pull-margin});
20 | }
21 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_core.scss:
--------------------------------------------------------------------------------
1 | // base icon class definition
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix} {
5 | font-family: var(--#{$fa-css-prefix}-style-family, '#{$fa-style-family}');
6 | font-weight: var(--#{$fa-css-prefix}-style, #{$fa-style});
7 | }
8 |
9 | .fas,
10 | .far,
11 | .fab,
12 | .#{$fa-css-prefix}-solid,
13 | .#{$fa-css-prefix}-regular,
14 | .#{$fa-css-prefix}-brands,
15 | .#{$fa-css-prefix} {
16 | -moz-osx-font-smoothing: grayscale;
17 | -webkit-font-smoothing: antialiased;
18 | display: var(--#{$fa-css-prefix}-display, #{$fa-display});
19 | font-style: normal;
20 | font-variant: normal;
21 | line-height: 1;
22 | text-rendering: auto;
23 | }
24 |
25 | .fas::before,
26 | .far::before,
27 | .fab::before,
28 | .#{$fa-css-prefix}-solid::before,
29 | .#{$fa-css-prefix}-regular::before,
30 | .#{$fa-css-prefix}-brands::before,
31 | .#{$fa-css-prefix}::before {
32 | content: var(#{$fa-icon-property});
33 | }
34 |
35 | .#{$fa-css-prefix}-classic,
36 | .fas,
37 | .#{$fa-css-prefix}-solid,
38 | .far,
39 | .#{$fa-css-prefix}-regular {
40 | font-family: 'Font Awesome 6 Free';
41 | }
42 | .#{$fa-css-prefix}-brands,
43 | .fab {
44 | font-family: 'Font Awesome 6 Brands';
45 | }
46 |
47 | %fa-icon {
48 | @include fa-icon;
49 | }
50 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_fixed-width.scss:
--------------------------------------------------------------------------------
1 | // fixed-width icons
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-fw {
5 | text-align: center;
6 | width: $fa-fw-width;
7 | }
8 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_functions.scss:
--------------------------------------------------------------------------------
1 | // functions
2 | // --------------------------
3 |
4 | // fa-content: convenience function used to set content property
5 | @function fa-content($fa-var) {
6 | @return unquote("\"#{ $fa-var }\"");
7 | }
8 |
9 | // fa-divide: Originally obtained from the Bootstrap https://github.com/twbs/bootstrap
10 | //
11 | // Licensed under: The MIT License (MIT)
12 | //
13 | // Copyright (c) 2011-2021 Twitter, Inc.
14 | // Copyright (c) 2011-2021 The Bootstrap Authors
15 | //
16 | // Permission is hereby granted, free of charge, to any person obtaining a copy
17 | // of this software and associated documentation files (the "Software"), to deal
18 | // in the Software without restriction, including without limitation the rights
19 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
20 | // copies of the Software, and to permit persons to whom the Software is
21 | // furnished to do so, subject to the following conditions:
22 | //
23 | // The above copyright notice and this permission notice shall be included in
24 | // all copies or substantial portions of the Software.
25 | //
26 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
27 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
28 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
29 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
30 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
31 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
32 | // THE SOFTWARE.
33 |
34 | @function fa-divide($dividend, $divisor, $precision: 10) {
35 | $sign: if($dividend > 0 and $divisor > 0, 1, -1);
36 | $dividend: abs($dividend);
37 | $divisor: abs($divisor);
38 | $quotient: 0;
39 | $remainder: $dividend;
40 | @if $dividend == 0 {
41 | @return 0;
42 | }
43 | @if $divisor == 0 {
44 | @error "Cannot divide by 0";
45 | }
46 | @if $divisor == 1 {
47 | @return $dividend;
48 | }
49 | @while $remainder >= $divisor {
50 | $quotient: $quotient + 1;
51 | $remainder: $remainder - $divisor;
52 | }
53 | @if $remainder > 0 and $precision > 0 {
54 | $remainder: fa-divide($remainder * 10, $divisor, $precision - 1) * .1;
55 | }
56 | @return ($quotient + $remainder) * $sign;
57 | }
58 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_icons.scss:
--------------------------------------------------------------------------------
1 | // specific icon class definition
2 | // -------------------------
3 |
4 | /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
5 | readers do not read off random characters that represent icons */
6 |
7 | @each $name, $icon in $fa-icons {
8 | .#{$fa-css-prefix}-#{$name} {
9 | #{$fa-icon-property}: unquote("\"#{ $icon }\"");
10 | }
11 | }
12 |
13 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_list.scss:
--------------------------------------------------------------------------------
1 | // icons in a list
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-ul {
5 | list-style-type: none;
6 | margin-left: var(--#{$fa-css-prefix}-li-margin, #{$fa-li-margin});
7 | padding-left: 0;
8 |
9 | > li { position: relative; }
10 | }
11 |
12 | .#{$fa-css-prefix}-li {
13 | left: calc(-1 * var(--#{$fa-css-prefix}-li-width, #{$fa-li-width}));
14 | position: absolute;
15 | text-align: center;
16 | width: var(--#{$fa-css-prefix}-li-width, #{$fa-li-width});
17 | line-height: inherit;
18 | }
19 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_mixins.scss:
--------------------------------------------------------------------------------
1 | // mixins
2 | // --------------------------
3 |
4 | // base rendering for an icon
5 | @mixin fa-icon {
6 | -webkit-font-smoothing: antialiased;
7 | -moz-osx-font-smoothing: grayscale;
8 | display: inline-block;
9 | font-style: normal;
10 | font-variant: normal;
11 | font-weight: normal;
12 | line-height: 1;
13 | }
14 |
15 | // sets relative font-sizing and alignment (in _sizing)
16 | @mixin fa-size ($font-size) {
17 | font-size: fa-divide($font-size, $fa-size-scale-base) * 1em; // converts step in sizing scale into an em-based value that's relative to the scale's base
18 | line-height: fa-divide(1, $font-size) * 1em; // sets the line-height of the icon back to that of it's parent
19 | vertical-align: (fa-divide(6, $font-size) - fa-divide(3, 8)) * 1em; // vertically centers the icon taking into account the surrounding text's descender
20 | }
21 |
22 | // only display content to screen readers
23 | // see: https://www.a11yproject.com/posts/2013-01-11-how-to-hide-content/
24 | // see: https://hugogiraudel.com/2016/10/13/css-hide-and-seek/
25 | @mixin fa-sr-only() {
26 | position: absolute;
27 | width: 1px;
28 | height: 1px;
29 | padding: 0;
30 | margin: -1px;
31 | overflow: hidden;
32 | clip: rect(0, 0, 0, 0);
33 | white-space: nowrap;
34 | border-width: 0;
35 | }
36 |
37 | // use in conjunction with .sr-only to only display content when it's focused
38 | @mixin fa-sr-only-focusable() {
39 | &:not(:focus) {
40 | @include fa-sr-only();
41 | }
42 | }
43 |
44 | // sets a specific icon family to use alongside style + icon mixins
45 | @mixin fa-family-classic() {
46 | @extend .fa-classic;
47 | }
48 |
49 | // convenience mixins for declaring pseudo-elements by CSS variable,
50 | // including all style-specific font properties
51 | @mixin fa-icon-solid($fa-var) {
52 | @extend .fa-solid;
53 |
54 | & { #{$fa-icon-property}: unquote("\"#{ $fa-var }\""); #{$fa-duotone-icon-property}: unquote("\"#{ $fa-var }#{ $fa-var }\""); }
55 | }
56 | @mixin fa-icon-regular($fa-var) {
57 | @extend .fa-regular;
58 |
59 | & { #{$fa-icon-property}: unquote("\"#{ $fa-var }\""); #{$fa-duotone-icon-property}: unquote("\"#{ $fa-var }#{ $fa-var }\""); }
60 | }
61 | @mixin fa-icon-brands($fa-var) {
62 | @extend .fa-brands;
63 |
64 | & { #{$fa-icon-property}: unquote("\"#{ $fa-var }\""); #{$fa-duotone-icon-property}: unquote("\"#{ $fa-var }#{ $fa-var }\""); }
65 | }
66 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_rotated-flipped.scss:
--------------------------------------------------------------------------------
1 | // rotating + flipping icons
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-rotate-90 {
5 | transform: rotate(90deg);
6 | }
7 |
8 | .#{$fa-css-prefix}-rotate-180 {
9 | transform: rotate(180deg);
10 | }
11 |
12 | .#{$fa-css-prefix}-rotate-270 {
13 | transform: rotate(270deg);
14 | }
15 |
16 | .#{$fa-css-prefix}-flip-horizontal {
17 | transform: scale(-1, 1);
18 | }
19 |
20 | .#{$fa-css-prefix}-flip-vertical {
21 | transform: scale(1, -1);
22 | }
23 |
24 | .#{$fa-css-prefix}-flip-both,
25 | .#{$fa-css-prefix}-flip-horizontal.#{$fa-css-prefix}-flip-vertical {
26 | transform: scale(-1, -1);
27 | }
28 |
29 | .#{$fa-css-prefix}-rotate-by {
30 | transform: rotate(var(--#{$fa-css-prefix}-rotate-angle, 0));
31 | }
32 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_screen-reader.scss:
--------------------------------------------------------------------------------
1 | // screen-reader utilities
2 | // -------------------------
3 |
4 | // only display content to screen readers
5 | .sr-only,
6 | .#{$fa-css-prefix}-sr-only {
7 | @include fa-sr-only;
8 | }
9 |
10 | // use in conjunction with .sr-only to only display content when it's focused
11 | .sr-only-focusable,
12 | .#{$fa-css-prefix}-sr-only-focusable {
13 | @include fa-sr-only-focusable;
14 | }
15 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_sizing.scss:
--------------------------------------------------------------------------------
1 | // sizing icons
2 | // -------------------------
3 |
4 | // literal magnification scale
5 | @for $i from 1 through 10 {
6 | .#{$fa-css-prefix}-#{$i}x {
7 | font-size: $i * 1em;
8 | }
9 | }
10 |
11 | // step-based scale (with alignment)
12 | @each $size, $value in $fa-sizes {
13 | .#{$fa-css-prefix}-#{$size} {
14 | @include fa-size($value);
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/_stacked.scss:
--------------------------------------------------------------------------------
1 | // stacking icons
2 | // -------------------------
3 |
4 | .#{$fa-css-prefix}-stack {
5 | display: inline-block;
6 | height: 2em;
7 | line-height: 2em;
8 | position: relative;
9 | vertical-align: $fa-stack-vertical-align;
10 | width: $fa-stack-width;
11 | }
12 |
13 | .#{$fa-css-prefix}-stack-1x,
14 | .#{$fa-css-prefix}-stack-2x {
15 | left: 0;
16 | position: absolute;
17 | text-align: center;
18 | width: 100%;
19 | z-index: var(--#{$fa-css-prefix}-stack-z-index, #{$fa-stack-z-index});
20 | }
21 |
22 | .#{$fa-css-prefix}-stack-1x {
23 | line-height: inherit;
24 | }
25 |
26 | .#{$fa-css-prefix}-stack-2x {
27 | font-size: 2em;
28 | }
29 |
30 | .#{$fa-css-prefix}-inverse {
31 | color: var(--#{$fa-css-prefix}-inverse, #{$fa-inverse});
32 | }
33 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/brands.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3 | * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4 | * Copyright 2024 Fonticons, Inc.
5 | */
6 | @import 'functions';
7 | @import 'variables';
8 |
9 | :root, :host {
10 | --#{$fa-css-prefix}-style-family-brands: 'Font Awesome 6 Brands';
11 | --#{$fa-css-prefix}-font-brands: normal 400 1em/1 'Font Awesome 6 Brands';
12 | }
13 |
14 | @font-face {
15 | font-family: 'Font Awesome 6 Brands';
16 | font-style: normal;
17 | font-weight: 400;
18 | font-display: $fa-font-display;
19 | src: url('#{$fa-font-path}/fa-brands-400.woff2') format('woff2'),
20 | url('#{$fa-font-path}/fa-brands-400.ttf') format('truetype');
21 | }
22 |
23 | .fab,
24 | .#{$fa-css-prefix}-brands {
25 | font-weight: 400;
26 | }
27 |
28 | @each $name, $icon in $fa-brand-icons {
29 | .#{$fa-css-prefix}-#{$name} { #{$fa-icon-property}: unquote("\"#{ $icon }\""); }
30 | }
31 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/fontawesome.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3 | * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4 | * Copyright 2024 Fonticons, Inc.
5 | */
6 | // Font Awesome core compile (Web Fonts-based)
7 | // -------------------------
8 |
9 | @import 'functions';
10 | @import 'variables';
11 | @import 'mixins';
12 | @import 'core';
13 | @import 'sizing';
14 | @import 'fixed-width';
15 | @import 'list';
16 | @import 'bordered-pulled';
17 | @import 'animated';
18 | @import 'rotated-flipped';
19 | @import 'stacked';
20 | @import 'icons';
21 | @import 'screen-reader';
22 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/regular.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3 | * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4 | * Copyright 2024 Fonticons, Inc.
5 | */
6 | @import 'functions';
7 | @import 'variables';
8 |
9 | :root, :host {
10 | --#{$fa-css-prefix}-style-family-classic: '#{ $fa-style-family }';
11 | --#{$fa-css-prefix}-font-regular: normal 400 1em/1 '#{ $fa-style-family }';
12 | }
13 |
14 |
15 | @font-face {
16 | font-family: 'Font Awesome 6 Free';
17 | font-style: normal;
18 | font-weight: 400;
19 | font-display: $fa-font-display;
20 | src: url('#{$fa-font-path}/fa-regular-400.woff2') format('woff2'),
21 | url('#{$fa-font-path}/fa-regular-400.ttf') format('truetype');
22 | }
23 |
24 | .far,
25 | .#{$fa-css-prefix}-regular {
26 | font-weight: 400;
27 | }
28 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/solid.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3 | * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4 | * Copyright 2024 Fonticons, Inc.
5 | */
6 | @import 'functions';
7 | @import 'variables';
8 |
9 | :root, :host {
10 | --#{$fa-css-prefix}-style-family-classic: '#{ $fa-style-family }';
11 | --#{$fa-css-prefix}-font-solid: normal 900 1em/1 '#{ $fa-style-family }';
12 | }
13 |
14 |
15 | @font-face {
16 | font-family: 'Font Awesome 6 Free';
17 | font-style: normal;
18 | font-weight: 900;
19 | font-display: $fa-font-display;
20 | src: url('#{$fa-font-path}/fa-solid-900.woff2') format('woff2'),
21 | url('#{$fa-font-path}/fa-solid-900.ttf') format('truetype');
22 | }
23 |
24 | .fas,
25 | .#{$fa-css-prefix}-solid {
26 | font-weight: 900;
27 | }
28 |
--------------------------------------------------------------------------------
/assets/scss/font-awesome/v4-shims.scss:
--------------------------------------------------------------------------------
1 | /*!
2 | * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
3 | * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4 | * Copyright 2024 Fonticons, Inc.
5 | */
6 | // V4 shims compile (Web Fonts-based)
7 | // -------------------------
8 |
9 | @import 'functions';
10 | @import 'variables';
11 | @import 'shims';
12 |
--------------------------------------------------------------------------------
/docs/analytics.md:
--------------------------------------------------------------------------------
1 | # Enable Web Analytics
2 |
3 | ## Supported Providers
4 |
5 | _in alphabetic order_
6 |
7 | - [Application Insights](https://azure.com/) - [documentation](/docs/analytics/applicationinsights.md)
8 | - [Baidu Analytics](https://tongji.baidu.com/) - [documentation](/docs/analytics/baidu.md)
9 | - [Clicky](https://clicky.com/) - [documentation](/docs/analytics/clicky.md)
10 | - [Cloudflare](https://www.cloudflare.com/analytics/) - [documentation](/docs/analytics/cloudflare.md)
11 | - [Google Analytics](https://developers.google.com/analytics) - [documentation](/docs/analytics/googleanalytics.md)
12 | - [Google Tag Manager](https://developers.google.com/tag-manager) - [documentation](/docs/analytics/googletagmanager.md)
13 | - [Fathom Analytics](https://usefathom.com/) - [documentation](/docs/analytics/fathom.md)
14 | - [Goat Counter](https://www.goatcounter.com/) - [documentation](/docs/analytics/goatcounter.md)
15 | - [Matomo](https://matomo.org/) - [documentation](/docs/analytics/matomo.md)
16 | - [Micro Analytics](https://microanalytics.io/) - [documentation](/docs/analytics/microanalytics.md)
17 | - [One Dollars Stats](https://onedollarstats.com/analytics) - [documentation](/docs/analytics/onedollarstats.md)
18 | - [Pirsch](https://pirsch.io/) - [documentation](/docs/analytics/pirsch.md)
19 | - [Plausible Analytics](https://plausible.io/) - [documentation](/docs/analytics/plausible.md)
20 | - [Umami](https://umami.is/) - [documentation](/docs/analytics/umami.md)
21 | - [Vercel Analytics](https://vercel.com/analytics) - [documentation](/docs/analytics/vercel.md)
22 | - [Wide Angle Analytics](https://wideangle.co/) - [documentation](/docs/analytics/wideangle.md)
23 |
--------------------------------------------------------------------------------
/docs/analytics/applicationinsights.md:
--------------------------------------------------------------------------------
1 | # Application Insights
2 |
3 | ```toml
4 | [params.applicationInsights]
5 | connectionString = "connectionstring" # https://docs.microsoft.com/en-us/azure/azure-monitor/app/sdk-connection-string
6 | ```
7 |
--------------------------------------------------------------------------------
/docs/analytics/baidu.md:
--------------------------------------------------------------------------------
1 | # Baidu
2 |
3 | To use Baidu analytics in this theme, navigate to the setting page of your
4 | site at . You will get a piece of JS code provided
5 | as follows:
6 |
7 | ```js
8 |
17 | ```
18 |
19 | Then you can use it by filling your site toke `your_token_at_here` in the
20 | config file:
21 |
22 | ```toml
23 | [params.baidu]
24 | token = "your_token_at_here"
25 | ```
26 |
--------------------------------------------------------------------------------
/docs/analytics/clicky.md:
--------------------------------------------------------------------------------
1 | # Clicky
2 |
3 | ```toml
4 | [params.clicky]
5 | id = "site-id"
6 | ```
--------------------------------------------------------------------------------
/docs/analytics/cloudflare.md:
--------------------------------------------------------------------------------
1 | # Cloudflare
2 |
3 | ```toml
4 | [params.cloudflare]
5 | token = "token"
6 | ```
7 |
--------------------------------------------------------------------------------
/docs/analytics/fathom.md:
--------------------------------------------------------------------------------
1 | # Fathom Analytics
2 |
3 | ```toml
4 | [params.fathomAnalytics]
5 | siteID = "ABCDE"
6 | serverURL = "cdn.usefathom.com" # (optional) Replace if you use a custom domain
7 | ```
--------------------------------------------------------------------------------
/docs/analytics/goatcounter.md:
--------------------------------------------------------------------------------
1 | # Goat Counter
2 |
3 | ```toml
4 | [params.goatCounter]
5 | code = "code" # You will access your account at https://[code].goatcounter.com
6 | ```
7 |
--------------------------------------------------------------------------------
/docs/analytics/googleanalytics.md:
--------------------------------------------------------------------------------
1 | # Google Analytics
2 |
3 | Follow [these steps](https://gohugo.io/templates/internal/#configure-google-analytics).
--------------------------------------------------------------------------------
/docs/analytics/googletagmanager.md:
--------------------------------------------------------------------------------
1 | # Google Tag Manager
2 |
3 | ```toml
4 | [params.googleTagManager]
5 | id = "gid"
6 | ```
7 |
--------------------------------------------------------------------------------
/docs/analytics/matomo.md:
--------------------------------------------------------------------------------
1 | # Matomo
2 |
3 | ```toml
4 | [params.matomo]
5 | siteID = "ABCDE"
6 | serverURL = "analytics.example.com"
7 | ```
8 |
--------------------------------------------------------------------------------
/docs/analytics/microanalytics.md:
--------------------------------------------------------------------------------
1 | # microanalytics.io
2 |
3 | ```toml
4 | [params.microAnalytics]
5 | id = "ABCDE"
6 | dnt = "false" # respect DNT tracker, "true" by default
7 | ```
8 |
--------------------------------------------------------------------------------
/docs/analytics/onedollarstats.md:
--------------------------------------------------------------------------------
1 | # One Dollars Stats
2 |
3 | ```toml
4 | [params.onedollarstats]
5 | id = "data-site-id"
6 | ```
7 |
8 | You will also need to update your content security policy:
9 |
10 | ```toml
11 | [params.csp]
12 | ...
13 | scriptsrc = [
14 | ...
15 | "https://assets.onedollarstats.com",
16 | ]
17 | ...
18 | connectsrc = [
19 | ...
20 | "https://assets.onedollarstats.com",
21 | ...
22 | ]
23 | ```
24 |
--------------------------------------------------------------------------------
/docs/analytics/pirsch.md:
--------------------------------------------------------------------------------
1 | # Pirsch
2 |
3 | ```toml
4 | [params.pirsch]
5 | code = "ABCDE"
6 | ```
--------------------------------------------------------------------------------
/docs/analytics/plausible.md:
--------------------------------------------------------------------------------
1 | # Plausible Analytics
2 |
3 | ```toml
4 | [params.plausibleAnalytics]
5 | domain = "example.com"
6 | serverURL = "plausible.io" # (optional) Replace if you use a custom domain
7 | ```
8 |
--------------------------------------------------------------------------------
/docs/analytics/umami.md:
--------------------------------------------------------------------------------
1 | # Umami
2 |
3 | ```toml
4 | [params.umami]
5 | siteID = "ABCDE"
6 | scriptURL = "analytics.REGION.umami.is/SCRIPTNAME.js"
7 | # refer to the "tracking code" tab in your umami website dashboard
8 | # to obtain the script url
9 | ```
10 |
--------------------------------------------------------------------------------
/docs/analytics/vercel.md:
--------------------------------------------------------------------------------
1 | # Vercel Analytics
2 |
3 | ```toml
4 | [params]
5 | vercelAnalytics = true
6 | ```
7 |
--------------------------------------------------------------------------------
/docs/analytics/wideangle.md:
--------------------------------------------------------------------------------
1 | # Wide Angle Analytics
2 |
3 | Wide Angle Analytics is strictly **GDPR** compliant, privacy-first web analytics. Head to [wideangle.co](https://wideangle.co/) and create you free trial account now.
4 |
5 | ## Configuration
6 |
7 | Built in template supports following configuration options:
8 |
9 | param | description | required | default
10 | ------|-------------|----------|--------
11 | siteID| A site ID from [Wide Angle site](https://wideangle.co/documentation/web-analytics-for-your-website)| :white_check_mark: | n/a
12 | serverURL | [Domain](https://wideangle.co/documentation/track-with-custom-domain) with which the WAA is configured with | :x: | stats.wideangle.co
13 | fingerprint | Enable advanced session fingerprint; requires user consent | :x: | false
14 | supressDNT | Ignore Do-Not-Track setting in the browser | :x: | false
15 |
16 |
17 | ## Example
18 |
19 | ```toml
20 | [params.wideAngleAnalytics]
21 | siteID = "1D4EG3B9ACA03F4243"
22 | serverURL = "fyi.wideangle.co"
23 | fingerprint = "false"
24 | supressDNT = "false"
25 | ```
26 |
--------------------------------------------------------------------------------
/docs/comment-system.md:
--------------------------------------------------------------------------------
1 | WIP
2 |
--------------------------------------------------------------------------------
/docs/contributing.md:
--------------------------------------------------------------------------------
1 | WIP
2 |
--------------------------------------------------------------------------------
/docs/faq.md:
--------------------------------------------------------------------------------
1 | WIP
2 |
--------------------------------------------------------------------------------
/docs/home.md:
--------------------------------------------------------------------------------
1 | # Welcome to the hugo-coder docs!
2 |
3 | ## Basic Usage
4 |
5 | * [Quick Start](quick-start.md)
6 | * [Configurations](configurations.md)
7 | * [FAQ](faq.md)
8 |
9 | ## Extra Guides
10 |
11 | * [Multilingual Mode](multilingual-mode.md)
12 | * [Comment System](comment-system.md)
13 | * [Analytics](analytics.md)
14 |
15 | ## Maintainers & Developers
16 |
17 | * [Contributing](contributing.md)
18 |
19 |
20 |
--------------------------------------------------------------------------------
/docs/multilingual-mode.md:
--------------------------------------------------------------------------------
1 | # Multilingual-Mode
2 |
3 | * [Available Languages](#available-languages)
4 | * [Configure Languages](#configure-languages)
5 | * [Translation File Example](#translation-file-example)
6 |
7 | ## Available Languages
8 |
9 | This theme supports the following languages:
10 |
11 | - Arabic
12 | - Bengali
13 | - Czech
14 | - German
15 | - English
16 | - Spanish
17 | - Finnish
18 | - French
19 | - Hebrew
20 | - Hindi
21 | - Hungarian
22 | - Italian
23 | - Japanese
24 | - Malay
25 | - Dutch
26 | - Polish
27 | - Brazilian Portuguese
28 | - Romanian
29 | - Russian
30 | - Swedish
31 | - Slovak
32 | - Turkish
33 | - Simplified Chinese
34 | - Taiwan Chinese
35 | - Urdu
36 |
37 | ## Configure languages
38 |
39 | Go to [this Hugo documentation page](https://gohugo.io/content-management/multilingual/#configure-languages) to configure one or multiple languages for your website.
40 |
41 | ## Translation File Example
42 |
43 | ```toml
44 | [category]
45 | other = "category"
46 |
47 | [tag]
48 | other = "tag"
49 |
50 | [series]
51 | other = "series"
52 |
53 | [author]
54 | other = "author"
55 |
56 | [reading_time]
57 | one = "One-minute read"
58 | other = "{{ .Count }}-minute read"
59 |
60 | [page_not_found]
61 | other = "Page Not Found"
62 |
63 | [page_does_not_exist]
64 | other = "Sorry, this page does not exist."
65 |
66 | [head_back]
67 | other = "You can head back to homepage ."
68 |
69 | [powered_by]
70 | other = "Powered by"
71 |
72 | [see_also]
73 | other = "See also in"
74 | ```
75 |
--------------------------------------------------------------------------------
/docs/quick-start.md:
--------------------------------------------------------------------------------
1 | # Quick Start
2 |
3 | To start using `hugo-coder`:
4 |
5 | 1. Add the repository into your Hugo Project repository as a submodule, `git submodule add https://github.com/luizdepra/hugo-coder.git themes/coder`.
6 | 2. Configure your `hugo.toml`. You can use [this minimal configuration](https://github.com/luizdepra/hugo-coder/blob/main/docs/configurations.md#complete-example) as a base. The [`hugo.toml`](https://github.com/luizdepra/hugo-coder/blob/master/exampleSite/hugo.toml) inside the [exampleSite](https://github.com/luizdepra/hugo-coder/tree/master/exampleSite) from the `exampleSite` is also a good reference.
7 | 3. Build your site with `hugo serve` and see the result at `http://localhost:1313/`.
8 |
9 | If you just want to test this theme, go to [this page](https://themes.gohugo.io/themes/hugo-coder/).
10 |
11 | You can also clone or download it, then run these commands:
12 |
13 | ```
14 | git clone https://github.com/luizdepra/hugo-coder.git
15 |
16 | cd hugo-coder
17 |
18 | make demo
19 | ```
20 |
21 | You'll see the result at [http://localhost:1313/](http://localhost:1313/).
22 |
23 | > These last two methods don't use the same content directory, the first one leads to 404 pages for some pages. More info [here](https://github.com/gohugoio/hugoThemes#adding-a-theme-to-the-list).
24 |
--------------------------------------------------------------------------------
/exampleSite/content/about.md:
--------------------------------------------------------------------------------
1 | +++
2 | title = "About"
3 | description = "Hugo, the world's fastest framework for building websites"
4 | date = "2019-02-28"
5 | aliases = ["about-us", "about-hugo", "contact"]
6 | author = "Hugo Authors"
7 | +++
8 |
9 | Written in Go, Hugo is an open source static site generator available under the [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) Hugo supports TOML, YAML and JSON data file types, Markdown and HTML content files and uses shortcodes to add rich content. Other notable features are taxonomies, multilingual mode, image processing, custom output formats, HTML/CSS/JS minification and support for Sass SCSS workflows.
10 |
11 | Hugo makes use of a variety of open source projects including:
12 |
13 | * https://github.com/yuin/goldmark
14 | * https://github.com/alecthomas/chroma
15 | * https://github.com/muesli/smartcrop
16 | * https://github.com/spf13/cobra
17 | * https://github.com/spf13/viper
18 |
19 | Hugo is ideal for blogs, corporate websites, creative portfolios, online magazines, single page applications or even a website with thousands of pages.
20 |
21 | Hugo is for people who want to hand code their own website without worrying about setting up complicated runtimes, dependencies and databases.
22 |
23 | Websites built with Hugo are extremely fast, secure and can be deployed anywhere including, AWS, GitHub Pages, Heroku, Netlify and any other hosting provider.
24 |
25 | Learn more and contribute on [GitHub](https://github.com/gohugoio).
26 |
--------------------------------------------------------------------------------
/exampleSite/content/about.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | title = "About"
3 | description = "Hugo, the world's fastest framework for building websites"
4 | date = "2019-02-28"
5 | aliases = ["about-us", "about-hugo", "contact"]
6 | author = "Hugo Authors"
7 | +++
8 |
9 | Escrito em Go, Hugo é um gerador de sites estáticos de código aberto disponível sobre a licença [Apache Licence 2.0.](https://github.com/gohugoio/hugo/blob/master/LICENSE) O Hugo suporta TOML, YAML e JSON como arquivos de dados, Markdown e HTML como arquivos de conteúdo, e usa shortcodes para adicionar conteúdos ricos. Outras funcionalidades notaveis são taxonomias, modo multilingual, processamento de imagens, formatos de saída customizaveis, minificação de HTML/CSS/JS e suporte a fluxos SASS/SCSS.
10 |
11 | O Hugo faz o uso de vários projetos de código aberto incluíndo:
12 |
13 | * https://github.com/yuin/goldmark
14 | * https://github.com/alecthomas/chroma
15 | * https://github.com/muesli/smartcrop
16 | * https://github.com/spf13/cobra
17 | * https://github.com/spf13/viper
18 |
19 | O Hugo é ideal para blogs, sites corporativos, protfólio criativos, revistas online, aplicações de página única ou até sites com milhares de páginas.
20 |
21 | O Hugo é para pessoas que querem cuidar do seu próprio site sem se preocupar com a configuração ambientes complicados, dependências e bancos de dados.
22 |
23 | Sites contru;idos com Hugo são extremamente rápidos, seguros e podem ser implantados em qualquer lugar, incluíndo AWS, GitHub Pages, Heroku, Netlify e outros provedores de hospedagem.
24 |
25 | Saiba mais e contribua em [GitHub](https://github.com/gohugoio).
26 |
--------------------------------------------------------------------------------
/exampleSite/content/authors/hugo-authors/_index.md:
--------------------------------------------------------------------------------
1 | +++
2 | draft = false
3 | date = 2023-01-05T01:15:29+01:00
4 | title = "Authors of Hugo"
5 | +++
6 |
--------------------------------------------------------------------------------
/exampleSite/content/authors/hugo-authors/_index.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | draft = false
3 | date = 2023-01-05T01:15:52+01:00
4 | title = "Autores de Hugo"
5 | url = "autores/autores-de-hugo"
6 | +++
7 |
--------------------------------------------------------------------------------
/exampleSite/content/categories/syntax/_index.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | draft = false
3 | date = 2023-01-04T23:21:06+01:00
4 | title = "sintaxe"
5 | url = "categoria/sintaxe"
6 | +++
7 |
--------------------------------------------------------------------------------
/exampleSite/content/categories/themes/_index.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | draft = false
3 | date = 2023-01-04T23:21:18+01:00
4 | title = "temas"
5 | url = "categoria/temas"
6 | +++
7 |
--------------------------------------------------------------------------------
/exampleSite/content/contact.md:
--------------------------------------------------------------------------------
1 | +++
2 | title = "Contact"
3 | slug = "contact"
4 | +++
5 |
6 | Follow me, @johndoe.
--------------------------------------------------------------------------------
/exampleSite/content/contact.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | title = "Contato"
3 | slug = "contact"
4 | +++
5 |
6 | Me siga em @joaoninguem.
--------------------------------------------------------------------------------
/exampleSite/content/posts/emoji-support.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | title = "Emoji Support"
4 | date = "2023-07-07"
5 | description = "Guide to emoji usage in Hugo"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "emoji",
10 | ]
11 | categories = [
12 | "syntax",
13 | "theme demo",
14 | ]
15 | series = ["Theme Demo"]
16 | +++
17 |
18 | Emoji can be enabled in a Hugo project in a number of ways.
19 |
20 |
21 |
22 | The [`emojify`](https://gohugo.io/functions/emojify/) function can be called directly in templates or [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
23 |
24 | To enable emoji globally, set `enableEmoji` to `true` in your site's [configuration](https://gohugo.io/getting-started/configuration/) and then you can type emoji shorthand codes directly in content files; e.g.
25 |
26 | 🙈 :see_no_evil:
🙉 :hear_no_evil:
🙊 :speak_no_evil:
27 |
28 |
29 | The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes.
30 |
31 | ---
32 |
33 | **N.B.** The above steps enable Unicode Standard emoji characters and sequences in Hugo, however 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; e.g.
34 |
35 | {{< highlight html >}}
36 | .emoji {
37 | font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
38 | }
39 | {{< /highlight >}}
40 |
41 | {{< css.inline >}}
42 |
43 |
56 |
57 | {{< /css.inline >}}
58 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/emoji-support.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Programador Solitário"]
3 | title = "Suporte a Emojis"
4 | date = "2023-07-07"
5 | description = "Um guia de utilização de emojis com Hugo"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "emoji",
10 | ]
11 | categories = [
12 | "sintaxe",
13 | "demonstração do tema",
14 | ]
15 | series = ["Demonstração do Tema"]
16 | +++
17 |
18 | Emojis podem ser ativados em um projeto Hugo de diversar formas.
19 |
20 |
21 |
22 | A função [`emojify`](https://gohugo.io/functions/emojify/) pode ser chamada diretamente nos templates ou com [Inline Shortcodes](https://gohugo.io/templates/shortcode-templates/#inline-shortcodes).
23 |
24 | Para ativar os emojis globalmente, aplique `enableEmoji` com o valor `true` na [configuração](https://gohugo.io/getting-started/configuration/) do seu site e então você poderá adicionar códigos de emoji diretamente nos arquivos de conteúdo. Por exemplo:
25 |
26 | 🙈 :see_no_evil:
🙉 :hear_no_evil:
🙊 :speak_no_evil:
27 |
28 |
29 | O [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) é uma referência útil para identificar códigos de emojis.
30 |
31 | ---
32 |
33 | **Nota:** Os passos anteriores ativam os caractéres e sequências de emoji do Padrão Unicode no Hugo, porém a renderização desses glifos depende do navegador e plataforma utilizada. Para escolher o estilo dos emojis você pode tanto usar um font de emoji de terceiros ou uma lista de fontes. Por exemplo:
34 |
35 | {{< highlight html >}}
36 | .emoji {
37 | font-family: Apple Color Emoji, Segoe UI Emoji, NotoColorEmoji, Segoe UI Symbol, Android Emoji, EmojiSymbols;
38 | }
39 | {{< /highlight >}}
40 |
41 | {{< css.inline >}}
42 |
43 |
56 |
57 | {{< /css.inline >}}
58 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/external-post.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | date = "2023-07-06"
4 | title = "External Page: Hugo Coder Wiki"
5 | slug = "hugo-coder-wiki"
6 | tags = [
7 | "hugo"
8 | ]
9 | externalLink = "https://github.com/luizdepra/hugo-coder/wiki"
10 | +++
11 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/external-post.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Programador Solitário"]
3 | date = "2023-07-06"
4 | title = "Página Externa: Wiki Hugo Coder"
5 | slug = "hugo-coder-wiki"
6 | tags = [
7 | "hugo"
8 | ]
9 | externalLink = "https://github.com/luizdepra/hugo-coder/wiki"
10 | +++
11 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/html-and-css-only-tabs.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | title = "HTML and CSS only tabs"
4 | date = "2023-07-09"
5 | description = "Sample article showcasing shortcodes for HTML/CSS only tabs"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | "shortcodes",
12 | ]
13 | categories = [
14 | "theme demo",
15 | "syntax",
16 | ]
17 | series = ["Theme Demo"]
18 | aliases = ["migrate-from-jekyl"]
19 | +++
20 |
21 | ## Shortcodes
22 |
23 | The following content:
24 |
25 | ```markdown
26 | {{* tabgroup */>}}
27 | {{* tab name="Hello" */>}}
28 | Hello World!
29 | {{* /tab */>}}
30 |
31 | {{* tab name="Goodbye" */>}}
32 | Goodbye Everybody!
33 | {{* /tab */>}}
34 | {{* /tabgroup */>}}
35 | ```
36 |
37 | Will generate:
38 |
39 | {{< tabgroup >}}
40 | {{< tab name="Hello" >}}
41 | Hello World!
42 | {{< /tab >}}
43 |
44 | {{< tab name="Goodbye" >}}
45 | Goodbye Everybody!
46 | {{< /tab >}}
47 | {{< /tabgroup >}}
48 |
49 | ## Right alignment
50 |
51 | You can also align the tabs to the right:
52 |
53 | ```markdown
54 | {{* tabgroup align="right" */>}}
55 | {{* tab name="Hello" */>}}
56 | Hello World!
57 | {{* /tab */>}}
58 |
59 | {{* tab name="Goodbye" */>}}
60 | Goodbye Everybody!
61 | {{* /tab */>}}
62 | {{* /tabgroup */>}}
63 | ```
64 |
65 | Giving you this look:
66 |
67 | {{< tabgroup align="right" >}}
68 | {{< tab name="Hello" >}}
69 | Hello World!
70 | {{< /tab >}}
71 |
72 | {{< tab name="Goodbye" >}}
73 | Goodbye Everybody!
74 | {{< /tab >}}
75 | {{< /tabgroup >}}
76 |
77 | ## Markdown content
78 |
79 | Any valid markdown can be used inside the tab:
80 |
81 | ````markdown
82 | {{* tabgroup align="right" style="code" */>}}
83 | {{* tab name="Ruby" */>}}
84 |
85 | ```ruby
86 | puts 'Hello'
87 | ```
88 |
89 | {{* /tab */>}}
90 | {{* tab name="Python" */>}}
91 |
92 | ```python
93 | print('Hello')
94 | ```
95 |
96 | {{* /tab */>}}
97 | {{* tab name="JavaScript" */>}}
98 |
99 | ```js
100 | console.log("Hello");
101 | ```
102 |
103 | {{* /tab */>}}
104 | {{* /tabgroup */>}}
105 | ````
106 |
107 | And you get this lovely content:
108 |
109 | {{< tabgroup align="right" style="code" >}}
110 | {{< tab name="Ruby" >}}
111 |
112 | ```ruby
113 | puts 'Hello'
114 | ```
115 |
116 | {{< /tab >}}
117 | {{< tab name="Python" >}}
118 |
119 | ```python
120 | print('Hello')
121 | ```
122 |
123 | {{< /tab >}}
124 | {{< tab name="JavaScript" >}}
125 |
126 | ```js
127 | console.log("Hello");
128 | ```
129 |
130 | {{< /tab >}}
131 | {{< /tabgroup >}}
132 |
133 | In this case `style="code"` makes it look a little nicer for scenarios where
134 | your content is purely a code block.
135 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/html-and-css-only-tabs.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Programador Solitário"]
3 | title = "HTML and CSS only tabs"
4 | date = "2023-07-09"
5 | description = "Sample article showcasing shortcodes for HTML/CSS only tabs"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | "shortcodes",
12 | ]
13 | categories = [
14 | "sintaxe",
15 | "demonstração do tema",
16 | ]
17 | series = ["Demonstração do Tema"]
18 | aliases = ["migrate-from-jekyl"]
19 | +++
20 |
21 | ## Shortcodes
22 |
23 | O seguinte conteúdo:
24 |
25 | ```markdown
26 | {{* tabgroup */>}}
27 | {{* tab name="Hello" */>}}
28 | Hello World!
29 | {{* /tab */>}}
30 |
31 | {{* tab name="Goodbye" */>}}
32 | Goodbye Everybody!
33 | {{* /tab */>}}
34 | {{* /tabgroup */>}}
35 | ```
36 |
37 | Irá gerar:
38 |
39 | {{< tabgroup >}}
40 | {{< tab name="Hello" >}}
41 | Hello World!
42 | {{< /tab >}}
43 |
44 | {{< tab name="Goodbye" >}}
45 | Goodbye Everybody!
46 | {{< /tab >}}
47 | {{< /tabgroup >}}
48 |
49 | ## Alinhamento à direita
50 |
51 | Você também pode alinhas as tabs à direita:
52 |
53 | ```markdown
54 | {{* tabgroup align="right" */>}}
55 | {{* tab name="Hello" */>}}
56 | Hello World!
57 | {{* /tab */>}}
58 |
59 | {{* tab name="Goodbye" */>}}
60 | Goodbye Everybody!
61 | {{* /tab */>}}
62 | {{* /tabgroup */>}}
63 | ```
64 |
65 | Obtendo o seguinte resultado:
66 |
67 | {{< tabgroup align="right" >}}
68 | {{< tab name="Hello" >}}
69 | Hello World!
70 | {{< /tab >}}
71 |
72 | {{< tab name="Goodbye" >}}
73 | Goodbye Everybody!
74 | {{< /tab >}}
75 | {{< /tabgroup >}}
76 |
77 | ## Conteúdo Markdown
78 |
79 | Qualquer conteúdo Markdown válido pode ser usado dentro das tabs:
80 |
81 | ````markdown
82 | {{* tabgroup align="right" style="code" */>}}
83 | {{* tab name="Ruby" */>}}
84 |
85 | ```ruby
86 | puts 'Hello'
87 | ```
88 |
89 | {{* /tab */>}}
90 | {{* tab name="Python" */>}}
91 |
92 | ```python
93 | print('Hello')
94 | ```
95 |
96 | {{* /tab */>}}
97 | {{* tab name="JavaScript" */>}}
98 |
99 | ```js
100 | console.log("Hello");
101 | ```
102 |
103 | {{* /tab */>}}
104 | {{* /tabgroup */>}}
105 | ````
106 |
107 | Assim você obterá o seguinte resultado:
108 |
109 | {{< tabgroup align="right" style="code" >}}
110 | {{< tab name="Ruby" >}}
111 |
112 | ```ruby
113 | puts 'Hello'
114 | ```
115 |
116 | {{< /tab >}}
117 | {{< tab name="Python" >}}
118 |
119 | ```python
120 | print('Hello')
121 | ```
122 |
123 | {{< /tab >}}
124 | {{< tab name="JavaScript" >}}
125 |
126 | ```js
127 | console.log("Hello");
128 | ```
129 |
130 | {{< /tab >}}
131 | {{< /tabgroup >}}
132 |
133 | Nesse exemplo, `style="code"` faz com que o resultado seja mais agradável quando conteúdo é puramente blocos de código.
134 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/markdown-syntax.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | title = "Markdown Syntax Guide"
4 | date = "2023-07-13"
5 | description = "Sample article showcasing basic Markdown syntax and formatting for HTML elements."
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | ]
12 | categories = [
13 | "theme demo",
14 | "syntax",
15 | ]
16 | series = ["Theme Demo"]
17 | aliases = ["migrate-from-jekyl"]
18 | +++
19 |
20 | This article offers a sample of basic Markdown syntax that can be used in Hugo content files, also it shows whether basic HTML elements are decorated with CSS in a Hugo theme.
21 |
22 |
23 |
24 | ## Headings
25 |
26 | The following HTML ``—`` elements represent six levels of section headings. `` is the highest section level while `` is the lowest.
27 |
28 | # H1
29 |
30 | ## H2
31 |
32 | ### H3
33 |
34 | #### H4
35 |
36 | ##### H5
37 |
38 | ###### H6
39 |
40 | ## Paragraph
41 |
42 | Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat.
43 |
44 | Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat.
45 |
46 | ## Links
47 |
48 | This is a [internal link](/posts/emoji-support) to another page. [This one](https://www.gohugo.io) points to a external page nad will be open in a new tag.
49 |
50 | ## Blockquotes
51 |
52 | The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations.
53 |
54 | #### Blockquote without attribution
55 |
56 | > Tiam, ad mint andaepu dandae nostion secatur sequo quae.
57 | > **Note** that you can use _Markdown syntax_ within a blockquote.
58 |
59 | #### Blockquote with attribution
60 |
61 | > Don't communicate by sharing memory, share memory by communicating.
62 | > — Rob Pike[^1]
63 |
64 | ## Tables
65 |
66 | Tables aren't part of the core Markdown spec, but Hugo supports them out-of-the-box.
67 |
68 | | Name | Age |
69 | | ----- | --- |
70 | | Bob | 27 |
71 | | Alice | 23 |
72 |
73 | #### Inline Markdown within tables
74 |
75 | | Italics | Bold | Code |
76 | | --------- | -------- | ------ |
77 | | _italics_ | **bold** | `code` |
78 |
79 | ## Code Blocks
80 |
81 | #### Code block with backticks
82 |
83 | ```html
84 |
85 |
86 |
87 |
88 | Example HTML5 Document
89 |
90 |
91 | Test
92 |
93 |
94 | ```
95 |
96 | #### Code block indented with four spaces
97 |
98 |
99 |
100 |
101 |
102 | Example HTML5 Document
103 |
104 |
105 | Test
106 |
107 |
108 |
109 | #### Code block with Hugo's internal highlight shortcode
110 |
111 | {{< highlight html >}}
112 |
113 |
114 |
115 |
116 |
117 | Example HTML5 Document
118 |
119 |
120 | Test
121 |
122 |
123 | {{< /highlight >}}
124 |
125 | ## List Types
126 |
127 | #### Ordered List
128 |
129 | 1. First item
130 | 2. Second item
131 | 3. Third item
132 |
133 | #### Unordered List
134 |
135 | - List item
136 | - Another item
137 | - And another item
138 |
139 | #### Nested list
140 |
141 | - Fruit
142 | - Apple
143 | - Orange
144 | - Banana
145 | - Dairy
146 | - Milk
147 | - Cheese
148 |
149 | #### Foot Notes
150 |
151 | Check it[^2] at the end[^3] of this text[^4].
152 |
153 | ## Other Elements — abbr, sub, sup, kbd, mark
154 |
155 | GIF is a bitmap image format.
156 |
157 | H2 O
158 |
159 | Xn + Yn = Zn
160 |
161 | Press CTRL +ALT +Delete to end the session.
162 |
163 | Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures.
164 |
165 | [^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015.
166 | [^2]: A footnote.
167 | [^3]: Another one.
168 | [^4]: Cool, right?
169 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/math-typesetting.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | title = "Math Typesetting"
4 | date = "2023-07-10"
5 | description = "A brief guide to setup KaTeX"
6 | math = true
7 | tags = [
8 | "hugo",
9 | "markdown",
10 | "css",
11 | "html",
12 | ]
13 | categories = [
14 | "theme demo",
15 | "syntax",
16 | ]
17 | series = ["Theme Demo"]
18 | +++
19 |
20 | Mathematical notation in a Hugo project can be enabled by using third party JavaScript libraries.
21 |
22 |
23 |
24 | In this example we will be using [KaTeX](https://katex.org/)
25 |
26 | - Create a partial under `/layouts/partials/math.html`
27 | - Within this partial reference the [Auto-render Extension](https://katex.org/docs/autorender.html) or host these scripts locally.
28 | - Include the partial in your templates like so:
29 |
30 | ```bash
31 | {{ if or .Params.math .Site.Params.math }}
32 | {{ partial "math.html" . }}
33 | {{ end }}
34 | ```
35 |
36 | - To enable KaTeX globally set the parameter `math` to `true` in a project's configuration
37 | - To enable KaTeX on a per page basis include the parameter `math: true` in content files
38 |
39 | **Note:** Use the online reference of [Supported TeX Functions](https://katex.org/docs/supported.html)
40 |
41 | {{< math.inline >}}
42 | {{ if or .Page.Params.math .Site.Params.math }}
43 |
44 |
45 |
46 |
47 |
48 | {{ end }}
49 | {{ math.inline >}}
50 |
51 | ### Examples
52 |
53 | {{< math.inline >}}
54 |
55 |
56 | Inline math: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
57 |
58 | {{ math.inline >}}
59 |
60 | Block math:
61 |
62 | $$
63 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
64 | $$
65 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/math-typesetting.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Programador Solitário"]
3 | title = "Configuração de Equações Matemáticas"
4 | date = "2023-07-10"
5 | description = "Um guia rápido sobre utilizar KaTeX"
6 | math ="true"
7 | tags = [
8 | "hugo",
9 | "markdown",
10 | "css",
11 | "html",
12 | ]
13 | categories = [
14 | "sintaxe",
15 | "demonstração do tema",
16 | ]
17 | series = ["Demonstração do Tema"]
18 | +++
19 |
20 | Em um projeto Hugo as Notações Matemáticas podem ser usadas com a ajuda de bibliotecas JavaScript de terceiros.
21 |
22 |
23 |
24 | Nesse exemplo usaremos o [KaTeX](https://katex.org/).
25 |
26 | - Crie um partial template em `/layouts/partials/math.html`
27 | - Dentro, utilize o [Auto-render Extension](https://katex.org/docs/autorender.html) ou sirva os scripts localmente.
28 | - Inclua o partial nos seus templates da seguinte forma:
29 |
30 | ```bash
31 | {{ if or .Params.math .Site.Params.math }}
32 | {{ partial "math.html" . }}
33 | {{ end }}
34 | ```
35 |
36 | - Para ativar o KaTeX globalmente defina o parâmetro `math` como `true` na confgiuração do projeto
37 | - Para ativar o KaTeX em páginas específicas inclua o parâmetro `math: true` nos arquivos de conteúdo
38 |
39 | **Nota:** Use a referência online [Supported TeX Functions](https://katex.org/docs/supported.html) como base para criar notações matemáticas.
40 |
41 | {{< math.inline >}}
42 | {{ if or .Page.Params.math .Site.Params.math }}
43 |
44 |
45 |
46 |
47 |
48 | {{ end }}
49 | {{ math.inline >}}
50 |
51 | ### Examples
52 |
53 | {{< math.inline >}}
54 |
55 |
56 | Notação inline: \(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\)
57 |
58 | {{ math.inline >}}
59 |
60 | Notação em bloco:
61 |
62 | $$
63 | \varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
64 | $$
65 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/mermaid-support.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | date = "2023-07-08"
4 | title = "Mermaid JS support"
5 | description = "The post demonstrates Mermaid JS support"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | ]
12 | categories = [
13 | "theme demo",
14 | "syntax",
15 | ]
16 | series = ["Theme Demo"]
17 | +++
18 |
19 | If you want to use [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) on your website.
20 | Provide `mermaid` as [Shortcode](https://gohugo.io/content-management/shortcodes/#readout) in your markdown file.
21 |
22 | {{}}
23 | flowchart LR
24 |
25 | A --> B
26 |
27 | B --> C
28 |
29 | C --> D
30 |
31 | D --> B
32 |
33 | {{ }}
34 |
35 | {{}}
36 | sequenceDiagram
37 | participant Alice
38 | participant Bob
39 | Alice->>Bob: Hi Bob
40 | Bob->>Alice: Hi Alice
41 | {{ }}
42 |
43 | Find more example on [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) website.
44 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/mermaid-support.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | date = "2023-07-08"
4 | title = "Mermaid JS support"
5 | description = "The post demonstrates Mermaid JS support"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | ]
12 | categories = [
13 | "sintaxe",
14 | "demonstração do tema",
15 | ]
16 | series = ["Demonstração do Tema"]
17 | +++
18 |
19 | Se quiser usar o [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/) em sua página.
20 | Use o [shortcode](https://gohugo.io/content-management/shortcodes/#readout) `mermaid` em seus conteúdos Markdown.
21 |
22 | {{}}
23 | flowchart LR
24 |
25 | A --> B
26 |
27 | B --> C
28 |
29 | C --> D
30 |
31 | D --> B
32 |
33 | {{ }}
34 |
35 | {{}}
36 | sequenceDiagram
37 | participant Alice
38 | participant Bob
39 | Alice->>Bob: Hi Bob
40 | Bob->>Alice: Hi Alice
41 | {{ }}
42 |
43 | Entro mais exemplos na página do [Mermaid-JS](https://mermaid-js.github.io/mermaid/#/).
44 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/more-rich-content.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | title = "More Rich Content"
4 | date = "2023-07-11"
5 | description = "A brief description about Hugo Coder's Custom Shortcodes"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | "shortcodes",
12 | ]
13 | categories = [
14 | "theme demo",
15 | "syntax",
16 | ]
17 | series = ["Theme Demo"]
18 | +++
19 |
20 | Hugo Coder provides some Custom Shortcodes.
21 |
22 | ##
23 |
24 | ## Shortcodes Avisos
25 |
26 | {{< notice note >}}
27 | One note here.
28 | {{< /notice >}}
29 |
30 | {{< notice tip >}}
31 | I'm giving a tip about something.
32 | {{< /notice >}}
33 |
34 | {{< notice example >}}
35 | This is an example.
36 | {{< /notice >}}
37 |
38 | {{< notice question >}}
39 | Is this a question?
40 | {{< /notice >}}
41 |
42 | {{< notice info >}}
43 | Notice that this box contain information.
44 | {{< /notice >}}
45 |
46 | {{< notice warning >}}
47 | This is the last warning!
48 | {{< /notice >}}
49 |
50 | {{< notice error >}}
51 | There is an error in your code.
52 | {{< /notice >}}
53 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/more-rich-content.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Programador Solitário"]
3 | title = "Mais Conteúdo Rico"
4 | date = "2023-07-11"
5 | description = "Uma breve descrição sobre Shortcodes customizados do Hugo Coder"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | "shortcodes",
12 | ]
13 | categories = [
14 | "sintaxe",
15 | "demonstração do tema",
16 | ]
17 | series = ["Demonstração do Tema"]
18 | +++
19 |
20 | O Hugo Coder proporciona alguns Shortcodes Customizados.
21 |
22 | ##
23 |
24 | ## Shortcodes Avisos
25 |
26 | {{< notice note >}}
27 | Uma nota aqui.
28 | {{< /notice >}}
29 |
30 | {{< notice tip >}}
31 | Estou lhe dando uma dica.
32 | {{< /notice >}}
33 |
34 | {{< notice example >}}
35 | Isso é um exemplo.
36 | {{< /notice >}}
37 |
38 | {{< notice question >}}
39 | Isso é um pergunta?
40 | {{< /notice >}}
41 |
42 | {{< notice info >}}
43 | Note que essa caixa contém informações.
44 | {{< /notice >}}
45 |
46 | {{< notice warning >}}
47 | Este é o último aviso!
48 | {{< /notice >}}
49 |
50 | {{< notice error >}}
51 | Há um erro no seu código.
52 | {{< /notice >}}
53 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/placeholder-text.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | title = "Placeholder Text"
4 | date = "2023-07-05"
5 | description = "Lorem Ipsum Dolor Si Amet"
6 | tags = [
7 | "markdown",
8 | "text",
9 | ]
10 | +++
11 |
12 | Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
13 |
14 | 1. Exierant elisi ambit vivere dedere
15 | 2. Duce pollice
16 | 3. Eris modo
17 | 4. Spargitque ferrea quos palude
18 |
19 | Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.
20 |
21 | 1. Comas hunc haec pietate fetum procerum dixit
22 | 2. Post torum vates letum Tiresia
23 | 3. Flumen querellas
24 | 4. Arcanaque montibus omnes
25 | 5. Quidem et
26 |
27 | # Vagus elidunt
28 |
29 |
30 |
31 | [The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
32 |
33 | ## Mane refeci capiebant unda mulcebat
34 |
35 | Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
36 |
37 | Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.
38 |
39 | Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**.
40 |
41 | {{< css.inline >}}
42 |
43 |
46 |
47 | {{< /css.inline >}}
48 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/placeholder-text.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Programador Solitário"]
3 | title = "Texto de Exemplo"
4 | date = "2023-07-05"
5 | description = "Lorem Ipsum Dolor Si Amet"
6 | tags = [
7 | "markdown",
8 | "text",
9 | ]
10 | +++
11 |
12 | Lorem est tota propiore conpellat pectoribus de pectora summo. Redit teque digerit hominumque toris verebor lumina non cervice subde tollit usus habet Arctonque, furores quas nec ferunt. Quoque montibus nunc caluere tempus inhospita parcite confusaque translucet patri vestro qui optatis lumine cognoscere flos nubis! Fronde ipsamque patulos Dryopen deorum.
13 |
14 | 1. Exierant elisi ambit vivere dedere
15 | 2. Duce pollice
16 | 3. Eris modo
17 | 4. Spargitque ferrea quos palude
18 |
19 | Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silentia flumen, sustinet placuit petis in dilapsa erat sunt. Atria tractus malis.
20 |
21 | 1. Comas hunc haec pietate fetum procerum dixit
22 | 2. Post torum vates letum Tiresia
23 | 3. Flumen querellas
24 | 4. Arcanaque montibus omnes
25 | 5. Quidem et
26 |
27 | # Vagus elidunt
28 |
29 |
30 |
31 | [The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
32 |
33 | ## Mane refeci capiebant unda mulcebat
34 |
35 | Victa caducifer, malo vulnere contra dicere aurato, ludit regale, voca! Retorsit colit est profanae esse virescere furit nec; iaculi matertera et visa est, viribus. Divesque creatis, tecta novat collumque vulnus est, parvas. **Faces illo pepulere** tempus adest. Tendit flamma, ab opes virum sustinet, sidus sequendo urbis.
36 |
37 | Iubar proles corpore raptos vero auctor imperium; sed et huic: manus caeli Lelegas tu lux. Verbis obstitit intus oblectamina fixis linguisque ausus sperare Echionides cornuaque tenent clausit possit. Omnia putatur. Praeteritae refert ausus; ferebant e primus lora nutat, vici quae mea ipse. Et iter nil spectatae vulnus haerentia iuste et exercebat, sui et.
38 |
39 | Eurytus Hector, materna ipsumque ut Politen, nec, nate, ignari, vernum cohaesit sequitur. Vel **mitis temploque** vocatus, inque alis, _oculos nomen_ non silvis corpore coniunx ne displicet illa. Crescunt non unus, vidit visa quantum inmiti flumina mortis facto sic: undique a alios vincula sunt iactata abdita! Suspenderat ego fuit tendit: luna, ante urbem Propoetides **parte**.
40 |
41 | {{< css.inline >}}
42 |
43 |
46 |
47 | {{< /css.inline >}}
48 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/rich-content.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Lone Coder"]
3 | title = "Rich Content"
4 | date = "2023-07-12"
5 | description = "A brief description of Hugo Shortcodes"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | "shortcodes",
12 | ]
13 | categories = [
14 | "theme demo",
15 | "syntax",
16 | ]
17 | series = ["Theme Demo"]
18 | +++
19 |
20 | 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.
21 |
22 | ##
23 |
24 | ## YouTube Privacy Enhanced Shortcode
25 |
26 | {{< youtube ZJthWmvUzzc >}}
27 |
28 |
29 |
30 | ---
31 |
32 | ## Twitter Shortcode
33 |
34 | {{< tweet user="SanDiegoZoo" id="1453110110599868418" >}}
35 |
36 |
37 |
38 | ---
39 |
40 | ## Vimeo Simple Shortcode
41 |
42 | {{< vimeo_simple 48912912 >}}
43 |
--------------------------------------------------------------------------------
/exampleSite/content/posts/rich-content.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | authors = ["Programador Solitário"]
3 | title = "Conteúdo Rico"
4 | date = "2023-07-12"
5 | description = "Uma breve descrição sobre Shortcodes do Hugo"
6 | tags = [
7 | "hugo",
8 | "markdown",
9 | "css",
10 | "html",
11 | "shortcodes",
12 | ]
13 | categories = [
14 | "sintaxe",
15 | "demonstração do tema",
16 | ]
17 | series = ["Demonstração do Tema"]
18 | +++
19 |
20 | O Hugo vem com vários [Shortcodes Internos](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) para conteúdo rico, assim como uma [Configuração de Privacidade](https://gohugo.io/about/hugo-and-gdpr/) e uma gama de Shortcodes simples que permitem embutir versões estáticas e sem JS de várias de redes sociais.
21 |
22 | ##
23 |
24 | ## Shortcode do YouTube com privacidade melhorada
25 |
26 | {{< youtube ZJthWmvUzzc >}}
27 |
28 |
29 |
30 | ---
31 |
32 | ## Shortcode do Twitter
33 |
34 | {{< tweet user="SanDiegoZoo" id="1453110110599868418" >}}
35 |
36 |
37 |
38 | ---
39 |
40 | ## Shortcode simples do Vimeo
41 |
42 | {{< vimeo_simple 48912912 >}}
43 |
--------------------------------------------------------------------------------
/exampleSite/content/projects.md:
--------------------------------------------------------------------------------
1 | +++
2 | title = "Projects"
3 | slug = "projects"
4 | +++
5 |
6 | Nothing to see here... Move along!
--------------------------------------------------------------------------------
/exampleSite/content/projects.pt-br.md:
--------------------------------------------------------------------------------
1 | +++
2 | title = "Projetos"
3 | slug = "projects"
4 | +++
5 |
6 | Nada para ver aqui.. Circulando!
7 |
--------------------------------------------------------------------------------
/exampleSite/content/tags/shortcodes/_index.pt-br.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Códigos curtos"
3 | date: 2023-01-04T11:51:36+01:00
4 | draft: false
5 | ---
6 |
--------------------------------------------------------------------------------
/exampleSite/layouts/.gitkeep:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/exampleSite/layouts/.gitkeep
--------------------------------------------------------------------------------
/exampleSite/resources/_gen/assets/scss/scss/coder-dark.scss_9e20ccd2d8034c8e0fd83b11fb6e2bd5.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/coder-dark.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/exampleSite/resources/_gen/assets/scss/scss/coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/coder.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/exampleSite/static/images/N90.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/exampleSite/static/images/N90.jpg
--------------------------------------------------------------------------------
/exampleSite/static/images/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/exampleSite/static/images/apple-touch-icon.png
--------------------------------------------------------------------------------
/exampleSite/static/images/avatar.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/exampleSite/static/images/avatar.jpg
--------------------------------------------------------------------------------
/exampleSite/static/images/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/exampleSite/static/images/favicon-16x16.png
--------------------------------------------------------------------------------
/exampleSite/static/images/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/exampleSite/static/images/favicon-32x32.png
--------------------------------------------------------------------------------
/exampleSite/static/images/favicon.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/go.mod:
--------------------------------------------------------------------------------
1 | module github.com/luizdepra/hugo-coder
2 |
3 | go 1.16
4 |
--------------------------------------------------------------------------------
/hugo.toml:
--------------------------------------------------------------------------------
1 | baseURL = "https://example.com/"
2 |
3 | [module]
4 | [module.hugoVersion]
5 | min = "0.124.0"
6 |
--------------------------------------------------------------------------------
/i18n/ar.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "فئة"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "وَسم"
7 | other = "tags"
8 |
9 | [series]
10 | one = "سلسلة"
11 | other = "series"
12 |
13 | [authors]
14 | one = "الكاتب"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "المنشورات"
19 |
20 | [reading_time]
21 | other = "تستغرق {{ .Count }} د"
22 |
23 | [page_not_found]
24 | other = "الصفحة غير موجودة"
25 |
26 | [page_does_not_exist]
27 | other = "هذه الصفحة غير موجودة"
28 |
29 | [head_back]
30 | other = "بإمكانك العودة إلى homepage ."
31 |
32 | [licensed_under]
33 | other = "Licensed under"
34 |
35 | [powered_by]
36 | other = "بواسطة"
37 |
38 | [see_also]
39 | other = "انظر أيضاً"
40 |
41 | [note]
42 | other = "note"
43 |
44 | [tip]
45 | other = "tip"
46 |
47 | [example]
48 | other = "example"
49 |
50 | [question]
51 | other = "question"
52 |
53 | [info]
54 | other = "info"
55 |
56 | [warning]
57 | other = "warning"
58 |
59 | [error]
60 | other = "error"
61 |
62 | [link_to_heading]
63 | other = "Link to heading"
64 |
--------------------------------------------------------------------------------
/i18n/bn.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "বিভাগ"
3 | other = "বিভাগসমূহ"
4 |
5 | [tags]
6 | one = "ট্যাগ"
7 | other = "ট্যাগসমূহ"
8 |
9 | [series]
10 | one = "সিরিজ"
11 | other = "সিরিজ"
12 |
13 | [authors]
14 | one = "লেখক"
15 | other = "লেখকসমূহ"
16 |
17 | [posts]
18 | other = "সব পোস্ট"
19 |
20 | [reading_time]
21 | one = "পড়তে এক মিনিট লাগবে"
22 | other = "পড়তে {{ .Count }} মিনিট লাগবে"
23 |
24 | [page_not_found]
25 | other = "পাতাটি পাওয়া যায় নি"
26 |
27 | [page_does_not_exist]
28 | other = "দুঃখিত, কাঙ্ক্ষিত পাতাটির অস্তিত্ব নেই"
29 |
30 | [head_back]
31 | other = "আপনি নীড়পাতায় ফিরে যেতে পারেন"
32 |
33 | [licensed_under]
34 | other = "লাইসেন্স:"
35 |
36 | [powered_by]
37 | other = "চালনা:"
38 |
39 | [see_also]
40 | other = "আরও দেখুন"
41 |
42 | [note]
43 | other = "নোট"
44 |
45 | [tip]
46 | other = "টিপ"
47 |
48 | [example]
49 | other = "উদাহরণ"
50 |
51 | [question]
52 | other = "প্রশ্ন"
53 |
54 | [info]
55 | other = "তথ্য"
56 |
57 | [warning]
58 | other = "নির্দেশ"
59 |
60 | [error]
61 | other = "ত্রুটি"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/ca.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "categoria"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "etiqueta"
7 | other = "etiquetes"
8 |
9 | [series]
10 | one = "sèrie"
11 | other = "sèrie"
12 |
13 | [authors]
14 | one= "autor"
15 | other = "autors"
16 |
17 | [posts]
18 | other = "entrades"
19 |
20 | [reading_time]
21 | one = "Lectura d'un minut"
22 | other = "Lectura de {{ .Count }} minuts"
23 |
24 | [page_not_found]
25 | other = "Pàgina no trobada"
26 |
27 | [page_does_not_exist]
28 | other = "Ho sentim, aquesta pàgina no existeix."
29 |
30 | [head_back]
31 | other = "Podeu tornar a la pàgina d'inici ."
32 |
33 | [licensed_under]
34 | other = "Sota llicència de"
35 |
36 | [powered_by]
37 | other = "Fet anar per"
38 |
39 | [see_also]
40 | other = "Veure també a"
41 |
42 | [note]
43 | other = "nota"
44 |
45 | [tip]
46 | other = "propina"
47 |
48 | [example]
49 | other = "exemple"
50 |
51 | [question]
52 | other = "pregunta"
53 |
54 | [info]
55 | other = "informació"
56 |
57 | [warning]
58 | other = "avís"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Enllaç a l'encapçalament"
65 |
66 |
--------------------------------------------------------------------------------
/i18n/cs.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategorie"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "tag"
7 | other = "tags"
8 |
9 | [series]
10 | one = "série"
11 | other = "series"
12 |
13 | [authors]
14 | one = "author"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "posts"
19 |
20 | [reading_time]
21 | other = "Délka čtení: {{ .Count }}"
22 |
23 | [page_not_found]
24 | other = "Stránka nenalezena"
25 |
26 | [page_does_not_exist]
27 | other = "Omlouváme se, stránka nebyla nalezena."
28 |
29 | [head_back]
30 | other = "Můžete se vrátit na homepage ."
31 |
32 | [licensed_under]
33 | other = "Licensed under"
34 |
35 | [powered_by]
36 | other = "Stránka používá"
37 |
38 | [see_also]
39 | other = "Podívejte se také na"
40 |
41 | [note]
42 | other = "note"
43 |
44 | [tip]
45 | other = "tip"
46 |
47 | [example]
48 | other = "example"
49 |
50 | [question]
51 | other = "question"
52 |
53 | [info]
54 | other = "info"
55 |
56 | [warning]
57 | other = "warning"
58 |
59 | [error]
60 | other = "error"
61 |
62 | [link_to_heading]
63 | other = "Link to heading"
64 |
--------------------------------------------------------------------------------
/i18n/de.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "Kategorie"
3 | other = "Kategorien"
4 |
5 | [tags]
6 | one = "Tag"
7 | other = "Tags"
8 |
9 | [series]
10 | one = "Serie"
11 | other = "Serien"
12 |
13 | [authors]
14 | one = "Autor"
15 | other = "Autoren"
16 |
17 | [posts]
18 | other = "Beiträge"
19 |
20 | [reading_time]
21 | one = "Eine Minute Lesezeit"
22 | other = "{{ .Count }} Minuten Lesezeit"
23 |
24 | [page_not_found]
25 | other = "Seite nicht gefunden"
26 |
27 | [page_does_not_exist]
28 | other = "Tut mir leid, die Seite existiert leider nicht."
29 |
30 | [head_back]
31 | other = "Du kannst hier zurück zur Startseite ."
32 |
33 | [licensed_under]
34 | other = "Lizenziert unter"
35 |
36 | [powered_by]
37 | other = "Gestaltet mit"
38 |
39 | [see_also]
40 | other = "Siehe auch in"
41 |
42 | [note]
43 | other = "Bemerkung"
44 |
45 | [tip]
46 | other = "Tipp"
47 |
48 | [example]
49 | other = "Beispiel"
50 |
51 | [question]
52 | other = "Frage"
53 |
54 | [info]
55 | other = "Info"
56 |
57 | [warning]
58 | other = "Warnung"
59 |
60 | [error]
61 | other = "Fehler"
62 |
63 | [link_to_heading]
64 | other = "Link zu Überschrift"
65 |
--------------------------------------------------------------------------------
/i18n/en.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "category"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "tag"
7 | other = "tags"
8 |
9 | [series]
10 | one = "series"
11 | other = "series"
12 |
13 | [authors]
14 | one = "author"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "posts"
19 |
20 | [reading_time]
21 | one = "One-minute read"
22 | other = "{{ .Count }}-minute read"
23 |
24 | [page_not_found]
25 | other = "Page Not Found"
26 |
27 | [page_does_not_exist]
28 | other = "Sorry, this page does not exist."
29 |
30 | [head_back]
31 | other = "You can head back to the homepage ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Powered by"
38 |
39 | [see_also]
40 | other = "See also in"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/es.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "categoría"
3 | other = "categorías"
4 |
5 | [tags]
6 | one = "etiqueta"
7 | other = "etiquetas"
8 |
9 | [series]
10 | one = "serie"
11 | other = "series"
12 |
13 | [authors]
14 | one = "autor"
15 | other = "autores"
16 |
17 | [posts]
18 | other = "publicaciones"
19 |
20 | [reading_time]
21 | one = "Un minuto de lectura"
22 | other = "{{ .Count }} minutos de lectura."
23 |
24 | [page_not_found]
25 | other = "Página no encontrada."
26 |
27 | [page_does_not_exist]
28 | other = "Disculpa, la página no existe."
29 |
30 | [head_back]
31 | other = "Puedes regresar a la página inicial ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Desarrollado por"
38 |
39 | [see_also]
40 | other = "También ver en"
41 |
42 | [note]
43 | other = "nota"
44 |
45 | [tip]
46 | other = "consejo"
47 |
48 | [example]
49 | other = "ejemplo"
50 |
51 | [question]
52 | other = "pregunta"
53 |
54 | [info]
55 | other = "información"
56 |
57 | [warning]
58 | other = "advertencia"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/fi.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategoria"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "merkki"
7 | other = "tags"
8 |
9 | [series]
10 | one = "sarja"
11 | other = "series"
12 |
13 | [authors]
14 | one = "Kirjoittaja"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "Artikkelit"
19 |
20 | [reading_time]
21 | one = "Yksi lukuminuutti"
22 | other = "{{ .Count }} lukuminuuttia"
23 |
24 | [page_not_found]
25 | other = "Sivua ei löydetty"
26 |
27 | [page_does_not_exist]
28 | other = "Valitettavasti tätä sivua ei ole olemassa."
29 |
30 | [head_back]
31 | other = "Voit palata takaisin kotisivulle ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Tarjoaa"
38 |
39 | [see_also]
40 | other = "Katso myös"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/fr.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "catégorie"
3 | other = "catégories"
4 |
5 | [tags]
6 | one = "tag"
7 | other = "tags"
8 |
9 | [series]
10 | one = "série"
11 | other = "séries"
12 |
13 | [authors]
14 | one = "auteur"
15 | other = "auteurs"
16 |
17 | [posts]
18 | other = "articles"
19 |
20 | [reading_time]
21 | one = "Une minute de lecture"
22 | other = "{{ .Count }} minutes de lecture"
23 |
24 | [page_not_found]
25 | other = "Page Non Trouvée"
26 |
27 | [page_does_not_exist]
28 | other = "Désolé, cette page n'existe pas."
29 |
30 | [head_back]
31 | other = "Vous pouvez revenir à l'accueil ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Propulsé par"
38 |
39 | [see_also]
40 | other = "Voir aussi dans"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/he.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "קטגוריה"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "תגית"
7 | other = "tags"
8 |
9 | [series]
10 | one = "סדרה"
11 | other = "series"
12 |
13 | [authors]
14 | one = "סופר"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "פוסטים"
19 |
20 | [reading_time]
21 | one = "דקה אחת לקרוא"
22 | other = "דקות לקרוא {{ .Count }}"
23 |
24 | [page_not_found]
25 | other = "דף האינטרנט שביקשת לא נמצא"
26 |
27 | [page_does_not_exist]
28 | other = "מצטערים, דף אינטרנט זה אינו קיים"
29 |
30 | [head_back]
31 | other = " אתה יכול לחזורלדף הבית ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "מופעל על ידי"
38 |
39 | [see_also]
40 | other = "רואה עוד ב"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/hi.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "श्रेणी"
3 | other = "श्रेणियाँ"
4 |
5 | [tags]
6 | one = "टैग"
7 | other = "टैग्स"
8 |
9 | [series]
10 | one = "श्रृंखला"
11 | other = "श्रृंखलाएँ"
12 |
13 | [authors]
14 | one = "लेखक"
15 | other = "लेखक"
16 |
17 | [posts]
18 | other = "सामग्री"
19 |
20 | [reading_time]
21 | one = "पढ़ने में एक मिनट लगेगा"
22 | other = "पढ़ने में {{ .Count }} मिनट लगेंगे"
23 |
24 | [page_not_found]
25 | other = "पृष्ठ नहीं मिला"
26 |
27 | [page_does_not_exist]
28 | other = "क्षमा करें, यह पृष्ठ मौजूद नहीं है।"
29 |
30 | [head_back]
31 | other = "आप मुखपृष्ठ पर वापस आ सकते हैं।"
32 |
33 | [licensed_under]
34 | other = "लाइसेंस:"
35 |
36 | [powered_by]
37 | other = "संचालन:"
38 |
39 | [see_also]
40 | other = "यह भी देखें"
41 |
42 | [note]
43 | other = "नोट"
44 |
45 | [tip]
46 | other = "टिप्पणी"
47 |
48 | [example]
49 | other = "उदाहरण"
50 |
51 | [question]
52 | other = "प्रश्न"
53 |
54 | [info]
55 | other = "जानकारी"
56 |
57 | [warning]
58 | other = "चेतावनी"
59 |
60 | [error]
61 | other = "त्रुटि"
62 |
63 |
64 | [link_to_heading]
65 | other = "हैडिंग की कड़ी"
66 |
--------------------------------------------------------------------------------
/i18n/hu.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "Kategória"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "Címke"
7 | other = "tags"
8 |
9 | [series]
10 | one = "Sorozat"
11 | other = "series"
12 |
13 | [authors]
14 | one = "Szerző"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "Írások"
19 |
20 | [reading_time]
21 | one = "Egyperces"
22 | other = "{{ .Count }} percnyi olvasnivaló"
23 |
24 | [page_not_found]
25 | other = "Az oldal nem található"
26 |
27 | [page_does_not_exist]
28 | other = "Sajnálom, a kért oldal nem létezik."
29 |
30 | [head_back]
31 | other = "Itt visszaléphet a Főoldalra ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Motor:"
38 |
39 | [see_also]
40 | other = "Lásd még"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/id.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategori"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "label"
7 | other = "tags"
8 |
9 | [series]
10 | one = "seri"
11 | other = "series"
12 |
13 | [authors]
14 | one = "penulis"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "artikel"
19 |
20 | [reading_time]
21 | one = "bacaan satu menit"
22 | other = "bacaan {{ .Count }} menit"
23 |
24 | [page_not_found]
25 | other = "Halaman tidak ditemukan"
26 |
27 | [page_does_not_exist]
28 | other = "Maaf, halaman ini tidak ada."
29 |
30 | [head_back]
31 | other = "Anda dapat kembali ke beranda ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Dipersembahkan oleh"
38 |
39 | [see_also]
40 | other = "artikel terkait"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/it.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "categoria"
3 | other = "categorie"
4 |
5 | [tags]
6 | one = "tag"
7 | other = "tags"
8 |
9 | [series]
10 | one = "serie"
11 | other = "serie"
12 |
13 | [authors]
14 | one = "autore"
15 | other = "autori"
16 |
17 | [posts]
18 | other = "post"
19 |
20 | [reading_time]
21 | one = "Lettura di un minuto"
22 | other = "{{ .Count }} minuti di lettura"
23 |
24 | [page_not_found]
25 | other = "Pagina non trovata"
26 |
27 | [page_does_not_exist]
28 | other = "Siamo spiacenti, questa pagina non esiste."
29 |
30 | [head_back]
31 | other = "Torna alla homepage ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Generato da"
38 |
39 | [see_also]
40 | other = "Vedi anche in"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/ja.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "カテゴリー"
3 | other = "カテゴリー"
4 |
5 | [tags]
6 | one = "タグ"
7 | other = "タグ"
8 |
9 | [series]
10 | one = "シリーズ"
11 | other = "シリーズ"
12 |
13 | [authors]
14 | one = "著者"
15 | other = "著者"
16 |
17 | [posts]
18 | other = "記事"
19 |
20 | [reading_time]
21 | one = "1分で読めます"
22 | other = "{{ .Count }}分で読めます"
23 |
24 | [page_not_found]
25 | other = "ページが見つかりません"
26 |
27 | [page_does_not_exist]
28 | other = "申し訳ございません。アクセスしようとしたページが見つかりませんでした。"
29 |
30 | [head_back]
31 | other = "トップページ からお探しいただきますようお願い申し上げます。"
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Powered by"
38 |
39 | [see_also]
40 | other = "関連記事:"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "見出しへのリンク"
65 |
--------------------------------------------------------------------------------
/i18n/ko.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "카테고리"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "태그"
7 | other = "tags"
8 |
9 | [series]
10 | one = "시리즈"
11 | other = "series"
12 |
13 | [authors]
14 | one = "저자"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "포스트"
19 |
20 | [reading_time]
21 | one = "읽는데 1분"
22 | other = "읽는데 {{ .Count }}분"
23 |
24 | [page_not_found]
25 | other = "페이지를 찾을 수 없습니다."
26 |
27 | [page_does_not_exist]
28 | other = "해당 페이지가 존재하지 않습니다."
29 |
30 | [head_back]
31 | other = "홈페이지 로 돌아가기"
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Powered by"
38 |
39 | [see_also]
40 | other = "관련 글:"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/ms.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategori"
3 | other = "kategori"
4 |
5 | [tags]
6 | one = "teg"
7 | other = "teg"
8 |
9 | [series]
10 | one = "siri"
11 | other = "siri"
12 |
13 | [author]
14 | other = "penulis"
15 |
16 | [authors]
17 | one = "penulis"
18 | other = "penulis"
19 |
20 | [posts]
21 | other = "artikel"
22 |
23 | [reading_time]
24 | one = "Bacaan 1 minit"
25 | other = "Bacaan {{ .Count }} minit"
26 |
27 | [page_not_found]
28 | other = "Halaman Tidak Dijumpai"
29 |
30 | [page_does_not_exist]
31 | other = "Maaf, halaman ini tidak wujud."
32 |
33 | [head_back]
34 | other = "Kembali ke halaman utama ."
35 |
36 | [licensed_under]
37 | other = "Licensed under"
38 |
39 | [powered_by]
40 | other = "Dikuasakan oleh"
41 |
42 | [see_also]
43 | other = "Lihat juga"
44 |
45 | [note]
46 | other = "nota"
47 |
48 | [tip]
49 | other = "tip"
50 |
51 | [example]
52 | other = "contoh"
53 |
54 | [question]
55 | other = "soalan"
56 |
57 | [info]
58 | other = "maklumat"
59 |
60 | [warning]
61 | other = "amaran"
62 |
63 | [error]
64 | other = "ralat"
65 |
66 | [link_to_heading]
67 | other = "Link to heading"
68 |
--------------------------------------------------------------------------------
/i18n/nl.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "categorie"
3 | other = "categorieën"
4 |
5 | [tags]
6 | one = "label"
7 | other = "labels"
8 |
9 | [series]
10 | one = "serie"
11 | other = "series"
12 |
13 | [authors]
14 | one = "auteur"
15 | other = "auteurs"
16 |
17 | [posts]
18 | other = "berichten"
19 |
20 | [reading_time]
21 | one = "Eén minuut leestijd"
22 | other = "{{ .Count }} minuten leestijd"
23 |
24 | [page_not_found]
25 | other = "Pagina niet gevonden"
26 |
27 | [page_does_not_exist]
28 | other = "Sorry, deze pagina bestaat niet."
29 |
30 | [head_back]
31 | other = "U kunt terugkeren naar de thuispagina ."
32 |
33 | [licensed_under]
34 | other = "Valt onder"
35 |
36 | [powered_by]
37 | other = "Aangedreven door"
38 |
39 | [see_also]
40 | other = "Zie ook in"
41 |
42 | [note]
43 | other = "notitie"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "voorbeeld"
50 |
51 | [question]
52 | other = "vraag"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "waarschuwing"
59 |
60 | [error]
61 | other = "fout"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/np.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "वर्ग"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "ट्याग"
7 | other = "tags"
8 |
9 | [series]
10 | one = "श्रृंखला"
11 | other = "series"
12 |
13 | [authors]
14 | one = "लेखक"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "सामग्री"
19 |
20 | [reading_time]
21 | one = "एक मिनेट पढाई"
22 | other = "{{ .Count }} मिनेट पढाई"
23 |
24 | [page_not_found]
25 | other = "पृष्ठ भेटिएन।"
26 |
27 | [page_does_not_exist]
28 | other = "माफ गर्नुहोस, यो पृष्ठ उपलब्ध छैन।"
29 |
30 | [head_back]
31 | other = "मुख्यपृष्ठमा फर्किन सक्नुहुन्छ।मुख्यपृष्ठ ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "द्वारा संचालित"
38 |
39 | [see_also]
40 | other = "यो पनि हेर्नुहोस।"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/oc.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "categoria"
3 | other = "categorias"
4 |
5 | [tags]
6 | one = "etiqueta"
7 | other = "etiquetas"
8 |
9 | [series]
10 | one = "serias"
11 | other = "serias"
12 |
13 | [authors]
14 | one = "autor"
15 | other = "autors"
16 |
17 | [posts]
18 | other = "publicacions"
19 |
20 | [reading_time]
21 | one = "Una minuta de lector"
22 | other = "{{ .Count }} minutas de lectura"
23 |
24 | [page_not_found]
25 | other = "Pagina pas trobada"
26 |
27 | [page_does_not_exist]
28 | other = "O planhèm, aquesta pagina existís pas."
29 |
30 | [head_back]
31 | other = "Podètz tornar a l'acuèlh ."
32 |
33 | [licensed_under]
34 | other = "Licéncia jos"
35 |
36 | [powered_by]
37 | other = "Propulsat per"
38 |
39 | [see_also]
40 | other = "Vejatz tanben"
41 |
42 | [note]
43 | other = "nòta"
44 |
45 | [tip]
46 | other = "astúcia"
47 |
48 | [example]
49 | other = "exemple"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "avertiment"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Ligam a l'entèsta"
65 |
--------------------------------------------------------------------------------
/i18n/pl.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategoria"
3 | other = "kategorie"
4 |
5 | [tags]
6 | one = "tag"
7 | other = "tagi"
8 |
9 | [series]
10 | one = "seria"
11 | other = "seria"
12 |
13 | [authors]
14 | one = "autor(ka)"
15 | other = "autorzy"
16 |
17 | [posts]
18 | other = "posty"
19 |
20 | [reading_time]
21 | one = "1 min czytania"
22 | other = "{{ .Count }} min czytania"
23 |
24 | [page_not_found]
25 | other = "Nie znaleziono strony"
26 |
27 | [page_does_not_exist]
28 | other = "Wybacz, ta strona nie istnieje."
29 |
30 | [head_back]
31 | other = "Możesz wrócić na stronę domową ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Napędzane przez"
38 |
39 | [see_also]
40 | other = "Zobacz również"
41 |
42 | [note]
43 | other = "notka"
44 |
45 | [tip]
46 | other = "wskazówka"
47 |
48 | [example]
49 | other = "przykład"
50 |
51 | [question]
52 | other = "pytanie"
53 |
54 | [info]
55 | other = "informacja"
56 |
57 | [warning]
58 | other = "ostrzeżenie"
59 |
60 | [error]
61 | other = "błąd"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/pt-br.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "categoria"
3 | other = "categorias"
4 |
5 | [tags]
6 | one = "etiqueta"
7 | other = "etiquetas"
8 |
9 | [series]
10 | one = "séries"
11 | other = "séries"
12 |
13 | [authors]
14 | one = "autor"
15 | other = "autores"
16 |
17 | [posts]
18 | other = "artigos"
19 |
20 | [reading_time]
21 | one = "Um minuto de leitura"
22 | other = "{{ .Count }} minutos de leitura"
23 |
24 | [page_not_found]
25 | other = "Página Não Encontrada"
26 |
27 | [page_does_not_exist]
28 | other = "Desculpe, essa página não existe."
29 |
30 | [head_back]
31 | other = "Você pode voltar para a página inicial ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Promovido por"
38 |
39 | [see_also]
40 | other = "Veja também em"
41 |
42 | [note]
43 | other = "nota"
44 |
45 | [tip]
46 | other = "dica"
47 |
48 | [example]
49 | other = "exemplo"
50 |
51 | [question]
52 | other = "pergunta"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "aviso"
59 |
60 | [error]
61 | other = "erro"
62 |
63 | [link_to_heading]
64 | other = "Link para o cabeçalho"
65 |
--------------------------------------------------------------------------------
/i18n/ro.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "categorie"
3 | other = "categorii"
4 |
5 | [tags]
6 | one = "etichetă"
7 | other = "etichete"
8 |
9 | [series]
10 | one = "serie"
11 | other = "serie"
12 |
13 | [authors]
14 | one = "autor"
15 | other = "autori"
16 |
17 | [posts]
18 | other = "articole"
19 |
20 | [reading_time]
21 | one = "Un minut de lectură"
22 | other = "{{ .Count }} {{ if lt .Count 20 }}minute{{ else }}de minute{{ end }} de lectură"
23 |
24 | [page_not_found]
25 | other = "Pagină Pierdută"
26 |
27 | [page_does_not_exist]
28 | other = "Ne pare rău, această pagină nu există."
29 |
30 | [head_back]
31 | other = "Poți să te întorci la pagina principală ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Susținut de"
38 |
39 | [see_also]
40 | other = "Altele din seria"
41 |
42 | [note]
43 | other = "notă"
44 |
45 | [tip]
46 | other = "sfat"
47 |
48 | [example]
49 | other = "exemplu"
50 |
51 | [question]
52 | other = "întrebare"
53 |
54 | [info]
55 | other = "informație"
56 |
57 | [warning]
58 | other = "avertisment"
59 |
60 | [error]
61 | other = "eroare"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/ru.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "категория"
3 | other = "категории"
4 |
5 | [tags]
6 | one = "тэг"
7 | other = "тэги"
8 |
9 | [series]
10 | one = "серия"
11 | other = "серии"
12 |
13 | [authors]
14 | one = "автор"
15 | other = "авторы"
16 |
17 | [posts]
18 | other = "статьи"
19 |
20 | [reading_time]
21 | one = "Читать одну минуту"
22 | few = "Читать около {{ .Count }} минут"
23 | many = "Читать около {{ .Count }} минут"
24 |
25 | [page_not_found]
26 | other = "Страница не найдена"
27 |
28 | [page_does_not_exist]
29 | other = "Извините, но этой страницы не существует."
30 |
31 | [head_back]
32 | other = "Можете вернуться обратно на домашнюю страницу ."
33 |
34 | [licensed_under]
35 | other = "Лицензирован по"
36 |
37 | [powered_by]
38 | other = "Работает на"
39 |
40 | [see_also]
41 | other = "Также смотрите"
42 |
43 | [note]
44 | other = "заметка"
45 |
46 | [tip]
47 | other = "совет"
48 |
49 | [example]
50 | other = "пример"
51 |
52 | [question]
53 | other = "вопрос"
54 |
55 | [info]
56 | other = "информация"
57 |
58 | [warning]
59 | other = "предупреждение"
60 |
61 | [error]
62 | other = "ошибка"
63 |
64 | [link_to_heading]
65 | other = "Ссылка на заголовок"
66 |
--------------------------------------------------------------------------------
/i18n/se.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "Kategori"
3 | other = "Katgorier"
4 |
5 | [tags]
6 | one = "Tagg"
7 | other = "Taggar"
8 |
9 | [series]
10 | one = "Serie"
11 | other = "Serie"
12 |
13 | [authors]
14 | one = "Författare"
15 | other = "Författare"
16 |
17 | [posts]
18 | other = "Inlägg"
19 |
20 | [reading_time]
21 | one = "Ein minut lästid"
22 | other = "{{ .Count }} minuter lästid"
23 |
24 | [page_not_found]
25 | other = "Sida hittades inte"
26 |
27 | [page_does_not_exist]
28 | other = "Ursäkta, men denna sida existerar inte."
29 |
30 | [head_back]
31 | other = "Här kan du komma tillbaka till startsidan ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Byggd med"
38 |
39 | [see_also]
40 | other = "Se även i"
41 |
42 | [note]
43 | other = "Notera"
44 |
45 | [tip]
46 | other = "Tips"
47 |
48 | [example]
49 | other = "Exempel"
50 |
51 | [question]
52 | other = "Fråga"
53 |
54 | [info]
55 | other = "Info"
56 |
57 | [warning]
58 | other = "Varning"
59 |
60 | [error]
61 | other = "Fel"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/sk.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategória"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "téma"
7 | other = "tags"
8 |
9 | [series]
10 | one = "diel"
11 | other = "series"
12 |
13 | [authors]
14 | one = "autor"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "články"
19 |
20 | [reading_time]
21 | one = "Prečítate si za minútu"
22 | few = "Prečítate si do {{ .Count }} minút"
23 | many = "Prečítate si do {{ .Count }} minút"
24 | other = "Prečítate si do {{ .Count }} minút"
25 |
26 | [page_not_found]
27 | other = "Stránka nebola nájdená"
28 |
29 | [page_does_not_exist]
30 | other = "Prepáčte, ale táto stránka neexistuje."
31 |
32 | [head_back]
33 | other = "Späť na domácu stránku ."
34 |
35 | [licensed_under]
36 | other = "Licensed under"
37 |
38 | [see_also]
39 | other = "Pozrite tiež"
40 |
41 | [powered_by]
42 | other = "Táto stránka bola vytvorená cez"
43 |
44 | [note]
45 | other = "note"
46 |
47 | [tip]
48 | other = "tip"
49 |
50 | [example]
51 | other = "example"
52 |
53 | [question]
54 | other = "question"
55 |
56 | [info]
57 | other = "info"
58 |
59 | [warning]
60 | other = "warning"
61 |
62 | [error]
63 | other = "error"
64 |
65 | [link_to_heading]
66 | other = "Link to heading"
67 |
--------------------------------------------------------------------------------
/i18n/sq.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategori"
3 | other = "kategoritë"
4 |
5 | [tags]
6 | one = "shenjim"
7 | other = "shenjuesat"
8 |
9 | [series]
10 | one = "seritë"
11 | other = "seritë"
12 |
13 | [authors]
14 | one = "autori"
15 | other = "autorë"
16 |
17 | [posts]
18 | other = "postime"
19 |
20 | [reading_time]
21 | one = "një-minutë lexim"
22 | other = "{{ .Count }}-minute read"
23 |
24 | [page_not_found]
25 | other = "Nuk u gjet faqja"
26 |
27 | [page_does_not_exist]
28 | other = "Na vjen keq, faqja nuk u gjet"
29 |
30 | [head_back]
31 | other = "Mund të ktheheni prapë tek homepage ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "Mundësuar nga "
38 |
39 | [see_also]
40 | other = "Shiko gjithashtu"
41 |
42 | [note]
43 | other = "shënim"
44 |
45 | [tip]
46 | other = "ndihmë"
47 |
48 | [example]
49 | other = "shembull"
50 |
51 | [question]
52 | other = "pyetje"
53 |
54 | [info]
55 | other = "informacion"
56 |
57 | [warning]
58 | other = "kujdes"
59 |
60 | [error]
61 | other = "gabim"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/sr-latn.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategorija"
3 | other = "kategorije"
4 |
5 | [tags]
6 | one = "tag"
7 | other = "tagovi"
8 |
9 | [series]
10 | one = "serija"
11 | other = "serije"
12 |
13 | [authors]
14 | one = "autor"
15 | other = "autori"
16 |
17 | [posts]
18 | other = "objave"
19 |
20 | [reading_time]
21 | one = "Jedan minut čitanja"
22 | other = "{{ .Count }} minuta čitanja"
23 |
24 | [page_not_found]
25 | other = "Stranica nije pronađena"
26 |
27 | [page_does_not_exist]
28 | other = "Izvinite, ova stranica ne postoji."
29 |
30 | [head_back]
31 | other = "Možete se vratiti na početnu stranicu ."
32 |
33 | [licensed_under]
34 | other = "Licensirano pod"
35 |
36 | [powered_by]
37 | other = "Pokreće"
38 |
39 | [see_also]
40 | other = "takođe proveriti"
41 |
42 | [note]
43 | other = "napomena"
44 |
45 | [tip]
46 | other = "savet"
47 |
48 | [example]
49 | other = "primer"
50 |
51 | [question]
52 | other = "pitanje"
53 |
54 | [info]
55 | other = "informacija"
56 |
57 | [warning]
58 | other = "upozorenje"
59 |
60 | [error]
61 | other = "greška"
62 |
63 | [link_to_heading]
64 | other = "Link do zaglavlja"
65 |
--------------------------------------------------------------------------------
/i18n/sr.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "категорија"
3 | other = "категорије"
4 |
5 | [tags]
6 | one = "таг"
7 | other = "тагови"
8 |
9 | [series]
10 | one = "серија"
11 | other = "серије"
12 |
13 | [authors]
14 | one = "аутор"
15 | other = "аутори"
16 |
17 | [posts]
18 | other = "објаве"
19 |
20 | [reading_time]
21 | one = "Један минут читања"
22 | other = "{{ .Count }} минута читања"
23 |
24 | [page_not_found]
25 | other = "Страница није пронађена"
26 |
27 | [page_does_not_exist]
28 | other = "Извините, ова страница не постоји."
29 |
30 | [head_back]
31 | other = "Можете се вратити на почетну страницу ."
32 |
33 | [licensed_under]
34 | other = "Лиценсирано под"
35 |
36 | [powered_by]
37 | other = "Покреће"
38 |
39 | [see_also]
40 | other = "такође проверити"
41 |
42 | [note]
43 | other = "напомена"
44 |
45 | [tip]
46 | other = "савет"
47 |
48 | [example]
49 | other = "пример"
50 |
51 | [question]
52 | other = "питање"
53 |
54 | [info]
55 | other = "информација"
56 |
57 | [warning]
58 | other = "упозорење"
59 |
60 | [error]
61 | other = "грешка"
62 |
63 | [link_to_heading]
64 | other = "Линк до заглавља"
65 |
--------------------------------------------------------------------------------
/i18n/tr.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "kategori"
3 | other = "kategoriler"
4 |
5 | [tags]
6 | one = "etiket"
7 | other = "etiketler"
8 |
9 | [series]
10 | one = "dizi"
11 | other = "diziler"
12 |
13 | [authors]
14 | one = "yazar"
15 | other = "yazarlar"
16 |
17 | [posts]
18 | one = "Gönderi"
19 | other = "Gönderiler"
20 |
21 | [reading_time]
22 | one = "Bir dakikalık okuma"
23 | other = "{{ .Count }} dakikalık okuma"
24 |
25 | [page_not_found]
26 | other = "Sayfa Bulunamadı"
27 |
28 | [page_does_not_exist]
29 | other = "Özür dileriz, böyle bir sayfa yok."
30 |
31 | [head_back]
32 | other = "Ana sayfaya dönebilirsiniz."
33 |
34 | [licensed_under]
35 | other = "Lisansı alınta:"
36 |
37 | [powered_by]
38 | other = "Site program altyapısı"
39 |
40 | [see_also]
41 | other = "Ayrıca bakınız"
42 |
43 | [note]
44 | other = "not"
45 |
46 | [tip]
47 | other = "tavsiye"
48 |
49 | [example]
50 | other = "örnek"
51 |
52 | [question]
53 | other = "soru"
54 |
55 | [info]
56 | other = "bilgi"
57 |
58 | [warning]
59 | other = "uyarı"
60 |
61 | [error]
62 | other = "hata"
63 |
64 | [link_to_heading]
65 | other = "Başlık Linki"
66 |
--------------------------------------------------------------------------------
/i18n/ur.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "قسم"
3 | other = "اقسام"
4 |
5 | [tags]
6 | one = "ٹیگ"
7 | other = "ٹیگز"
8 |
9 | [series]
10 | one = "سلسلہ"
11 | other = "سلسلہ"
12 |
13 | [authors]
14 | one = "مصنف"
15 | other = "مصنفین"
16 |
17 | [posts]
18 | other = "اِشاعَتی"
19 |
20 | [reading_time]
21 | one = "اسے پڑھنے میں ایک منٹ لگے گا"
22 | other = "اسے پڑھنے میں {{ Count }} منٹ لگتا ہے۔"
23 |
24 | [page_not_found]
25 | other = "صفحہ نہیں ملا"
26 |
27 | [page_does_not_exist]
28 | other = "معذرت، یہ صفحہ موجود نہیں ہے۔"
29 |
30 | [head_back]
31 | other = "آپ ہوم پیج پر واپس جا سکتے ہیں۔"
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "شکریہ"
38 |
39 | [see_also]
40 | other = "بھی دیکھو"
41 |
42 | [note]
43 | other = "نوٹ"
44 |
45 | [tip]
46 | other = "ٹپ"
47 |
48 | [example]
49 | other = "مثال"
50 |
51 | [question]
52 | other = "سوال"
53 |
54 | [info]
55 | other = "معلومات"
56 |
57 | [warning]
58 | other = "انتباہ"
59 |
60 | [error]
61 | other = "غلطی"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/i18n/zh-cn.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "分类"
3 | other = "分类"
4 |
5 | [tags]
6 | one = "标签"
7 | other = "标签"
8 |
9 | [series]
10 | one = "系列"
11 | other = "系列"
12 |
13 | [authors]
14 | one = "作者"
15 | other = "作者"
16 |
17 | [posts]
18 | other = "文章"
19 |
20 | [reading_time]
21 | one = "阅读时间:1 分钟"
22 | other = "阅读时间:{{ .Count }} 分钟"
23 |
24 | [page_not_found]
25 | other = "找不到页面"
26 |
27 | [page_does_not_exist]
28 | other = "此页面不存在"
29 |
30 | [head_back]
31 | other = "返回 首页 ."
32 |
33 | [licensed_under]
34 | other = "许可依据"
35 |
36 | [powered_by]
37 | other = "技术支持"
38 |
39 | [see_also]
40 | other = "参见"
41 |
42 | [note]
43 | other = "注释"
44 |
45 | [tip]
46 | other = "提示"
47 |
48 | [example]
49 | other = "例子"
50 |
51 | [question]
52 | other = "问题"
53 |
54 | [info]
55 | other = "信息"
56 |
57 | [warning]
58 | other = "警告"
59 |
60 | [error]
61 | other = "错误"
62 |
63 | [link_to_heading]
64 | other = "链接到标题"
65 |
--------------------------------------------------------------------------------
/i18n/zh-tw.toml:
--------------------------------------------------------------------------------
1 | [categories]
2 | one = "分類"
3 | other = "categories"
4 |
5 | [tags]
6 | one = "標籤"
7 | other = "tags"
8 |
9 | [series]
10 | one = "系列"
11 | other = "series"
12 |
13 | [authors]
14 | one = "作者"
15 | other = "authors"
16 |
17 | [posts]
18 | other = "文章"
19 |
20 | [reading_time]
21 | one = "閱讀時間 1 分鐘"
22 | other = "閱讀時間 {{ .Count }} 分鐘"
23 |
24 | [page_not_found]
25 | other = "找不到頁面"
26 |
27 | [page_does_not_exist]
28 | other = "此頁面不存在"
29 |
30 | [head_back]
31 | other = "返回 首頁 ."
32 |
33 | [licensed_under]
34 | other = "Licensed under"
35 |
36 | [powered_by]
37 | other = "技術支援"
38 |
39 | [see_also]
40 | other = "參見"
41 |
42 | [note]
43 | other = "note"
44 |
45 | [tip]
46 | other = "tip"
47 |
48 | [example]
49 | other = "example"
50 |
51 | [question]
52 | other = "question"
53 |
54 | [info]
55 | other = "info"
56 |
57 | [warning]
58 | other = "warning"
59 |
60 | [error]
61 | other = "error"
62 |
63 | [link_to_heading]
64 | other = "Link to heading"
65 |
--------------------------------------------------------------------------------
/images/logos/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/images/logos/favicon.png
--------------------------------------------------------------------------------
/images/logos/favicon.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/images/logos/logomark.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/images/logos/logomark.png
--------------------------------------------------------------------------------
/images/logos/logomark.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
9 |
10 |
--------------------------------------------------------------------------------
/images/logos/logotype-a.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/images/logos/logotype-a.png
--------------------------------------------------------------------------------
/images/logos/logotype-a.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
10 |
11 |
12 |
13 |
15 |
19 |
23 |
24 |
27 |
31 |
35 |
36 |
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/images/logos/logotype-b.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/images/logos/logotype-b.png
--------------------------------------------------------------------------------
/images/logos/logotype-b.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
6 |
10 |
11 |
12 |
13 |
15 |
19 |
23 |
24 |
28 |
32 |
36 |
37 |
42 |
43 |
44 |
45 |
--------------------------------------------------------------------------------
/images/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/images/screenshot.png
--------------------------------------------------------------------------------
/images/tn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/images/tn.png
--------------------------------------------------------------------------------
/layouts/404.html:
--------------------------------------------------------------------------------
1 | {{ define "content" }}
2 | {{ partial "404.html" . }}
3 | {{ end }}
4 |
--------------------------------------------------------------------------------
/layouts/_default/_markup/render-heading.html:
--------------------------------------------------------------------------------
1 |
2 | {{ .Text | safeHTML }}
3 |
4 |
5 | {{ i18n "link_to_heading" | default "Link to heading" }}
6 |
7 |
8 |
--------------------------------------------------------------------------------
/layouts/_default/_markup/render-link.html:
--------------------------------------------------------------------------------
1 | {{ .Text | safeHTML }}
--------------------------------------------------------------------------------
/layouts/_default/baseof.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ block "title" . }}{{ .Site.Params.HeadTitle | default .Site.Title }}{{ end }}
6 | {{ partial "head.html" . }}
7 |
8 |
9 | {{ $csClass := "colorscheme-light" }}
10 | {{ if eq .Site.Params.colorScheme "dark" }}
11 | {{ $csClass = "colorscheme-dark" }}
12 | {{ else if eq .Site.Params.colorScheme "auto" }}
13 | {{ $csClass = "colorscheme-auto" }}
14 | {{ end }}
15 |
16 |
17 | {{ partial "float" . }}
18 |
19 | {{ partial "header.html" . }}
20 |
21 |
22 | {{ block "content" . }}{{ end }}
23 |
24 |
25 | {{ partial "footer.html" . }}
26 |
27 |
28 | {{ if .HasShortcode "mermaid" }}
29 |
31 |
34 | {{ end }}
35 |
36 | {{ if .Site.Params.disableDefaultJsScripts }}
37 | {{ if not .Site.Params.hideColorSchemeToggle }}
38 | {{ errorf "Invalid configuration. Default JS scripts are disabled, but 'hideColorSchemeToggle' is false." }}
39 | {{end}}
40 | {{ else if hugo.IsServer }}
41 | {{ $script := resources.Get "js/coder.js" }}
42 |
43 | {{ else }}
44 | {{ $script := resources.Get "js/coder.js" | minify | fingerprint }}
45 |
46 | {{ end }}
47 |
48 | {{ range .Site.Params.customJS }}
49 | {{ if hugo.IsServer }}
50 | {{ $script := resources.Get . }}
51 |
52 | {{ else }}
53 | {{ $script := resources.Get . | minify | fingerprint }}
54 |
55 | {{ end }}
56 | {{ end }}
57 |
58 | {{ range .Site.Params.customRemoteJS }}
59 | {{ if hugo.IsServer }}
60 | {{ $script := resources.GetRemote . }}
61 |
62 | {{ else }}
63 | {{ $script := resources.GetRemote . | minify | fingerprint }}
64 |
65 | {{ end }}
66 | {{ end }}
67 |
68 |
69 | {{ template "_internal/google_analytics.html" . }}
70 |
71 | {{ if and .Site.Params.fathomAnalytics .Site.Params.fathomAnalytics.siteID }}
72 | {{- partial "analytics/fathom" . -}}
73 | {{ end }}
74 |
75 | {{ if and .Site.Params.plausibleAnalytics .Site.Params.plausibleAnalytics.domain }}
76 | {{- partial "analytics/plausible" . -}}
77 | {{ end }}
78 |
79 | {{ if and .Site.Params.goatCounter .Site.Params.goatCounter.code }}
80 | {{- partial "analytics/goatcounter" . -}}
81 | {{ end }}
82 |
83 | {{ if and .Site.Params.cloudflare .Site.Params.cloudflare.token }}
84 | {{- partial "analytics/cloudflare" . -}}
85 | {{ end }}
86 |
87 | {{ if and .Site.Params.baidu .Site.Params.baidu.token }}
88 | {{- partial "analytics/baidu" . -}}
89 | {{ end }}
90 |
91 | {{ if and .Site.Params.wideAngleAnalytics .Site.Params.wideAngleAnalytics.siteID }}
92 | {{- partial "analytics/wideangle" . -}}
93 | {{ end }}
94 |
95 | {{ if and .Site.Params.matomo .Site.Params.matomo.serverURL }}
96 | {{- partial "analytics/matomo" . -}}
97 | {{ end }}
98 |
99 | {{ if and .Site.Params.googleTagManager .Site.Params.googleTagManager.id }}
100 | {{- partial "analytics/googletagmanager" . -}}
101 | {{ end }}
102 |
103 | {{ if and .Site.Params.applicationInsights .Site.Params.applicationInsights.connectionString }}
104 | {{- partial "analytics/applicationinsights" . -}}
105 | {{ end }}
106 |
107 | {{ if and .Site.Params.microAnalytics .Site.Params.microAnalytics.id }}
108 | {{- partial "analytics/microanalyticsio" . -}}
109 | {{ end }}
110 |
111 | {{ if and .Site.Params.onedollarstats .Site.Params.onedollarstats.id }}
112 | {{- partial "analytics/onedollarstats" . -}}
113 | {{ end }}
114 |
115 | {{ if .Site.Params.vercelAnalytics}}
116 | {{- partial "analytics/vercel" . -}}
117 | {{ end }}
118 |
119 | {{ if and .Site.Params.yandexMetrika .Site.Params.yandexMetrika.id }}
120 | {{- partial "analytics/yandex-metrika" . -}}
121 | {{ end }}
122 |
123 | {{ if and .Site.Params.umami .Site.Params.umami.siteID }}
124 | {{- partial "analytics/umami" . -}}
125 | {{ end }}
126 |
127 | {{ if and .Site.Params.pirsch .Site.Params.pirsch.code }}
128 | {{- partial "analytics/pirsch" . -}}
129 | {{ end }}
130 |
131 | {{ if and .Site.Params.clicky .Site.Params.clicky.id }}
132 | {{- partial "analytics/clicky" . -}}
133 | {{ end }}
134 |
135 | {{- partial "body/extensions" . -}}
136 |
137 |
138 |
--------------------------------------------------------------------------------
/layouts/_default/list.html:
--------------------------------------------------------------------------------
1 | {{ define "title" }}
2 | {{- if eq .Kind "term" -}}
3 | {{- i18n .Data.Plural 1 | title -}}
4 | {{- print ": " -}}
5 | {{- end -}}
6 | {{- i18n (lower .Title) | default .Title | title }} · {{ .Site.Title -}}
7 | {{ end }}
8 | {{ define "content" }}
9 | {{ partial "list.html" . }}
10 | {{ end }}
11 |
--------------------------------------------------------------------------------
/layouts/_default/single.html:
--------------------------------------------------------------------------------
1 | {{ define "title" }}
2 | {{ .Title }} · {{ .Site.Title }}
3 | {{ end }}
4 | {{ define "content" }}
5 | {{ partial "page.html" . }}
6 | {{ partial "posts/math.html" . }}
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/layouts/_default/terms.html:
--------------------------------------------------------------------------------
1 | {{ define "title" }}
2 | {{- if eq .Kind "term" -}}
3 | {{- i18n .Data.Plural | title -}}
4 | {{- print ": " -}}
5 | {{- end -}}
6 | {{- i18n (lower .Title) | default .Title | title }} · {{ .Site.Title -}}
7 | {{ end }}
8 | {{ define "content" }}
9 | {{ partial "terms.html" . }}
10 | {{ end }}
11 |
--------------------------------------------------------------------------------
/layouts/index.html:
--------------------------------------------------------------------------------
1 | {{ define "content" }}
2 | {{ partial "home.html" . }}
3 | {{ end }}
4 |
--------------------------------------------------------------------------------
/layouts/partials/404.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
404
4 |
{{ i18n "page_not_found" }}
5 |
{{ i18n "page_does_not_exist" }} {{ i18n "head_back" .Site.BaseURL | safeHTML }}
6 |
7 |
8 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/applicationinsights.html:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/baidu.html:
--------------------------------------------------------------------------------
1 |
2 |
11 |
12 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/clicky.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/cloudflare.html:
--------------------------------------------------------------------------------
1 |
2 |
4 |
5 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/fathom.html:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/goatcounter.html:
--------------------------------------------------------------------------------
1 |
3 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/googletagmanager.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/matomo.html:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/microanalyticsio.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/onedollarstats.html:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/pirsch.html:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/plausible.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/umami.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/vercel.html:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/wideangle.html:
--------------------------------------------------------------------------------
1 |
6 |
--------------------------------------------------------------------------------
/layouts/partials/analytics/yandex-metrika.html:
--------------------------------------------------------------------------------
1 |
2 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/layouts/partials/body/extensions.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | This extension point occurs just before the end of each page's tag.
3 |
4 | You can add further theme extensions or customizations here if needed.
5 | */}}
6 |
--------------------------------------------------------------------------------
/layouts/partials/csp.html:
--------------------------------------------------------------------------------
1 | {{ printf ` ` (delimit .Site.Params.csp.childsrc " ") (delimit .Site.Params.csp.fontsrc " ") (delimit .Site.Params.csp.formaction " ") (delimit .Site.Params.csp.framesrc " ") (delimit .Site.Params.csp.imgsrc " ") (delimit .Site.Params.csp.objectsrc " ") (delimit .Site.Params.csp.stylesrc " ") (delimit .Site.Params.csp.scriptsrc " ") (delimit .Site.Params.csp.connectsrc " ") | safeHTML }}
2 |
--------------------------------------------------------------------------------
/layouts/partials/float.html:
--------------------------------------------------------------------------------
1 | {{ if not .Site.Params.hideColorSchemeToggle }}
2 |
7 | {{ end }}
8 |
--------------------------------------------------------------------------------
/layouts/partials/footer.html:
--------------------------------------------------------------------------------
1 |
20 |
--------------------------------------------------------------------------------
/layouts/partials/head.html:
--------------------------------------------------------------------------------
1 | {{ partial "head/meta-tags.html" . }}
2 |
3 | {{ if .Params.canonicalUrl }}
4 |
5 | {{ else }}
6 |
7 | {{ end }}
8 |
9 | {{ partialCached "head/theme-styles.html" . }}
10 |
11 | {{ partialCached "head/color-scheme.html" . }}
12 |
13 | {{ partialCached "head/custom-styles.html" . }}
14 |
15 | {{ partialCached "head/custom-icons.html" . }}
16 |
17 | {{ partial "head/alternative-output-formats.html" . }}
18 |
19 | {{ if .IsHome }}{{ partial "head/hugo-generator.html" . }}{{ end }}
20 |
21 | {{ partial "head/extensions.html" . }}
22 |
--------------------------------------------------------------------------------
/layouts/partials/head/alternative-output-formats.html:
--------------------------------------------------------------------------------
1 | {{ range .AlternativeOutputFormats -}}
2 | {{ printf ` ` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
3 | {{ end -}}
4 |
--------------------------------------------------------------------------------
/layouts/partials/head/color-scheme.html:
--------------------------------------------------------------------------------
1 | {{ if or (eq .Site.Params.colorScheme "auto") (eq .Site.Params.colorScheme "dark") }}
2 | {{ if hugo.IsServer }}
3 | {{ $cssOpts := (dict "targetPath" "css/coder-dark.css" "enableSourceMap" true ) }}
4 | {{ $styles := resources.Get "scss/coder-dark.scss" | resources.ExecuteAsTemplate "style.coder-dark.css" . | toCSS $cssOpts }}
5 |
6 | {{ else }}
7 | {{ $cssOpts := (dict "targetPath" "css/coder-dark.css" ) }}
8 | {{ $styles := resources.Get "scss/coder-dark.scss" | resources.ExecuteAsTemplate "style.coder-dark.css" . | toCSS $cssOpts | minify | fingerprint }}
9 |
10 | {{ end }}
11 | {{ end }}
12 |
--------------------------------------------------------------------------------
/layouts/partials/head/custom-icons.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/layouts/partials/head/custom-styles.html:
--------------------------------------------------------------------------------
1 | {{ range .Site.Params.customCSS }}
2 | {{ if hugo.IsServer }}
3 | {{ $styles := resources.Get . }}
4 |
5 | {{ else }}
6 | {{ $styles := resources.Get . | minify | fingerprint }}
7 |
8 | {{ end }}
9 | {{ end }}
10 |
11 | {{ range .Site.Params.customSCSS }}
12 | {{/* We don't change the targetPath to because it's transparent to users */}}
13 | {{ if hugo.IsServer }}
14 | {{ $cssOpts := (dict "enableSourceMap" true ) }}
15 | {{ $styles := resources.Get . | toCSS $cssOpts }}
16 |
17 | {{ else }}
18 | {{ $styles := resources.Get . | toCSS | minify | fingerprint }}
19 |
20 | {{ end }}
21 | {{ end }}
22 |
--------------------------------------------------------------------------------
/layouts/partials/head/extensions.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | You can add further theme extensions or customizations here if they should
3 | appear in .
4 | */}}
5 |
--------------------------------------------------------------------------------
/layouts/partials/head/hugo-generator.html:
--------------------------------------------------------------------------------
1 | {{ hugo.Generator }}
2 |
--------------------------------------------------------------------------------
/layouts/partials/head/meta-tags.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ if .Site.Params.csp }}
6 | {{ partial "csp.html" . }}
7 | {{ end }}
8 |
9 | {{ with .Site.Params.author }}
10 | {{ end }}
11 |
12 |
13 | {{ if or .Params.fediverseCreator .Site.Params.fediverseCreator }} {{end}}
14 |
15 | {{ template "_internal/twitter_cards.html" . }}
16 | {{ template "_internal/opengraph.html" . }}
17 |
--------------------------------------------------------------------------------
/layouts/partials/head/theme-styles.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {{ if hugo.IsServer }}
6 | {{ $cssOpts := (dict "targetPath" "css/coder.css" "enableSourceMap" true ) }}
7 | {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts }}
8 |
9 | {{ else }}
10 | {{ $cssOpts := (dict "targetPath" "css/coder.css" ) }}
11 | {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts | minify | fingerprint }}
12 |
13 | {{ end }}
14 |
15 | {{ if .Site.Params.rtl }}
16 | {{ if hugo.IsServer }}
17 | {{ $cssOpts := (dict "targetPath" "css/coder-rtl.css" "enableSourceMap" true ) }}
18 | {{ $styles := resources.Get "scss/coder-rtl.scss" | resources.ExecuteAsTemplate "style.coder-rtl.css" . | toCSS $cssOpts }}
19 |
20 | {{ else }}
21 | {{ $cssOpts := (dict "targetPath" "css/coder-rtl.css" ) }}
22 | {{ $styles := resources.Get "scss/coder-rtl.scss" | resources.ExecuteAsTemplate "style.coder-rtl.css" . | toCSS $cssOpts | minify | fingerprint }}
23 |
24 | {{ end }}
25 | {{ end }}
26 |
--------------------------------------------------------------------------------
/layouts/partials/header.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ with .Site }}
4 |
5 | {{ .Title }}
6 |
7 | {{ end }}
8 | {{ if or .Site.Menus.main hugo.IsMultilingual }}
9 |
10 |
13 |
14 | {{ with .Site.Menus.main}}
15 | {{ range sort . }}
16 |
17 | {{ .Name }}
18 |
19 | {{ end }}
20 | {{ end }}
21 | {{ if hugo.IsMultilingual }}
22 | {{ $node := . }}
23 | {{ .Scratch.Set "separator" true }}
24 | {{ range (default .Site.Home.AllTranslations .Translations) }}
25 | {{ if ne $.Site.Language .Language }}
26 | {{ if $node.Scratch.Get "separator" }}
27 |
30 | {{ $node.Scratch.Set "separator" false }}
31 | {{ end }}
32 |
33 | {{ .Language.LanguageName | emojify }}
34 |
35 | {{ end }}
36 | {{ end }}
37 | {{ end }}
38 |
39 | {{ end }}
40 |
41 |
42 |
--------------------------------------------------------------------------------
/layouts/partials/home.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{ partialCached "home/avatar.html" . }}
4 |
5 | {{ partialCached "home/author.html" . }}
6 |
7 | {{ partialCached "home/social.html" . }}
8 |
9 |
10 | {{ partialCached "home/extensions.html" . }}
11 |
12 |
--------------------------------------------------------------------------------
/layouts/partials/home/author.html:
--------------------------------------------------------------------------------
1 | {{ .Site.Params.author }}
2 | {{ if reflect.IsSlice .Site.Params.info }}
3 | {{ range .Site.Params.info }}{{ . | markdownify }} {{ end}}
4 | {{ else }}
5 | {{ .Site.Params.info | markdownify }}
6 | {{ end }}
7 |
--------------------------------------------------------------------------------
/layouts/partials/home/avatar.html:
--------------------------------------------------------------------------------
1 | {{ if and (isset .Site.Params "avatarurl") (not (isset .Site.Params "gravatar")) }}
2 | {{ with .Site.Params.avatarURL }}
3 |
4 | {{ end }}
5 | {{ end }}
6 | {{ with .Site.Params.gravatar }}
7 |
8 | {{ end }}
9 |
--------------------------------------------------------------------------------
/layouts/partials/home/extensions.html:
--------------------------------------------------------------------------------
1 | {{/*
2 | You can add further theme extensions or customizations here if they should
3 | appear in after the "about" section.
4 | */}}
5 |
--------------------------------------------------------------------------------
/layouts/partials/home/social.html:
--------------------------------------------------------------------------------
1 | {{ with .Site.Params.social }}
2 |
3 | {{ range sort . "weight" }}
4 | {{ if .icon }}
5 |
6 |
7 |
8 |
9 |
10 | {{ else }}
11 |
12 | {{ .name }}
13 |
14 | {{ end }}
15 | {{ end }}
16 |
17 | {{ end }}
--------------------------------------------------------------------------------
/layouts/partials/list.html:
--------------------------------------------------------------------------------
1 |
2 |
13 | {{ .Content }}
14 |
15 | {{ range .Paginator.Pages }}
16 |
17 | {{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
18 | {{ .Title }}
19 |
20 | {{ end }}
21 |
22 | {{ partial "pagination.html" . }}
23 |
24 |
--------------------------------------------------------------------------------
/layouts/partials/page.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
10 |
11 | {{ .Content }}
12 |
13 |
14 |
--------------------------------------------------------------------------------
/layouts/partials/pagination.html:
--------------------------------------------------------------------------------
1 | {{ $paginator := .Paginator }}
2 | {{ $adjacent_links := 2 }}
3 | {{ $max_links := (add (mul $adjacent_links 2) 1) }}
4 | {{ $lower_limit := (add $adjacent_links 1) }}
5 | {{ $upper_limit := (sub $paginator.TotalPages $adjacent_links) }}
6 | {{ if gt $paginator.TotalPages 1 }}
7 |
48 | {{ end }}
49 |
--------------------------------------------------------------------------------
/layouts/partials/posts/commento.html:
--------------------------------------------------------------------------------
1 | {{- if and (isset .Site.Params "commentourl") (not (eq .Site.Params.commentoURL "" )) (eq (.Params.disableComments | default false) false) -}}
2 |
3 |
4 | {{- end -}}
5 |
--------------------------------------------------------------------------------
/layouts/partials/posts/cusdis.html:
--------------------------------------------------------------------------------
1 | {{- if isset .Site.Params "cusdis" -}}
2 | {{- if and (isset .Site.Params.cusdis "data_app_id") (eq (.Params.disableComments | default false) false) -}}
3 |
14 | {{- end -}}
15 | {{- end -}}
16 |
17 |
--------------------------------------------------------------------------------
/layouts/partials/posts/disqus.html:
--------------------------------------------------------------------------------
1 | {{- if and (not (eq (.Site.Config.Services.Disqus.Shortname | default "") "")) (eq (.Params.disableComments | default false) false) -}}
2 |
3 |
26 | {{- end -}}
27 |
--------------------------------------------------------------------------------
/layouts/partials/posts/giscus.html:
--------------------------------------------------------------------------------
1 | {{- if isset .Site.Params "giscus" -}}
2 | {{- if and (isset .Site.Params.giscus "repo") (not (eq .Site.Params.giscus.repo "" )) (eq (.Params.disableComments | default false) false) -}}
3 |
32 | {{- end -}}
33 | {{- end -}}
34 |
--------------------------------------------------------------------------------
/layouts/partials/posts/math.html:
--------------------------------------------------------------------------------
1 | {{- if or (.Params.math) (.Site.Params.math) (.Params.katex) (.Site.Params.katex) -}}
2 |
4 | {{/* The loading of KaTeX is deferred to speed up page rendering */}}
5 |
7 |
19 | {{- end -}}
20 |
--------------------------------------------------------------------------------
/layouts/partials/posts/series.html:
--------------------------------------------------------------------------------
1 | {{ $currentPageUrl := .RelPermalink }}
2 | {{ if .Params.series }}
3 |
4 | {{ range .Params.series }}
5 | {{ $name := . | anchorize }}
6 | {{ $series := index $.Site.Taxonomies.series $name }}
7 | {{ if gt (len $series.Pages) 1 }}
8 |
15 |
16 |
17 | {{ $maxItems := $.Site.Params.maxSeeAlsoItems | default 5 }}
18 | {{ range first (add $maxItems 1) $series.Pages }}
19 | {{ if ne .RelPermalink $currentPageUrl }}
20 |
21 | {{ .Title }}
22 |
23 | {{ end }}
24 | {{ end }}
25 |
26 |
27 | {{ end }}
28 | {{ end }}
29 |
30 | {{ end }}
31 |
--------------------------------------------------------------------------------
/layouts/partials/posts/telegram.html:
--------------------------------------------------------------------------------
1 | {{- if isset .Site.Params "telegram" -}}
2 | {{- if and (isset .Site.Params.telegram "siteid") (not (eq .Site.Params.telegram.siteID "" )) (eq (.Params.disableComments | default false) false) -}}
3 |
21 | {{- end -}}
22 | {{- end -}}
23 |
--------------------------------------------------------------------------------
/layouts/partials/posts/utterances.html:
--------------------------------------------------------------------------------
1 | {{- if isset .Site.Params "utterances" -}}
2 | {{- if and (isset .Site.Params.utterances "repo") (not (eq .Site.Params.utterances.repo "" )) (eq (.Params.disableComments | default false) false) -}}
3 |
31 | {{- end -}}
32 | {{- end -}}
--------------------------------------------------------------------------------
/layouts/partials/taxonomy/authors.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{- range $index, $el := . -}}
4 | {{- if gt $index 0 }}
5 |
•
6 | {{- end }}
7 |
{{ .LinkTitle }}
8 | {{- end -}}
9 |
10 |
--------------------------------------------------------------------------------
/layouts/partials/taxonomy/categories.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | {{- range $index, $el := . -}}
4 | {{- if gt $index 0 }}
5 |
•
6 | {{- end }}
7 |
{{ .LinkTitle }}
8 | {{- end -}}
9 |
10 |
--------------------------------------------------------------------------------
/layouts/partials/taxonomy/tags.html:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/layouts/partials/terms.html:
--------------------------------------------------------------------------------
1 |
2 |
13 | {{ .Content }}
14 |
15 | {{ $type := .Type }}
16 | {{ range $key, $value := .Data.Terms.Alphabetical }}
17 | {{ $name := .Name }}
18 | {{ $count := .Count }}
19 | {{ with $.Site.GetPage (printf "/%s/%s" $type $name) }}
20 |
21 |
22 | {{ .Name }}
23 | {{ $count }}
24 |
25 |
26 | {{ end }}
27 | {{ end }}
28 |
29 |
30 |
--------------------------------------------------------------------------------
/layouts/posts/li.html:
--------------------------------------------------------------------------------
1 |
2 | {{ .Date | time.Format (.Site.Params.dateFormat | default "January 2, 2006" ) }}
3 | {{ .Title }}
4 |
5 |
--------------------------------------------------------------------------------
/layouts/posts/list.html:
--------------------------------------------------------------------------------
1 | {{ define "title" }}
2 | {{ title (i18n (lower .Title)) | default .Title }} · {{ .Site.Title }}
3 | {{ end }}
4 | {{ define "content" }}
5 |
6 |
13 | {{ .Content }}
14 |
15 | {{- range .Paginator.Pages -}}
16 | {{- .Render "li" -}}
17 | {{- end -}}
18 |
19 |
20 | {{ partial "pagination.html" . }}
21 |
22 | {{ end }}
23 |
--------------------------------------------------------------------------------
/layouts/posts/single.html:
--------------------------------------------------------------------------------
1 | {{ define "title" }}
2 | {{ .Title }} · {{ .Site.Title }}
3 | {{ end }}
4 | {{ define "content" }}
5 |
6 |
7 |
33 |
34 |
35 | {{ if .Params.featuredImage }}
36 |
37 | {{ end }}
38 | {{ .Content }}
39 |
40 |
41 |
42 |
43 | {{ partial "posts/series.html" . }}
44 | {{ partial "posts/disqus.html" . }}
45 | {{ partial "posts/commento.html" . }}
46 | {{ partial "posts/utterances.html" . }}
47 | {{ partial "posts/giscus.html" . }}
48 | {{ partial "posts/mastodon.html" . }}
49 | {{ partial "posts/telegram.html" . }}
50 | {{ partial "posts/cusdis.html" . }}
51 |
52 |
53 |
54 | {{ partial "posts/math.html" . }}
55 |
56 | {{ end }}
57 |
--------------------------------------------------------------------------------
/layouts/shortcodes/mermaid.html:
--------------------------------------------------------------------------------
1 |
2 | {{- .Inner | safeHTML }}
3 |
4 |
--------------------------------------------------------------------------------
/layouts/shortcodes/notice.html:
--------------------------------------------------------------------------------
1 | {{- $type := .Get 0 -}}
2 | {{- $title := .Get 1 | default $type -}}
3 | {{- $inner := .Inner | .Page.RenderString | chomp -}}
4 | {{- $icon := dict "note" "fa-sticky-note" "tip" "fa-lightbulb" "example" "fa-file-text" "question" "fa-question" "info" "fa-exclamation-circle" "warning" "fa-exclamation-triangle" "error" "fa-times-circle" -}}
5 |
6 |
7 | {{ i18n $title | default $title | humanize }}
8 |
9 |
10 | {{- $inner -}}
11 |
12 |
13 |
--------------------------------------------------------------------------------
/layouts/shortcodes/tab.html:
--------------------------------------------------------------------------------
1 | {{ $group := .Page.Scratch.Get "tabGroupIndex" | default 0 }}
2 | {{ $index := .Page.Scratch.Get "tabElementIndex" | default 0 }}
3 | {{ $name := .Get "name" | default "Name Me!" }}
4 |
5 |
10 |
11 |
12 | {{ $name }}
13 |
14 | {{ .Inner | markdownify }}
15 |
16 |
17 | {{ .Page.Scratch.Set "tabElementIndex" (add 1 $index) }}
18 |
--------------------------------------------------------------------------------
/layouts/shortcodes/tabgroup.html:
--------------------------------------------------------------------------------
1 | {{ $align := .Get "align" | default "left" }}
2 | {{ $style := .Get "style" | default "markdown" }}
3 | {{ $group := .Page.Scratch.Get "tabGroupIndex" | default 0 }}
4 | {{ $index := .Page.Scratch.Set "tabElementIndex" 0 }}
5 |
6 |
7 | {{ .Inner }}
8 |
9 |
10 | {{ .Page.Scratch.Set "tabGroupIndex" (add 1 $group) }}
11 |
--------------------------------------------------------------------------------
/netlify.toml:
--------------------------------------------------------------------------------
1 | [build]
2 | publish = "exampleSite/public"
3 | command = "cd exampleSite && hugo --themesDir=../.. --baseURL $URL"
4 |
5 | [build.environment]
6 | HUGO_VERSION = "0.142.0"
7 | HUGO_THEME = "repo"
8 |
9 | [context.deploy-preview]
10 | command = "cd exampleSite && hugo --themesDir=../.. --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"
11 |
--------------------------------------------------------------------------------
/resources/_gen/assets/scss/coder-dark.scss_9909fe12caa938878c0f06cd010153f1.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/coder-dark.min.a00e6364bacbc8266ad1cc81230774a1397198f8cfb7bcba29b7d6fcb54ce57f.css","MediaType":"text/css","Data":{"Integrity":"sha256-oA5jZLrLyCZq0cyBIwd0oTlxmPjPt7y6KbfW/LVM5X8="}}
--------------------------------------------------------------------------------
/resources/_gen/assets/scss/coder.scss_3309bf5eef245954e39c3edadcf84268.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/coder.min.c8e4eea149ae1dc7c61ba9b0781793711a4e657f7e07a4413f9abc46d52dffc4.css","MediaType":"text/css","Data":{"Integrity":"sha256-yOTuoUmuHcfGG6mweBeTcRpOZX9+B6RBP5q8RtUt/8Q="}}
--------------------------------------------------------------------------------
/resources/_gen/assets/scss/scss/coder-dark.scss_9e20ccd2d8034c8e0fd83b11fb6e2bd5.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/coder-dark.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/resources/_gen/assets/scss/scss/coder.scss_fd4b5b3f9a48bc0c7f005d2f7a4cc30f.json:
--------------------------------------------------------------------------------
1 | {"Target":"css/coder.css","MediaType":"text/css","Data":{}}
--------------------------------------------------------------------------------
/static/fonts/fa-brands-400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/static/fonts/fa-brands-400.ttf
--------------------------------------------------------------------------------
/static/fonts/fa-brands-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/static/fonts/fa-brands-400.woff2
--------------------------------------------------------------------------------
/static/fonts/fa-regular-400.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/static/fonts/fa-regular-400.ttf
--------------------------------------------------------------------------------
/static/fonts/fa-regular-400.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/static/fonts/fa-regular-400.woff2
--------------------------------------------------------------------------------
/static/fonts/fa-solid-900.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/static/fonts/fa-solid-900.ttf
--------------------------------------------------------------------------------
/static/fonts/fa-solid-900.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/luizdepra/hugo-coder/70c0792f78b257c7b3c7614b2bc7dffa95f5143f/static/fonts/fa-solid-900.woff2
--------------------------------------------------------------------------------
/theme.toml:
--------------------------------------------------------------------------------
1 | name = "Coder"
2 | license = "MIT"
3 | licenselink = "https://github.com/luizdepra/hugo-coder/blob/master/LICENSE.md"
4 | description = "A simple and clean blog theme for Hugo"
5 | homepage = "https://github.com/luizdepra/hugo-coder/"
6 | demosite = "https://hugo-coder.netlify.app/"
7 | tags = [
8 | "blog",
9 | "minimal",
10 | "minimalist",
11 | "responsive",
12 | "simple",
13 | "clean",
14 | "personal",
15 | "light",
16 | "dark",
17 | "dark mode"
18 | ]
19 | features = [
20 | "analytics",
21 | "favicon",
22 | "multilingual",
23 | "pagination",
24 | "single-column",
25 | "syntax-highlighting"
26 | ]
27 | min_version = "0.124.0"
28 |
29 | [author]
30 | name = "Luiz F. A. de Prá"
31 | homepage = "https://luizdepra.com"
32 |
--------------------------------------------------------------------------------
Comments:
5 |