├── exampleSite
├── data
│ └── .gitkeep
├── static
│ └── .gitkeep
├── .gitignore
├── content
│ ├── news
│ │ ├── _index.md
│ │ ├── hugoisforlovers.md
│ │ ├── basic-elements.md
│ │ ├── migrate-from-jekyll.md
│ │ └── goisforlovers.md
│ ├── _index.md
│ └── configured-page.md
└── config.toml
├── images
├── tn.png
└── screenshot.png
├── layouts
├── partials
│ ├── favicon.html
│ ├── header.html
│ ├── perpagebody.html
│ ├── perpagehead.html
│ ├── footer_right.html
│ ├── svg
│ │ ├── category.svg
│ │ ├── author.svg
│ │ ├── email.svg
│ │ ├── time.svg
│ │ ├── tag.svg
│ │ ├── telegram.svg
│ │ ├── bitbucket.svg
│ │ ├── files.svg
│ │ ├── facebook.svg
│ │ ├── gitlab.svg
│ │ ├── linkedin.svg
│ │ ├── twitter.svg
│ │ ├── instagram.svg
│ │ └── github.svg
│ ├── post_toc.html
│ ├── post_meta.html
│ ├── comments.html
│ ├── post_meta
│ │ ├── author.html
│ │ ├── translations.html
│ │ ├── date.html
│ │ └── categories.html
│ ├── footer_links.html
│ ├── post_tags.html
│ ├── widgets
│ │ ├── sidemenu.html
│ │ ├── ddg-search.html
│ │ ├── search.html
│ │ ├── recent.html
│ │ ├── recent_photos.html
│ │ ├── categories.html
│ │ ├── taglist.html
│ │ ├── recent_photos_tags.html
│ │ ├── languages.html
│ │ └── social.html
│ ├── footer.html
│ ├── pagination.html
│ ├── menu.html
│ ├── sidebar.html
│ ├── pager.html
│ ├── authorbox.html
│ └── logo.html
├── 404.html
├── _default
│ ├── list.html
│ ├── summary.html
│ ├── single.html
│ └── baseof.html
├── sitemap.xml
└── index.html
├── static
├── favicon.ico
├── favicon.png
├── img
│ ├── avatar.png
│ ├── header.jpg
│ └── placeholder.png
├── apple-touch-icon.png
├── fonts
│ ├── open-sans-v18-latin-300.woff
│ ├── open-sans-v18-latin-600.woff
│ ├── open-sans-v18-latin-700.woff
│ ├── merriweather-v22-latin-700.woff
│ ├── open-sans-v18-latin-300.woff2
│ ├── open-sans-v18-latin-600.woff2
│ ├── open-sans-v18-latin-700.woff2
│ ├── open-sans-v18-latin-italic.woff
│ ├── merriweather-v22-latin-700.woff2
│ ├── open-sans-v18-latin-italic.woff2
│ ├── open-sans-v18-latin-regular.woff
│ ├── open-sans-v18-latin-regular.woff2
│ ├── merriweather-v22-latin-regular.woff
│ ├── merriweather-v22-latin-regular.woff2
│ ├── open-sans-v18-latin-300italic.woff
│ ├── open-sans-v18-latin-300italic.woff2
│ ├── open-sans-v18-latin-600italic.woff
│ ├── open-sans-v18-latin-600italic.woff2
│ ├── open-sans-v18-latin-700italic.woff
│ ├── open-sans-v18-latin-700italic.woff2
│ └── LICENSE
└── js
│ └── menu.js
├── archetypes
└── default.md
├── .gitignore
├── .editorconfig
├── .github
└── workflows
│ ├── build.yaml
│ └── deploy.yaml
├── theme.toml
├── i18n
├── zh-cn.yaml
├── zh-tw.yaml
├── ja.yaml
├── nl.yaml
├── es.yaml
├── vi.yaml
├── mk.yaml
├── cs.yaml
├── pt.yaml
├── pt-br.yaml
├── hu.yaml
├── it.yaml
├── fr.yaml
├── bg.yaml
├── en.yaml
├── uk.yaml
├── de.yaml
├── ru.yaml
└── lt.yaml
├── README.md
├── LICENSE.md
└── assets
└── css
└── style.css
/exampleSite/data/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/exampleSite/static/.gitkeep:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/exampleSite/.gitignore:
--------------------------------------------------------------------------------
1 | public/
2 | themes
3 | .hugo_build.lock
4 |
--------------------------------------------------------------------------------
/images/tn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/images/tn.png
--------------------------------------------------------------------------------
/layouts/partials/favicon.html:
--------------------------------------------------------------------------------
1 |
2 |
--------------------------------------------------------------------------------
/static/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/favicon.ico
--------------------------------------------------------------------------------
/static/favicon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/favicon.png
--------------------------------------------------------------------------------
/images/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/images/screenshot.png
--------------------------------------------------------------------------------
/static/img/avatar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/img/avatar.png
--------------------------------------------------------------------------------
/static/img/header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/img/header.jpg
--------------------------------------------------------------------------------
/static/img/placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/img/placeholder.png
--------------------------------------------------------------------------------
/static/apple-touch-icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/apple-touch-icon.png
--------------------------------------------------------------------------------
/layouts/partials/header.html:
--------------------------------------------------------------------------------
1 |
4 | {{ partial "menu.html" . }}
5 |
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-300.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-300.woff
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-600.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-600.woff
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-700.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-700.woff
--------------------------------------------------------------------------------
/layouts/partials/perpagebody.html:
--------------------------------------------------------------------------------
1 | {{- with .Params.scripts_body -}}
2 | {{- range . -}}
3 | {{- . | safeHTML -}}
4 | {{- end -}}
5 | {{- end -}}
--------------------------------------------------------------------------------
/layouts/partials/perpagehead.html:
--------------------------------------------------------------------------------
1 | {{- with .Params.scripts_head -}}
2 | {{- range . -}}
3 | {{- . | safeHTML -}}
4 | {{- end -}}
5 | {{- end -}}
--------------------------------------------------------------------------------
/static/fonts/merriweather-v22-latin-700.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/merriweather-v22-latin-700.woff
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-300.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-300.woff2
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-600.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-600.woff2
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-700.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-700.woff2
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-italic.woff
--------------------------------------------------------------------------------
/layouts/partials/footer_right.html:
--------------------------------------------------------------------------------
1 | {{- with .Site.Params.footer.right }}
2 |
3 | {{- end }}
4 |
--------------------------------------------------------------------------------
/static/fonts/merriweather-v22-latin-700.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/merriweather-v22-latin-700.woff2
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-italic.woff2
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-regular.woff
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-regular.woff2
--------------------------------------------------------------------------------
/static/fonts/merriweather-v22-latin-regular.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/merriweather-v22-latin-regular.woff
--------------------------------------------------------------------------------
/static/fonts/merriweather-v22-latin-regular.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/merriweather-v22-latin-regular.woff2
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-300italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-300italic.woff
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-300italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-300italic.woff2
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-600italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-600italic.woff
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-600italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-600italic.woff2
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-700italic.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-700italic.woff
--------------------------------------------------------------------------------
/static/fonts/open-sans-v18-latin-700italic.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pfadfinder-konstanz/hugo-dpsg/HEAD/static/fonts/open-sans-v18-latin-700italic.woff2
--------------------------------------------------------------------------------
/layouts/partials/svg/category.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/archetypes/default.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "{{ replace .TranslationBaseName '-' ' ' | title }}"
3 | description: ""
4 | date: "{{ .Date }}"
5 | thumbnail: ""
6 | categories:
7 | - ""
8 | tags:
9 | - ""
10 | ---
11 |
--------------------------------------------------------------------------------
/exampleSite/content/news/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Aktuelles"
3 | page: true
4 | menu:
5 | main:
6 | name: "News"
7 | weight: 3
8 | ---
9 |
10 | Here are the most recent news from our scouts group!
11 |
--------------------------------------------------------------------------------
/layouts/partials/post_toc.html:
--------------------------------------------------------------------------------
1 | {{ if .Param "toc" }}
2 |
3 |
{{ T "toc_title" }}
4 |
7 |
8 | {{ end }}
--------------------------------------------------------------------------------
/layouts/partials/post_meta.html:
--------------------------------------------------------------------------------
1 | {{- $root := . -}}
2 | {{- with .Param "post_meta" -}}
3 | {{- range $field := . -}}
4 | {{- $p := printf "post_meta/%s.html" $field -}}
5 | {{- partial $p $root -}}
6 | {{- end -}}
7 | {{- end -}}
--------------------------------------------------------------------------------
/layouts/partials/comments.html:
--------------------------------------------------------------------------------
1 | {{ if and .Site.Config.Services.Disqus.Shortname (index .Params "comments" | default "true") (not hugo.IsServer) }}
2 |
5 | {{ end }}
6 |
--------------------------------------------------------------------------------
/layouts/partials/svg/author.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/svg/email.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/post_meta/author.html:
--------------------------------------------------------------------------------
1 | {{- if .Site.Params.Author.name -}}
2 |
3 | {{ partial "svg/author.svg" (dict "class" "meta__icon") -}}
4 | {{ .Site.Params.Author.name }}
5 |
6 | {{- end -}}
--------------------------------------------------------------------------------
/layouts/partials/footer_links.html:
--------------------------------------------------------------------------------
1 | {{- with .Site.Menus.footer }}
2 |
8 | {{- end }}
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # NPM
2 | node_modules/
3 | npm-debug.log
4 |
5 | # IDE
6 | .idea
7 | *.sublime-project
8 | *.sublime-workspace
9 | .vscode/*
10 |
11 | # OS
12 | ._*
13 | Thumbs.db
14 | .DS_Store
15 | .Trashes
16 | .Spotlight-V100
17 | .AppleDouble
18 | .LSOverride
19 | Desktop.ini
20 |
--------------------------------------------------------------------------------
/layouts/partials/svg/time.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/404.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 |
3 |
7 |
8 | {{ end }}
--------------------------------------------------------------------------------
/layouts/partials/svg/tag.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/svg/telegram.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/svg/bitbucket.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/svg/files.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/svg/facebook.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/post_meta/translations.html:
--------------------------------------------------------------------------------
1 | {{- if .IsTranslated }}
2 |
10 | {{- end }}
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # editorconfig.org
2 | root = true
3 |
4 | [*]
5 | charset = utf-8
6 | indent_style = tab
7 | end_of_line = lf
8 | trim_trailing_whitespace = true
9 | insert_final_newline = true
10 |
11 | [*.md]
12 | trim_trailing_whitespace = false
13 |
14 | [*.{json,yaml,yml,toml,md,babelrc,eslintrc,postcssrc,stylelintrc}]
15 | indent_style = space
16 | indent_size = 2
17 |
18 | [layouts/**.{html,svg}]
19 | insert_final_newline = false
20 |
--------------------------------------------------------------------------------
/layouts/partials/post_tags.html:
--------------------------------------------------------------------------------
1 | {{- if .Params.tags }}
2 |
3 | {{ partial "svg/tag.svg" (dict "class" "tags__badge") }}
4 |
13 |
14 | {{- end }}
--------------------------------------------------------------------------------
/layouts/partials/widgets/sidemenu.html:
--------------------------------------------------------------------------------
1 | {{ if .Site.Menus.side }}
2 |
14 | {{ end }}
--------------------------------------------------------------------------------
/layouts/partials/widgets/ddg-search.html:
--------------------------------------------------------------------------------
1 |
2 |
9 |
--------------------------------------------------------------------------------
/layouts/partials/widgets/search.html:
--------------------------------------------------------------------------------
1 |
2 |
9 |
--------------------------------------------------------------------------------
/layouts/partials/footer.html:
--------------------------------------------------------------------------------
1 |
12 |
--------------------------------------------------------------------------------
/layouts/partials/svg/gitlab.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/pagination.html:
--------------------------------------------------------------------------------
1 | {{- if or (.Paginator.HasPrev) (.Paginator.HasNext) }}
2 |
13 | {{- end }}
--------------------------------------------------------------------------------
/layouts/_default/list.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 |
3 | {{- with .Title }}
4 |
7 | {{- end }}
8 | {{- if .Site.Params.belowTitlePartial }}{{ partial .Site.Params.belowTitlePartial . }}{{ end }}
9 | {{- with .Content }}
10 |
11 | {{ . }}
12 |
13 | {{- end }}
14 | {{- range .Paginator.Pages }}
15 | {{- .Render "summary" }}
16 | {{- end }}
17 |
18 | {{ partial "pagination.html" . }}
19 | {{ end }}
20 |
--------------------------------------------------------------------------------
/layouts/partials/widgets/recent.html:
--------------------------------------------------------------------------------
1 | {{- $recent := where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
2 | {{- $recent_num := (.Site.Params.widgets.recent_num | default 10) }}
3 |
4 | {{- if $recent }}
5 |
15 | {{- end }}
16 |
--------------------------------------------------------------------------------
/layouts/partials/widgets/recent_photos.html:
--------------------------------------------------------------------------------
1 | {{- $recent := where .Site.RegularPages "Type" "in" .Site.Params.photoSections }}
2 | {{- $recent_num := (.Site.Params.widgets.recent_num | default 10) }}
3 |
4 | {{- if $recent }}
5 |
15 | {{- end }}
16 |
--------------------------------------------------------------------------------
/layouts/partials/widgets/categories.html:
--------------------------------------------------------------------------------
1 | {{- $categories := .Site.Taxonomies.categories }}
2 | {{- if gt (len $categories) 0 }}
3 |
17 | {{- end }}
--------------------------------------------------------------------------------
/layouts/partials/widgets/taglist.html:
--------------------------------------------------------------------------------
1 | {{- $tags := .Site.Taxonomies.tags }}
2 | {{- if gt (len $tags) 0 }}
3 |
15 | {{- end }}
--------------------------------------------------------------------------------
/layouts/partials/svg/linkedin.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/widgets/recent_photos_tags.html:
--------------------------------------------------------------------------------
1 | {{- $recent := .Site.RegularPages.RelatedTo ( keyVals "tags" .Site.Params.photoTag) }}
2 | {{- $recent_num := (.Site.Params.widgets.recent_num | default 10) }}
3 |
4 | {{- if $recent }}
5 |
15 | {{- end }}
16 |
--------------------------------------------------------------------------------
/layouts/partials/post_meta/date.html:
--------------------------------------------------------------------------------
1 | {{- if not .Date.IsZero }}
2 |
3 | {{ partial "svg/time.svg" (dict "class" "meta__icon") -}}
4 |
5 | {{- .Date.Format (.Site.Params.dateformat | default "January 02, 2006") -}}
6 |
7 | {{- if ne .Date .Lastmod }}
8 | (
9 | {{- T "meta_lastmod" }}: {{ .Lastmod.Format (.Site.Params.dateformat | default "January 02, 2006") -}}
10 | )
11 | {{- end -}}
12 |
13 | {{- end }}
--------------------------------------------------------------------------------
/layouts/partials/post_meta/categories.html:
--------------------------------------------------------------------------------
1 | {{- $taxo := "categories" -}}
2 | {{- with .Param $taxo -}}
3 |
16 | {{- end }}
--------------------------------------------------------------------------------
/layouts/partials/svg/twitter.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.github/workflows/build.yaml:
--------------------------------------------------------------------------------
1 | name: Build project with Hugo
2 | on:
3 | push:
4 | branches:
5 | - main
6 | pull_request:
7 |
8 | jobs:
9 | build:
10 | runs-on: ubuntu-latest
11 | defaults:
12 | run:
13 | working-directory: ./exampleSite
14 | steps:
15 | - uses: actions/checkout@v4
16 | with:
17 | submodules: true # Fetch Hugo themes (true OR recursive)
18 | fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
19 |
20 | - name: Setup Hugo
21 | uses: peaceiris/actions-hugo@v3
22 | with:
23 | hugo-version: "latest"
24 | extended: true
25 |
26 | - name: Build
27 | run: |
28 | hugo
29 |
--------------------------------------------------------------------------------
/layouts/partials/svg/instagram.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/svg/github.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/layouts/partials/widgets/languages.html:
--------------------------------------------------------------------------------
1 | {{- $translations := .Site.Home.AllTranslations }}
2 | {{- if and hugo.IsMultilingual (gt (len $translations) 0) }}
3 |
20 | {{- end }}
21 |
--------------------------------------------------------------------------------
/static/js/menu.js:
--------------------------------------------------------------------------------
1 | 'use strict';
2 |
3 | (function iifeMenu(document, window, undefined) {
4 | var menuBtn = document.querySelector('.menu__btn');
5 | var menu = document.querySelector('.menu__list');
6 |
7 | function toggleMenu() {
8 | menu.classList.toggle('menu__list--active');
9 | menu.classList.toggle('menu__list--transition');
10 | this.classList.toggle('menu__btn--active');
11 | this.setAttribute(
12 | 'aria-expanded',
13 | this.getAttribute('aria-expanded') === 'true' ? 'false' : 'true'
14 | );
15 | }
16 |
17 | function removeMenuTransition() {
18 | this.classList.remove('menu__list--transition');
19 | }
20 |
21 | if (menuBtn && menu) {
22 | menuBtn.addEventListener('click', toggleMenu, false);
23 | menu.addEventListener('transitionend', removeMenuTransition, false);
24 | }
25 | }(document, window));
26 |
--------------------------------------------------------------------------------
/layouts/partials/menu.html:
--------------------------------------------------------------------------------
1 | {{- if .Site.Menus.main }}
2 |
23 | {{ else -}}
24 |
25 | {{- end }}
26 |
--------------------------------------------------------------------------------
/layouts/partials/sidebar.html:
--------------------------------------------------------------------------------
1 | {{- $sidebar := false }}
2 | {{- if eq .Kind "home" -}}
3 | {{ $sidebar = (default .Site.Params.sidebar.home .Params.sidebar) }}
4 | {{- else if eq .Kind "page" -}}
5 | {{ $sidebar = (default .Site.Params.sidebar.single .Params.sidebar) }}
6 | {{- else -}}
7 | {{ $sidebar = (default .Site.Params.sidebar.list .Params.sidebar) }}
8 | {{ end }}
9 |
10 | {{- if $sidebar -}}
11 |
22 | {{- end }}
--------------------------------------------------------------------------------
/layouts/partials/pager.html:
--------------------------------------------------------------------------------
1 | {{- if and (.Param "pager") (not (.Param "page")) }}
2 | {{- if or (.PrevInSection) (.NextInSection) }}
3 |
21 | {{- end }}
22 | {{- end }}
23 |
--------------------------------------------------------------------------------
/theme.toml:
--------------------------------------------------------------------------------
1 | name = "DPSG"
2 | license = "GPL-2.0-only"
3 | licenselink = "https://github.com/pfadfinder-konstanz/hugo-dpsg/blob/main/LICENSE.md"
4 | description = " Hugo theme based on the DPSG theme for German scout websites. Forked from the Mainroad theme "
5 | homepage = "https://github.com/pfadfinder-konstanz/hugo-dpsg/"
6 | demosite = "https://pfadfinder-konstanz.github.io/hugo-dpsg/"
7 | tags = ["blog", "responsive", "customizable", "widgets", "rss"]
8 | features = ["blog", "responsive", "widgets", "rss", "wordpress"]
9 | min_version = "0.132"
10 |
11 | # If the theme has multiple authors
12 | authors = [
13 | {name = "Max Mehl", homepage = "https://mehl.mx"},
14 | {name = "Vimux", homepage = "https://github.com/vimux"}
15 | ]
16 |
17 | # If porting an existing theme
18 | [original]
19 | name = "DPSG Wordpress Theme"
20 | homepage = "https://dpsg.de/de/leitende-mitarbeitende/oeffentlichkeitsarbeit/logos-material-vorlagen/wordpress-theme"
21 |
--------------------------------------------------------------------------------
/layouts/partials/authorbox.html:
--------------------------------------------------------------------------------
1 | {{- if .Param "authorbox" }}
2 |
3 | {{- if and (not .Site.Params.Author.avatar) (not .Site.Params.Author.name) (not .Site.Params.Author.bio) }}
4 |
5 | WARNING: Authorbox is activated, but [Author] parameters are not specified.
6 |
7 | {{- end }}
8 | {{- with .Site.Params.Author.avatar }}
9 |
10 |
11 |
12 | {{- end }}
13 | {{- with .Site.Params.Author.name }}
14 |
17 | {{- end }}
18 | {{- with .Site.Params.Author.bio }}
19 |
20 | {{ . | markdownify }}
21 |
22 | {{- end }}
23 |
24 | {{- end }}
--------------------------------------------------------------------------------
/layouts/sitemap.xml:
--------------------------------------------------------------------------------
1 |
3 | {{- range .Data.Pages -}}
4 | {{ if ne .Params.sitemap_hide true }}
5 |
6 | {{ .Permalink }} {{ if not .Lastmod.IsZero }}
7 | {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }} {{ end }}{{ with .Sitemap.ChangeFreq }}
8 | {{ . }} {{ end }}{{ if ge .Sitemap.Priority 0.0 }}
9 | {{ .Sitemap.Priority }} {{ end }}{{ if .IsTranslated }}{{ range .Translations }}
10 | {{ end }}
15 | {{ end }}
20 |
21 | {{ end }}
22 | {{- end -}}
23 |
24 |
--------------------------------------------------------------------------------
/layouts/_default/summary.html:
--------------------------------------------------------------------------------
1 |
2 | {{- if .Params.thumbnail }}
3 |
4 |
5 |
6 |
7 |
8 | {{- end }}
9 |
22 | {{- if eq .Params.summary "" }}
23 | {{- else }}
24 |
25 | {{ .Summary }}
26 |
27 | {{- end }}
28 | {{- if .Site.Params.readmore }}
29 | {{- if or (.Truncated) (not (eq .Params.summary "")) }}
30 |
33 | {{- end }}
34 | {{- end }}
35 |
36 |
--------------------------------------------------------------------------------
/layouts/_default/single.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 |
3 |
4 |
13 | {{- if .Site.Params.belowTitlePartial }}{{ partial .Site.Params.belowTitlePartial . }}{{ end }}
14 | {{- if and (.Params.thumbnail) (not .Params.thumbnail_hide_post) }}
15 |
16 |
17 |
18 | {{- end }}
19 | {{- partial "post_toc.html" . -}}
20 |
21 | {{ .Content }}
22 |
23 | {{- if .Params.tags }}
24 |
27 | {{- end }}
28 |
29 |
30 | {{ partial "authorbox.html" . }}
31 | {{ partial "pager.html" . }}
32 | {{ partial "comments.html" . }}
33 | {{ end }}
34 |
--------------------------------------------------------------------------------
/layouts/partials/logo.html:
--------------------------------------------------------------------------------
1 | {{- $logoTitle := .Site.Params.logo.title | default .Site.Title -}}
2 | {{- $logoSubtitle := .Site.Params.logo.subtitle | default .Site.Params.subtitle -}}
3 | {{- $logoImage := .Site.Params.logo.image -}}
4 | {{- $logoAlt := .Site.Params.logo.image_alt -}}
5 |
6 | {{- if or $logoTitle $logoImage }}
7 | {{/* Defined when logo is mixed (image + text) */}}
8 | {{- $logoMix := and $logoImage $logoTitle -}}
9 |
10 |
27 | {{- end }}
28 |
--------------------------------------------------------------------------------
/layouts/index.html:
--------------------------------------------------------------------------------
1 | {{ define "main" }}
2 |
3 | {{- with .Title }}
4 |
7 | {{- end }}
8 | {{- if .Site.Params.belowTitlePartial }}{{ partial .Site.Params.belowTitlePartial . }}{{ end }}
9 | {{- with .Content }}
10 |
11 | {{ . }}
12 |
13 | {{- end }}
14 | {{- if .Site.Params.indexPager -}}
15 | {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
16 | {{- range $paginator.Pages }}
17 | {{- .Render "summary" }}
18 | {{- end }}
19 | {{- if and (eq $paginator.TotalNumberOfElements 0) (not $.Content) }}
20 |
21 | {{ partial "svg/files.svg" (dict "class" "warning__icon") }}
22 |
{{ T "noposts_warning_title" | safeHTML }}
23 |
24 |
{{ T "noposts_warning_description" | safeHTML }}
25 |
{{ T "noposts_warning_tip" | safeHTML }}
26 |
27 |
28 | {{- end }}
29 | {{ partial "pagination.html" . }}
30 | {{- end }}
31 |
32 | {{ end }}
33 |
--------------------------------------------------------------------------------
/exampleSite/content/_index.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "Our local scout group"
3 | menu:
4 | main:
5 | name: "Home"
6 | weight: 1
7 | ---
8 |
9 | This is the index page.
10 |
11 | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu.
12 |
13 | In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus.
14 |
15 | Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc.
16 |
--------------------------------------------------------------------------------
/.github/workflows/deploy.yaml:
--------------------------------------------------------------------------------
1 | # Simple workflow for deploying static content to GitHub Pages
2 | name: Deploy static content to Pages
3 |
4 | on:
5 | # Runs on pushes targeting the default branch
6 | push:
7 | branches:
8 | - main
9 |
10 | # Allows you to run this workflow manually from the Actions tab
11 | workflow_dispatch:
12 |
13 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
14 | permissions:
15 | contents: read
16 | pages: write
17 | id-token: write
18 |
19 | # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
20 | # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
21 | concurrency:
22 | group: "pages"
23 | cancel-in-progress: false
24 |
25 | jobs:
26 | # Single deploy job since we're just deploying
27 | deploy:
28 | environment:
29 | name: github-pages
30 | url: ${{ steps.deployment.outputs.page_url }}
31 | runs-on: ubuntu-latest
32 | steps:
33 | - name: Checkout
34 | uses: actions/checkout@v4
35 | with:
36 | submodules: true # Fetch Hugo themes (true OR recursive)
37 | fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
38 | # Build the site
39 | - name: Setup Hugo
40 | uses: peaceiris/actions-hugo@v3
41 | with:
42 | hugo-version: "latest"
43 | extended: true
44 | - name: Build
45 | run: hugo
46 | # run in the exampleSite directory
47 | working-directory: ./exampleSite
48 | # Prepare GH Pages
49 | - name: Setup Pages
50 | uses: actions/configure-pages@v5
51 | # Upload built example site to GH Pages
52 | - name: Upload artifact
53 | uses: actions/upload-pages-artifact@v3
54 | with:
55 | path: "./exampleSite/public"
56 | - name: Deploy to GitHub Pages
57 | id: deployment
58 | uses: actions/deploy-pages@v4
59 |
--------------------------------------------------------------------------------
/exampleSite/content/configured-page.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Configured page
3 | slug: configured-page-custom-slug
4 | date: 2014-04-09
5 | authorbox: false
6 | sidebar: false
7 | toc: false
8 | menu:
9 | main:
10 | weight: 50
11 | ---
12 |
13 | This page does not contain:
14 | * sidebar
15 | * authorbox
16 | * table of content
17 |
18 | So it's very different from e.g. [this page]({{% relref "/news/basic-elements" %}}). Find all front-matter possibilities inside the theme's `README.md`.
19 |
20 | Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
21 |
22 | Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat.
23 |
24 | Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
25 |
--------------------------------------------------------------------------------
/i18n/zh-cn.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "阅读全文…"
4 |
5 | - id: menu_label
6 | translation: "菜单"
7 |
8 | - id: sidemenu_title
9 | translation: "菜单"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "最后修改"
14 |
15 | - id: meta_translations
16 | translation: "翻译"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "目录"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "上一篇"
25 |
26 | - id: post_nav_next
27 | translation: "下一篇"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "关于 {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "警告"
36 |
37 | - id: sidebar_recommendation
38 | translation: "请至少选择一个侧边栏组件"
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "搜索..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "语言"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "分类"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "近期文章"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "社交"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "标签"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation: "基于 Hugo 引擎和 \
67 | DPSG 主題"
68 |
69 | # 404
70 | - id: 404_title
71 | translation: "404. 抱歉,找不到您要找的页面"
72 |
73 | - id: 404_text
74 | translation: "您要找的页面可能已经被移除、刪除或不存在,不妨去首页搜索一下吧。"
75 |
76 | - id: 404_linktext
77 | translation: "回到首页"
78 |
79 | # No posts empty state
80 | - id: noposts_warning_title
81 | translation: "目前还没有任何内容!"
82 |
83 | - id: noposts_warning_description
84 | translation:
85 | "在 content 目录下的任意文件夹(板块)中发布内容后,它就会显示在这里。\
86 | 只有一个板块的内容(默认文章最多的文件夹)会显示在主页面上"
87 |
88 | - id: noposts_warning_tip
89 | translation:
90 | "提示: 您可以通过 \
91 | mainSections \
92 | 参数来控制展示您想要展示的板块内容。"
93 |
--------------------------------------------------------------------------------
/i18n/zh-tw.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "閱讀全文…"
4 |
5 | - id: menu_label
6 | translation: "選單"
7 |
8 | - id: sidemenu_title
9 | translation: "選單"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "最後修改"
14 |
15 | - id: meta_translations
16 | translation: "翻譯"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "內文"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "前一則"
25 |
26 | - id: post_nav_next
27 | translation: "下一則"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "關於 {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "警告"
36 |
37 | - id: sidebar_recommendation
38 | translation: "請至少選擇一個側邊欄元件"
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "搜尋..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "語言"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "分類"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "近期文章"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "社群"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "標籤"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "使用 Hugo 技術與 \
68 | DPSG 主題"
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. 糟糕!我們似乎無法找到您要找的頁面。"
73 |
74 | - id: 404_text
75 | translation: "您要找的頁面可能已經被移除、刪除或是不存在。請回到首頁或是使用搜尋功能。"
76 |
77 | - id: 404_linktext
78 | translation: "回到首頁"
79 |
80 | # No posts empty state
81 | - id: noposts_warning_title
82 | translation: "目前還沒有任何内容!"
83 |
84 | - id: noposts_warning_description
85 | translation:
86 | "在 content 目錄下的任意資料夾(區塊)中發布内容後,就會被顯示在此處。\
87 | 其中只有一個區塊的内容(預設是擁有文章數量最多的資料夾)會被顯示在主要頁面上"
88 |
89 | - id: noposts_warning_tip
90 | translation:
91 | "提示: 您可以透過 \
92 | mainSections \
93 | 參數來控制所要展示的區塊內容。"
94 |
--------------------------------------------------------------------------------
/i18n/ja.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "続きを読む…"
4 |
5 | - id: menu_label
6 | translation: "メニュー"
7 |
8 | - id: sidemenu_title
9 | translation: "メニュー"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "最終更新"
14 |
15 | - id: meta_translations
16 | translation: "翻訳"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "目次"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "前の投稿"
25 |
26 | - id: post_nav_next
27 | translation: "次の投稿"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "{{ .Name }}について"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "警告"
36 |
37 | - id: sidebar_recommendation
38 | translation: "1つ以上のサイドバーウィジェットを有効にしてください。"
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "検索..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "言語"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "カテゴリー"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "最近の投稿"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "ソーシャル"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "タグ"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "このサイトは Hugo と \
68 | DPSG \
69 | テーマで生成されています。"
70 |
71 | # 404
72 | - id: 404_title
73 | translation: "404. ページが見つかりません"
74 |
75 | - id: 404_text
76 | translation:
77 | "お探しのページは移動されたか削除された、もしくは存在しないようです。検索するか、こちらのページに移動してください: "
78 |
79 | - id: 404_linktext
80 | translation: "メインページ"
81 |
82 | # No posts empty state
83 | - id: noposts_warning_title
84 | translation: "まだ何も投稿していません!"
85 |
86 | - id: noposts_warning_description
87 | translation:
88 | "content 以下のどこかのディレクトリに投稿を追加するとここに表示されます。デフォルトでは(最も投稿の多い)1つのセクション \
89 | だけがメインページに表示されます。"
90 |
91 | - id: noposts_warning_tip
92 | translation:
93 | "ヒント: 設定のパラメーター \
94 | mainSections \
95 | を使って好きな数だけセクションを表示させることもできます。"
96 |
--------------------------------------------------------------------------------
/i18n/nl.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Meer lezen…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Laatst gewijzigd"
14 |
15 | - id: meta_translations
16 | translation: "Vertalingen"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Inhoud"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Vorige"
25 |
26 | - id: post_nav_next
27 | translation: "Volgende"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Over {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "WAARSCHUWING"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Activeer minstens één sidebar widget."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "ZOEKEN..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Talen"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Categorieën"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Recente posts"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Social"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Tags"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Gegenereerd met Hugo en het \
68 | DPSG theme."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Pagina niet gevonden"
73 |
74 | - id: 404_text
75 | translation: "De pagina is mogelijk verplaatst, verwijderd of bestaat niet. Gebruik de zoekfunctie of \"ga naar\""
76 |
77 | - id: 404_linktext
78 | translation: "hoofdpagina"
79 |
80 | # No posts empty state
81 | - id: noposts_warning_title
82 | translation: "Er zijn nog geen posts!"
83 |
84 | - id: noposts_warning_description
85 | translation:
86 | "Zodra je iets post in welke map (sectie) dan ook onder de content directory, zal het hier verschijnen. \
87 | Slechts één sectie (met de meeste posts) zal standaard getoond worden op de hoofdpagina."
88 |
89 | - id: noposts_warning_tip
90 | translation:
91 | "Tip: Je kunt zoveel secties laten zien als je wilt met de \
92 | mainSections \
93 | config parameter."
94 |
--------------------------------------------------------------------------------
/i18n/es.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Leer más"
4 |
5 | - id: menu_label
6 | translation: "Menú"
7 |
8 | - id: sidemenu_title
9 | translation: "Menú"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Última modificación"
14 |
15 | - id: meta_translations
16 | translation: "Traducciones"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Índice"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Anterior"
25 |
26 | - id: post_nav_next
27 | translation: "Siguiente"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Sobre el autor {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "Atención"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Activa al menos un widget en la barra lateral."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "Buscar..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Idiomas"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Categorías"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Más Recientes"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Social"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Etiquetas"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Generado con Hugo y \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Página no encontrada"
73 |
74 | - id: 404_text
75 | translation: "La página que estás buscando no aparece, no existe o se ha movido a otro lugar."
76 |
77 | - id: 404_linktext
78 | translation: "Página principal"
79 |
80 | # No posts empty state
81 | - id: noposts_warning_title
82 | translation: "¡Todavía no hay publicaciones!"
83 |
84 | - id: noposts_warning_description
85 | translation:
86 | "Una vez que publiques algo en cualquier carpeta (sección) dentro del directorio content , se verá aquí. \
87 | Sólo una sección (la que tenga más publicaciones) se mostrará por defecto en la página principal."
88 |
89 | - id: noposts_warning_tip
90 | translation:
91 | "Aviso: Puedes mostrar tantas secciones como gustes con el parámetro de configuración \
92 | mainSections ."
93 |
--------------------------------------------------------------------------------
/i18n/vi.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Đọc tiếp…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Cập nhật lần cuối"
14 |
15 | - id: meta_translations
16 | translation: "Bản dịch"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Mục lục"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Trước"
25 |
26 | - id: post_nav_next
27 | translation: "Sau"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Về {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "CÁNH BÁO"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Vui lòng tạo hoặc kích hoạt tối thiểu một thành phần trong thanh bên."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "TÌM KIẾM..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Ngôn ngữ"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Chủ đề"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Bài viết gần đây"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Xã hội"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Thẻ"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Được tạo từ Hugo sử dụng với \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Không tìm thấy trang này"
73 |
74 | - id: 404_text
75 | translation:
76 | "Trang bạn đang tìm kiếm đã bị xoá hoặc không tồn tại. Vui lòng sử dụng chức năng tìm kiếm"
77 |
78 | - id: 404_linktext
79 | translation: "trang chủ"
80 |
81 | # No posts empty state
82 | - id: noposts_warning_title
83 | translation: "Bạn chưa có bài viết nào!"
84 |
85 | - id: noposts_warning_description
86 | translation:
87 | "Khi bạn xuất bản bất kì bài viết nào trong bất kì thư mục nào trong thư mục content , nó sẽ xuất hiện tại đây.\
88 | Mặc định chỉ một phần của bài viết sẽ được xuất hiện trong trang chủ cho hầu hết các bài viết."
89 |
90 | - id: noposts_warning_tip
91 | translation:
92 | "Gợi ý: Bạn có thể hiện bao nhiêu phần tuỳ ý bằng tham số parameter \
93 | mainSections ."
94 |
--------------------------------------------------------------------------------
/i18n/mk.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Читај повеќе…"
4 |
5 | - id: menu_label
6 | translation: "Мени"
7 |
8 | - id: sidemenu_title
9 | translation: "Мени"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Последна промена"
14 |
15 | - id: meta_translations
16 | translation: "Преводи"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Содржина"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Претходна"
25 |
26 | - id: post_nav_next
27 | translation: "Следна"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "За {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "ВНИМАНИЕ"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Ве молам, активирајте најмалку еден страничен елемент."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "Пребарувај..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Јазици"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Категории"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Скорешни написи"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Социјални"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Ознаки"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Направено со Hugo и тема \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Страницата не е најдена"
73 |
74 | - id: 404_text
75 | translation:
76 | "Страницата која ја баравте личи дека е поместена, избришана или не постои. Ве молам, користите го полето Барај \
77 | или Оди"
78 |
79 | - id: 404_linktext
80 | translation: "главна страница"
81 |
82 | # No posts empty state
83 | - id: noposts_warning_title
84 | translation: "Сѐ уште немате написи!"
85 |
86 | - id: noposts_warning_description
87 | translation:
88 | "Штом објавите напис во било кој директориум (секција) под директориумот content , тој ќе се појави тука. \
89 | Предефинирано само една секција (со најмногу написи) ќе се прикаже на главната страница."
90 |
91 | - id: noposts_warning_tip
92 | translation:
93 | "Препорака: Може да прикажете колку сакате секции со конфигурацискиот параметар \
94 | mainSections ."
95 |
--------------------------------------------------------------------------------
/i18n/cs.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Číst více…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Naposledy upraveno"
14 |
15 | - id: meta_translations
16 | translation: "Překlady"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Obsah stránky"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Předchozí"
25 |
26 | - id: post_nav_next
27 | translation: "Následující"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "O {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "POZOR"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Prosím aktivujte aspoň jeden widget postranní lišty."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "Hledat..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Jazyky"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Kategorie"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Poslední příspěvky"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Sociální sítě"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Štítky"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Vytvořeno pomocí Hugo a tématu \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Stránka nebyla nalezena"
73 |
74 | - id: 404_text
75 | translation:
76 | "Požadovaná stránka neexistuje, nebo byla přesunuta či smazána. Využijte, prosím, vyhledávání, nebo pokračujte na"
77 |
78 | - id: 404_linktext
79 | translation: "hlavní stránka"
80 |
81 | # No posts empty state
82 | - id: noposts_warning_title
83 | translation: "Zatím nemáte žádné příspěvky!"
84 |
85 | - id: noposts_warning_description
86 | translation:
87 | "Jakmile vytvoříte příspěvek v libovolném podadresáři (sekci) adresáře content , objeví se zde. Ve výchozím \
88 | nastavení je na hlavní stránce zobrazena pouze jedna sekce (s největším množstvím příspěvků)."
89 |
90 | - id: noposts_warning_tip
91 | translation:
92 | "Tip: Pomocí parametru \
93 | mainSections \
94 | můžete zobrazit libovolný počet sekcí."
95 |
--------------------------------------------------------------------------------
/i18n/pt.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Leia mais…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Última modificação"
14 |
15 | - id: meta_translations
16 | translation: "Traduções"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Conteúdo da página"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Anterior"
25 |
26 | - id: post_nav_next
27 | translation: "Próximo"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Sobre {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "ATENÇÃO"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Ative pelo menos um widget da barra lateral."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "BUSCAR..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Línguas"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Categorias"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Postagens recentes"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Social"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Tags"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Gerado com Hugo com o tema \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Página não encontrada"
73 |
74 | - id: 404_text
75 | translation:
76 | "A página que você estava procurando parece ter sido excluída ou não existe. Por favor, use a pesquisa ou vá para"
77 |
78 | - id: 404_linktext
79 | translation: "página principal"
80 |
81 | # No posts empty state
82 | - id: noposts_warning_title
83 | translation: "Você ainda não tem nenhuma postagem!"
84 |
85 | - id: noposts_warning_description
86 | translation:
87 | "Quando você criar uma postagem em qualquer pasta (seção) dentro do diretório content , ele vai aparecer aqui. \
88 | Apenas uma seção (a que conter mais postagens) será exibida na página principal por padrão."
89 |
90 | - id: noposts_warning_tip
91 | translation:
92 | "Dica: Você pode mostrar quantas seções você quiser com o parâmetro de configuração \
93 | mainSections ."
94 |
--------------------------------------------------------------------------------
/i18n/pt-br.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Leia mais…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Última modificação"
14 |
15 | - id: meta_translations
16 | translation: "Traduções"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Conteúdo da página"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Anterior"
25 |
26 | - id: post_nav_next
27 | translation: "Próximo"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Sobre {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "ATENÇÃO"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Ative pelo menos um widget da barra lateral."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "BUSCAR..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Línguas"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Categorias"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Postagens recentes"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Social"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Tags"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Gerado com Hugo com o tema \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Página não encontrada"
73 |
74 | - id: 404_text
75 | translation:
76 | "A página que você estava procurando parece ter sido excluída ou não existe. Por favor, use a pesquisa ou vá para"
77 |
78 | - id: 404_linktext
79 | translation: "página principal"
80 |
81 | # No posts empty state
82 | - id: noposts_warning_title
83 | translation: "Você ainda não tem nenhuma postagem!"
84 |
85 | - id: noposts_warning_description
86 | translation:
87 | "Quando você criar uma postagem em qualquer pasta (seção) dentro do diretório content , ele vai aparecer aqui. \
88 | Apenas uma seção (a que conter mais postagens) será exibida na página principal por padrão."
89 |
90 | - id: noposts_warning_tip
91 | translation:
92 | "Dica: Você pode mostrar quantas seções você quiser com o parâmetro de configuração \
93 | mainSections ."
94 |
--------------------------------------------------------------------------------
/i18n/hu.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Tovább olvas…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Utoljára módosítva"
14 |
15 | - id: meta_translations
16 | translation: "Fordítások"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Az oldal tartalma"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Előző"
25 |
26 | - id: post_nav_next
27 | translation: "Következő"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "A {{ .Name }} -ról"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "FIGYELMEZTETÉS"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Kérjük, aktiváljon legalább egy oldalsáv-modult."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "KERES..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Nyelvek"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Kategóriák"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Legutóbbi bejegyzések"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Közösség"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Cimkék"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Létrehozva Hugo és \
68 | DPSG témával."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Az oldal nem található"
73 |
74 | - id: 404_text
75 | translation:
76 | "Úgy tűnik, hogy a kívánt oldalt áthelyezték, törölték vagy nem létezik. Kérjük, használja a keresést, vagy lépjen \
77 | ide"
78 |
79 | - id: 404_linktext
80 | translation: "főoldal"
81 |
82 | # No posts empty state
83 | - id: noposts_warning_title
84 | translation: "Még nincs bejegyzésed!"
85 |
86 | - id: noposts_warning_description
87 | translation:
88 | "Ha valamit a content könyvtár alatti mappába (szakaszba) közzéteszel, az itt jelenik meg. Csak egy szakasz \
89 | (a legtöbb hozzászólással) jelenik meg a főoldalon alapértelmezés szerint."
90 |
91 | - id: noposts_warning_tip
92 | translation:
93 | "Tipp: Megjeleníthet annyi szakaszt, amennyit csak akar a \
94 | mainSections \
95 | konfigurációs paraméterrel."
96 |
--------------------------------------------------------------------------------
/i18n/it.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Continua a leggere…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Ultima modifica"
14 |
15 | - id: meta_translations
16 | translation: "Traduzioni"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Indice"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Precedente"
25 |
26 | - id: post_nav_next
27 | translation: "Prossimo"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Riguardo {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "ATTENZIONE"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Si prega di attivare almeno un widget della barra laterale."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "CERCA..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Lingue"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Categorie"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Post recenti"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Social"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Tag"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Generato con Hugo e il tema \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Pagina non trovata"
73 |
74 | - id: 404_text
75 | translation:
76 | "La pagina che stai cercando sembra essere stata spostata, rimossa o non esiste. Si prega di usare la ricerca o \
77 | andare alla"
78 |
79 | - id: 404_linktext
80 | translation: "pagina principale"
81 |
82 | # No posts empty state
83 | - id: noposts_warning_title
84 | translation: "Non hai ancora nessun post!"
85 |
86 | - id: noposts_warning_description
87 | translation:
88 | "Una volta pubblicato qualcosa in una qualsiasi cartella (sezione) dentro la directory content , apparirà \
89 | qui. Solo una sezione (quella con più post) verrà mostrata in modo predefinito nella pagina principale."
90 |
91 | - id: noposts_warning_tip
92 | translation:
93 | "Suggerimento: Puoi mostrare quante sezioni vuoi con il parametro \
94 | mainSections ."
95 |
--------------------------------------------------------------------------------
/i18n/fr.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Lire la suite…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Dernière modification"
14 |
15 | - id: meta_translations
16 | translation: "Traductions"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Sommaire"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Précédent"
25 |
26 | - id: post_nav_next
27 | translation: "Suivant"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "À propos {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "Attention"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Activez au moins un widget pour la barre latérale."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "Rechercher..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Langues"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Catégories"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Articles récents"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Social"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Mots-clefs"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Produit par Hugo et le thème \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Page introuvable."
73 |
74 | - id: 404_text
75 | translation: "La page que vous recherchez a apparemment été supprimée, déplacée, ou n'existe pas."
76 |
77 | - id: 404_linktext
78 | translation: "Accueil"
79 |
80 | # No posts empty state
81 | - id: noposts_warning_title
82 | translation: "Vous n'avez pas encore de posts!"
83 |
84 | - id: noposts_warning_description
85 | translation:
86 | "Une fois que vous avez publié quelque chose dans n'importe quel sous-dossier (section) du dossier content , \
87 | ça apparaîtra ici. par défaut, une seule section (Celle avec le plus de posts) sera affichée sur la page \
88 | principale."
89 |
90 | - id: noposts_warning_tip
91 | translation:
92 | "Astuce: Vous pouvez afficher autant de sections que vous voulez avec le paramètre de configuration \
93 | mainSections ."
94 |
--------------------------------------------------------------------------------
/layouts/_default/baseof.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | {{ block "title" . }}{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}{{ end }}
8 |
9 |
10 | {{- if .Site.Params.opengraph }}
11 | {{ if and (not .Params.images) (.Params.thumbnail) }} {{ end }}
12 | {{ template "_internal/opengraph.html" . }}
13 | {{- end }}
14 | {{- if .Site.Params.schema }}
15 | {{ template "_internal/schema.html" . }}
16 | {{- end }}
17 | {{- if .Site.Params.twitter_cards }}
18 | {{ if and (not .Params.images) (.Params.thumbnail) }} {{ end }}
19 | {{ template "_internal/twitter_cards.html" . }}
20 | {{- end }}
21 |
22 | {{ $style := resources.Get "css/style.css" | resources.ExecuteAsTemplate "css/style.css" . -}}
23 |
24 | {{- range .Site.Params.customCSS }}
25 |
26 | {{- end }}
27 | {{- range .Params.customCSS }}
28 |
29 | {{- end }}
30 |
31 | {{- with .OutputFormats.Get "rss" }}
32 | {{ printf ` ` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
33 | {{- end }}
34 |
35 | {{ partial "favicon" . }}
36 | {{ partial "perpagehead" . }}
37 | {{- if not hugo.IsServer }}
38 | {{ template "_internal/google_analytics.html" . }}
39 | {{- end }}
40 |
41 |
42 | {{ partial "header" . }}
43 |
44 |
45 | {{ block "main" . }}
46 | {{ with .Content }}
47 |
48 | {{ . }}
49 |
50 | {{ end }}
51 | {{ end }}
52 |
53 | {{ partial "sidebar.html" . }}
54 |
55 | {{ partial "footer" . }}
56 |
57 | {{ range .Site.Params.customJS -}}
58 |
59 | {{- end }}
60 | {{ if .Site.Params.customPartial }}{{ partial .Site.Params.customPartial . }}{{ end }}
61 | {{ partial "perpagebody" . }}
62 |
63 |
64 |
--------------------------------------------------------------------------------
/i18n/bg.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Чети нататък…"
4 |
5 | - id: menu_label
6 | translation: "Меню"
7 |
8 | - id: sidemenu_title
9 | translation: "Меню"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Последна промяна"
14 |
15 | - id: meta_translations
16 | translation: "Преводи"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Съдържание"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Предишна"
25 |
26 | - id: post_nav_next
27 | translation: "Следваща"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "За {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "ПРЕДУПРЕЖДЕНИЕ"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Моля, активирай поне един блок в страничния панел."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "ТЪРСЕНЕ..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Езици"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Категории"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Последни писания"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Социални"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Тагове"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Генерирано с Hugo и тема \
68 | DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Страницата не е намерена"
73 |
74 | - id: 404_text
75 | translation:
76 | "Страницата, която търсите, изглежда е била преместена, изтрита, или не съществува. Моля, използвайте полето за \
77 | търсене или отидете на"
78 |
79 | - id: 404_linktext
80 | translation: "главна страница"
81 |
82 | # No posts empty state
83 | - id: noposts_warning_title
84 | translation: "Все още нямаш никакви писания!"
85 |
86 | - id: noposts_warning_description
87 | translation:
88 | "След като запишеш нещо в коя да е поддиректория (секция) на директория content , то ще се появи тук. По \
89 | подразбиране само една секция (с най-многото писания) ще се показва на главната страница."
90 |
91 | - id: noposts_warning_tip
92 | translation:
93 | "Tip: Можеш да покажеш колкото искаш на брой секции, като ги укажеш в конфигурационния параметър \
94 | mainSections ."
95 |
--------------------------------------------------------------------------------
/i18n/en.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Read more…"
4 |
5 | - id: menu_label
6 | translation: "Menu"
7 |
8 | - id: sidemenu_title
9 | translation: "Menu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Last Modified"
14 |
15 | - id: meta_translations
16 | translation: "Translations"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Page content"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Previous"
25 |
26 | - id: post_nav_next
27 | translation: "Next"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "About {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "WARNING"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Please activate at least one sidebar widget."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "SEARCH..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Languages"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Categories"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Recent Posts"
55 |
56 | # Recent Photos widget
57 | - id: recent_photos_title
58 | translation: "Recent Photos"
59 |
60 | # Social widget
61 | - id: social_title
62 | translation: "Social"
63 |
64 | # Tags List widget
65 | - id: tags_title
66 | translation: "Tags"
67 |
68 | # Footer
69 | - id: footer_credits
70 | translation:
71 | "Generated with Hugo and \
72 | DPSG theme."
73 |
74 | # 404
75 | - id: 404_title
76 | translation: "404. Page not found"
77 |
78 | - id: 404_text
79 | translation:
80 | "The page you were looking for appears to have been moved, deleted or does not exist. Please, use search or go to"
81 |
82 | - id: 404_linktext
83 | translation: "main page"
84 |
85 | # No posts empty state
86 | - id: noposts_warning_title
87 | translation: "You don't have any posts yet!"
88 |
89 | - id: noposts_warning_description
90 | translation:
91 | "Once you post something in any folder (section) under the content directory, it will appear here. Only one \
92 | section (with the most posts) will be displayed on the main page by default."
93 |
94 | - id: noposts_warning_tip
95 | translation:
96 | "Tip: You can show as many sections as you like with \
97 | mainSections \
98 | config parameter."
99 |
--------------------------------------------------------------------------------
/i18n/uk.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Читати далі…"
4 |
5 | - id: menu_label
6 | translation: "Меню"
7 |
8 | - id: sidemenu_title
9 | translation: "Меню"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Останні зміни"
14 |
15 | - id: meta_translations
16 | translation: "Переклади"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Вміст сторінки"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Назад"
25 |
26 | - id: post_nav_next
27 | translation: "Далі"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Про автора {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "УВАГА"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Будь ласка, активуйте принаймні один віджет на боковій панелі."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "ПОШУК..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Мови"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Категорії"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Нещодавні публікації"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Соціальні мережі"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Теги"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Створено за допомогою Hugo \
68 | і теми DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Сторінку не знайдено"
73 |
74 | - id: 404_text
75 | translation:
76 | "Схоже, що сторінку, яку ви шукали, було переміщено, видалено або ж її ніколи не існувало. Будь ласка, \
77 | скористайтесь пошуком або перейдіть до"
78 |
79 | - id: 404_linktext
80 | translation: "головної сторінки"
81 |
82 | # No posts empty state
83 | - id: noposts_warning_title
84 | translation: "У вас немає жодної публікації!"
85 |
86 | - id: noposts_warning_description
87 | translation:
88 | "Як тільки ви опублікуєте щось в будь-якій папці (розділі) всередині директорії content , воно з'явиться \
89 | тут. За замовчуванням на головній сторінці буде відображатись лише один розділ (з найбільшою кількістю публікацій)"
90 |
91 | - id: noposts_warning_tip
92 | translation:
93 | "Порада: Ви можете показувати будь-яку кількість розілів за допомогою параметру конфігурації \
94 | mainSections ."
95 |
--------------------------------------------------------------------------------
/i18n/de.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Weiterlesen…"
4 |
5 | - id: menu_label
6 | translation: "Menü"
7 |
8 | - id: sidemenu_title
9 | translation: "Menü"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Zuletzt geändert"
14 |
15 | - id: meta_translations
16 | translation: "Übersetzungen"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Inhaltsverzeichnis"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Zurück"
25 |
26 | - id: post_nav_next
27 | translation: "Weiter"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Über {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "WARNUNG"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Bitte aktivieren sie mindestens ein Widget."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "Suche..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Sprachen"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Kategorien"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Letzte Beiträge"
55 |
56 | # Recent Photos widget
57 | - id: recent_photos_title
58 | translation: "Neueste Fotos"
59 |
60 | # Social widget
61 | - id: social_title
62 | translation: "Soziale Netzwerke"
63 |
64 | # Tags List widget
65 | - id: tags_title
66 | translation: "Tags"
67 |
68 | # Footer
69 | - id: footer_credits
70 | translation:
71 | "Erstellt mit Hugo und \
72 | DPSG Theme."
73 |
74 | # 404
75 | - id: 404_title
76 | translation: "404. Seite nicht gefunden"
77 |
78 | - id: 404_text
79 | translation:
80 | "Die gesuchte Seite existiert nicht, wurde verschoben oder gelöscht. Bitte nutzen Sie die Suche oder gehen Sie zur"
81 |
82 | - id: 404_linktext
83 | translation: "Startseite"
84 |
85 | # No posts empty state
86 | - id: noposts_warning_title
87 | translation: "Es gibt noch keine Posts!"
88 |
89 | - id: noposts_warning_description
90 | translation:
91 | "Hier erscheinen Posts, die in einem Unterordner des content/ Ordners abgelegt werden (z.B. in \
92 | content/post ). Standardmäßig werden nur Posts der Gruppe mit den meisten Einträgen angezeigt."
93 |
94 | - id: noposts_warning_tip
95 | translation:
96 | "Tipp: Mit dem \
97 | mainSections \
98 | Parameter lassen sich beliebig viele weitere Gruppen konfigurieren."
99 |
--------------------------------------------------------------------------------
/i18n/ru.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Читать далее…"
4 |
5 | - id: menu_label
6 | translation: "Меню"
7 |
8 | - id: sidemenu_title
9 | translation: "Меню"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "Последнее изменение"
14 |
15 | - id: meta_translations
16 | translation: "Переводы"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Содержимое страницы"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Назад"
25 |
26 | - id: post_nav_next
27 | translation: "Вперед"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Об авторе {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "ВНИМАНИЕ"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Пожалуйста, активируйте как минимум один виджет боковой панели."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "ПОИСК..."
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Языки"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Категории"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Недавние публикации"
55 |
56 | # Social widget
57 | - id: social_title
58 | translation: "Социальные сети"
59 |
60 | # Tags List widget
61 | - id: tags_title
62 | translation: "Теги"
63 |
64 | # Footer
65 | - id: footer_credits
66 | translation:
67 | "Сгенерировано с использованием Hugo \
68 | и темы DPSG ."
69 |
70 | # 404
71 | - id: 404_title
72 | translation: "404. Страница не найдена"
73 |
74 | - id: 404_text
75 | translation:
76 | "Страница, которую вы искали, по-видимому, была перемещена, удалена или не существовала вообще. Пожалуйста, \
77 | используйте поиск или перейдите на"
78 |
79 | - id: 404_linktext
80 | translation: "главную страницу"
81 |
82 | # No posts empty state
83 | - id: noposts_warning_title
84 | translation: "У вас нет ни одной публикации!"
85 |
86 | - id: noposts_warning_description
87 | translation:
88 | "Как только вы опубликуете что-нибудь в любой папке (разделе) внутри директории content , оно появится \
89 | здесь. По-умолчанию на главной странице будет отображаться только один раздел (с наибольшим количеством \
90 | публикаций)."
91 |
92 | - id: noposts_warning_tip
93 | translation:
94 | "Совет: Вы можете отображать сколько угодно разделов с помощью параметра конфигурации \
95 | mainSections ."
96 |
--------------------------------------------------------------------------------
/i18n/lt.yaml:
--------------------------------------------------------------------------------
1 | # General
2 | - id: read_more
3 | translation: "Skaityti toliau…"
4 |
5 | - id: menu_label
6 | translation: "Meniu"
7 |
8 | - id: sidemenu_title
9 | translation: "Meniu"
10 |
11 | # Post meta
12 | - id: meta_lastmod
13 | translation: "paskutinis taisymas"
14 |
15 | - id: meta_translations
16 | translation: "Vertimai"
17 |
18 | # Table of Contents
19 | - id: toc_title
20 | translation: "Tinklalapio turinys"
21 |
22 | # Post nav
23 | - id: post_nav_prev
24 | translation: "Ankstesnis"
25 |
26 | - id: post_nav_next
27 | translation: "Kitas"
28 |
29 | # Authorbox
30 | - id: authorbox_name
31 | translation: "Autorius: {{ .Name }}"
32 |
33 | # Sidebar
34 | - id: sidebar_warning
35 | translation: "DĖMESIO"
36 |
37 | - id: sidebar_recommendation
38 | translation: "Aktyvinkite bent vieną šoninės juostos bloką."
39 |
40 | # Search widget
41 | - id: search_placeholder
42 | translation: "IEŠKOTI…"
43 |
44 | # Languages widget
45 | - id: languages_title
46 | translation: "Kalbos"
47 |
48 | # Categories widget
49 | - id: categories_title
50 | translation: "Kategorijos"
51 |
52 | # Recent Posts widget
53 | - id: recent_title
54 | translation: "Naujausi įrašai"
55 |
56 | # Recent Photos widget
57 | - id: recent_photos_title
58 | translation: "Naujausios nuotraukos"
59 |
60 | # Social widget
61 | - id: social_title
62 | translation: "Socialiniai tinklai"
63 |
64 | # Tags List widget
65 | - id: tags_title
66 | translation: "Žymos"
67 |
68 | # Footer
69 | - id: footer_credits
70 | translation:
71 | "Sugeneruota naudojant „Hugo“ ir \
72 | DPSG temą."
73 |
74 | # 404
75 | - id: 404_title
76 | translation: "404. Tinklalapis nerastas"
77 |
78 | - id: 404_text
79 | translation:
80 | "Tinklalapis, kurį bandote atverti, perkeltas, pašalintas, arba tiesiog neegzistuoja. Prašom pasinaudoti paieška arba eiti į"
81 |
82 | - id: 404_linktext
83 | translation: "pradžios tinklalapį"
84 |
85 | # No posts empty state
86 | - id: noposts_warning_title
87 | translation: "Jūs neturite jokių įrašų!"
88 |
89 | - id: noposts_warning_description
90 | translation:
91 | "Kai ką nors paskelbsite bet kuriame aplanko content poaplankyje (sekcijoje), tą turinį matysite čia. \
92 | Numatytuoju atveju pradžios tinklalapyje bus rodoma tik viena sekcija (turinti daugiausia įrašų)."
93 |
94 | - id: noposts_warning_tip
95 | translation:
96 | "Pastaba: norimą rodyti sekcijų kiekį galite keisti \
97 | mainSections \
98 | konfigūracijos parametro pagalba."
99 |
--------------------------------------------------------------------------------
/exampleSite/content/news/hugoisforlovers.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Getting Started with Hugo
3 | date: 2014-04-02
4 | tags:
5 | - "go"
6 | - "golang"
7 | - "hugo"
8 | - "development"
9 | categories:
10 | - "Development"
11 | - "golang"
12 | ---
13 |
14 | ## Step 1. Install Hugo
15 |
16 | Go to [Hugo releases](https://github.com/spf13/hugo/releases) and download the
17 | appropriate version for your OS and architecture.
18 |
19 | Save it somewhere specific as we will be using it in the next step.
20 |
21 | More complete instructions are available at [Install Hugo](https://gohugo.io/getting-started/installing/)
22 |
23 | ## Step 2. Build the Docs
24 |
25 | Hugo has its own example site which happens to also be the documentation site
26 | you are reading right now.
27 |
28 | Follow the following steps:
29 |
30 | 1. Clone the [Hugo repository](https://github.com/spf13/hugo)
31 | 2. Go into the repo
32 | 3. Run hugo in server mode and build the docs
33 | 4. Open your browser to http://localhost:1313
34 |
35 | Corresponding pseudo commands:
36 |
37 | git clone https://github.com/spf13/hugo
38 | cd hugo
39 | /path/to/where/you/installed/hugo server --source=./docs
40 | > 29 pages created
41 | > 0 tags index created
42 | > in 27 ms
43 | > Web Server is available at http://localhost:1313
44 | > Press ctrl+c to stop
45 |
46 | Once you've gotten here, follow along the rest of this page on your local build.
47 |
48 | ## Step 3. Change the docs site
49 |
50 | Stop the Hugo process by hitting Ctrl+C.
51 |
52 | Now we are going to run hugo again, but this time with hugo in watch mode.
53 |
54 | /path/to/hugo/from/step/1/hugo server --source=./docs --watch
55 | > 29 pages created
56 | > 0 tags index created
57 | > in 27 ms
58 | > Web Server is available at http://localhost:1313
59 | > Watching for changes in /Users/spf13/Code/hugo/docs/content
60 | > Press ctrl+c to stop
61 |
62 |
63 | Open your [favorite editor](http://vim.spf13.com) and change one of the source
64 | content pages. How about changing this very file to *fix the typo*. How about changing this very file to *fix the typo*.
65 |
66 | Content files are found in `docs/content/`. Unless otherwise specified, files
67 | are located at the same relative location as the url, in our case
68 | `docs/content/overview/quickstart.md`.
69 |
70 | Change and save this file.. Notice what happened in your terminal.
71 |
72 | > Change detected, rebuilding site
73 |
74 | > 29 pages created
75 | > 0 tags index created
76 | > in 26 ms
77 |
78 | Refresh the browser and observe that the typo is now fixed.
79 |
80 | Notice how quick that was. Try to refresh the site before it's finished building. I double dare you.
81 | Having nearly instant feedback enables you to have your creativity flow without waiting for long builds.
82 |
83 | ## Step 4. Have fun
84 |
85 | The best way to learn something is to play with it.
86 |
--------------------------------------------------------------------------------
/exampleSite/config.toml:
--------------------------------------------------------------------------------
1 | # Configure base URL. if using gh-pages https://github.com//hugo-dpsg URL: https://.github.io/hugo-dpsg/
2 | baseurl = "https://pfadfinder-konstanz.github.io/hugo-dpsg/"
3 | title = "Hugo DPSG"
4 | paginate = "10" # Number of posts per page
5 | theme = "hugo-dpsg"
6 | # Change/remove themesDir, the current location is for deploying the demo page only
7 | themesDir = "../.."
8 | # Language settings
9 | languageCode = "en"
10 | DefaultContentLanguage = "en"
11 |
12 | [permalinks]
13 | news = "post/:year/:slug/"
14 | fotos = "fotos/:year/:slug/"
15 |
16 | [Params]
17 | description = "Welcome to our scout group!" # Site description. Used in meta description
18 | copyright = "DGSP local group" # Footer copyright holder, otherwise will use site title
19 | opengraph = true # Enable OpenGraph if true
20 | schema = true # Enable Schema
21 | twitter_cards = true # Enable Twitter Cards if true
22 | readmore = false # Show "Read more" button in list if true
23 | authorbox = true # Show authorbox at bottom of pages if true
24 | toc = true # Enable Table of Contents
25 | pager = true # Show pager navigation (prev/next links) at the bottom of pages if true
26 | indexPager = true # Show pager navigation on index page
27 | post_meta = ["author", "date", "categories", "translations"] # Order of post meta information
28 | mainSections = ["post", "blog", "news"] # Specify section pages to show on home page and the "Recent articles" widget
29 | dateformat = "02.01.2006" # Change the format of dates
30 | customCSS = [] # Include custom CSS files
31 | customJS = [] # Include custom JS files
32 | # customPartial = "analytics.html" # Include custom partial at the end of the page
33 | # belowTitlePartial = "banner.html" # Include custom partial below the pages title
34 |
35 | [Params.Author] # Used in authorbox
36 | name = "Scout Master"
37 | bio = "The Scout Master is the leader of this local scout group"
38 | avatar = "img/avatar.png"
39 |
40 | [Params.style.vars]
41 | highlightColor = "#003056" # Override main theme color
42 |
43 | [Params.logo]
44 | image = "img/placeholder.png" # Logo image. Path relative to "static"
45 | header = "img/header.jpg" # Header image. Path relative to "static"
46 | title = "Hugo DPSG" # Logo title, otherwise will use site title
47 | subtitle = "Welcome to our group site" # Logo subtitle
48 |
49 | [Params.sidebar]
50 | home = "right" # Configure layout for home page
51 | list = "left" # Configure layout for list pages
52 | single = false # Configure layout for single pages
53 | # Enable widgets in given order
54 | widgets = ["search", "recent", "categories", "taglist", "social", "languages"]
55 | # alternatively "ddg-search" can be used, to search via DuckDuckGo
56 | # widgets = ["ddg-search", "recent", "categories", "taglist", "social", "languages"]
57 |
58 | [Params.widgets]
59 | recent_num = 5 # Set the number of articles in the "Recent articles" widget
60 | tags_counter = true # Enable counter for each tag in "Tags" widget
61 |
62 | [Params.footer]
63 | text = "[Imprint and Privacy](/)" # Extra text in footer row, understands markdown
64 | right = "[Donate!](/)" # Right-aligned text in footer row, understands markdown
65 |
66 | # Custom menu items, normally controlled via front matter in /content files
67 | [menu]
68 | [[menu.main]]
69 | identifier = "login"
70 | name = "External Login"
71 | url = "https://example.com/login"
72 | weight = 99
73 |
--------------------------------------------------------------------------------
/layouts/partials/widgets/social.html:
--------------------------------------------------------------------------------
1 | {{- if .Site.Params.widgets.social }}
2 |
90 | {{- end }}
--------------------------------------------------------------------------------
/exampleSite/content/news/basic-elements.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Basic HTML Elements
3 | description: Example test article that contains basic HTML elements for text formatting on the Web.
4 | date: 2018-04-16
5 | categories:
6 | - "Development"
7 | tags:
8 | - "HTML"
9 | - "CSS"
10 | - "Basic Elements"
11 | ---
12 |
13 | The main purpose of this article is to make sure that all basic HTML Elements are decorated with CSS so as to not miss any possible elements when creating new themes for Hugo.
14 |
15 |
16 | ## Headings
17 |
18 | Let's start with all possible headings. The HTML ``—`` elements represent six levels of section headings. `` is the highest section level and `` is the lowest.
19 |
20 | # Heading 1
21 | ## Heading 2
22 | ### Heading 3
23 | #### Heading 4
24 | ##### Heading 5
25 | ###### Heading 6
26 |
27 | ***
28 |
29 | ## Paragraph
30 |
31 | According to the [HTML5 specification](https://www.w3.org/TR/html5/dom.html#elements) by [W3C](https://www.w3.org/), **HTML documents consist of a tree of elements and text**. Each element is denoted in the source by a [start tag](https://www.w3.org/TR/html5/syntax.html#syntax-start-tags), such as ``, and an [end tag](https://www.w3.org/TR/html5/syntax.html#syntax-end-tags), such as ``. (*Certain start tags and end tags can in certain cases be omitted and are implied by other tags.*)
32 |
33 | Elements can have attributes, which control how the elements work. For example, hyperlink are formed using the `a` element and its `href` attribute.
34 |
35 | ## List Types
36 |
37 | ### Ordered List
38 |
39 | 1. First item
40 | 2. Second item
41 | 3. Third item
42 |
43 | ### Unordered List
44 |
45 | * List item
46 | * Another item
47 | * And another item
48 |
49 | ### Nested list
50 |
51 |
52 | First item
53 | Second item
54 |
55 | Second item First subitem
56 | Second item second subitem
57 |
58 | Second item Second subitem First sub-subitem
59 | Second item Second subitem Second sub-subitem
60 | Second item Second subitem Third sub-subitem
61 |
62 |
63 | Second item Third subitem
64 |
65 | Second item Third subitem First sub-subitem
66 | Second item Third subitem Second sub-subitem
67 | Second item Third subitem Third sub-subitem
68 |
69 |
70 |
71 | Third item
72 |
73 |
74 | ### Definition List
75 |
76 | HTML also supports definition lists.
77 |
78 |
79 | Blanco tequila
80 | The purest form of the blue agave spirit...
81 | Reposado tequila
82 | Typically aged in wooden barrels for between two and eleven months...
83 |
84 |
85 | ## Blockquotes
86 |
87 | 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.
88 |
89 | > Quoted text.
90 | > This line is part of the same quote.
91 | > Also you can *put* **Markdown** into a blockquote.
92 |
93 | Blockquote with a citation.
94 |
95 |
96 | My goal wasn't to make a ton of money. It was to build good computers. I only started the company when I realized I could be an engineer forever.
97 |
98 |
99 |
100 | According to Mozilla's website, Firefox 1.0 was released in 2004 and became a big success.
101 |
102 | ## Tables
103 |
104 | Tables aren't part of the core Markdown spec, but Hugo supports them.
105 |
106 | | ID | Make | Model | Year |
107 | | --- | --------- | ------- | ---- |
108 | | 1 | Honda | Accord | 2009 |
109 | | 2 | Toyota | Camry | 2012 |
110 | | 3 | Hyundai | Elantra | 2010 |
111 |
112 | Colons can be used to align columns.
113 |
114 | | Tables | Are | Cool |
115 | |:----------- |:-------------:| ------------:|
116 | | align: left | align: center | align: right |
117 | | align: left | align: center | align: right |
118 | | align: left | align: center | align: right |
119 |
120 | You can also use inline Markdown.
121 |
122 | | Inline | Markdown | In | Table |
123 | | ---------- | --------- | ----------------- | ---------- |
124 | | *italics* | **bold** | ~~strikethrough~~ | `code` |
125 |
126 | ## Code
127 |
128 | ```html
129 |
130 |
131 |
132 |
133 | Example HTML5 Document
134 |
135 |
136 | Test
137 |
138 |
139 | ```
140 |
141 | {{< highlight html >}}
142 |
143 |
144 |
145 |
146 | Example HTML5 Document
147 |
148 |
149 | Test
150 |
151 |
152 | {{< /highlight >}}
153 |
154 | ## Other stuff — abbr, sub, sup, kbd, etc.
155 |
156 | GIF is a bitmap image format.
157 |
158 | H2 O
159 |
160 | C6 H12 O6
161 |
162 | Xn + Yn = Zn
163 |
164 | Press X to win. Or press CTRL +ALT +F to show FPS counter.
165 |
166 | As a unit of information in information theory, the bit has alternatively been called a shannon , named after Claude Shannon, the founder of field of information theory.
167 |
--------------------------------------------------------------------------------
/exampleSite/content/news/migrate-from-jekyll.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: Migrate to Hugo from Jekyll
3 | date: 2014-03-10
4 | linktitle: Migrating from Jekyll
5 | ---
6 |
7 | ## Move static content to `static`
8 | Jekyll has a rule that any directory not starting with `_` will be copied as-is to the `_site` output. Hugo keeps all static content under `static`. You should therefore move it all there.
9 | With Jekyll, something that looked like
10 |
11 | ▾ /
12 | ▾ images/
13 | logo.png
14 |
15 | should become
16 |
17 | ▾ /
18 | ▾ static/
19 | ▾ images/
20 | logo.png
21 |
22 | Additionally, you'll want any files that should reside at the root (such as `CNAME`) to be moved to `static`.
23 |
24 | ## Create your Hugo configuration file
25 | Hugo can read your configuration as JSON, YAML or TOML. Hugo supports parameters custom configuration too. Refer to the [Hugo configuration documentation](/overview/configuration/) for details.
26 |
27 | ## Set your configuration publish folder to `_site`
28 | The default is for Jekyll to publish to `_site` and for Hugo to publish to `public`. If, like me, you have [`_site` mapped to a git submodule on the `gh-pages` branch](http://blog.blindgaenger.net/generate_github_pages_in_a_submodule.html), you'll want to do one of two alternatives:
29 |
30 | 1. Change your submodule to point to map `gh-pages` to public instead of `_site` (recommended).
31 |
32 | git submodule deinit _site
33 | git rm _site
34 | git submodule add -b gh-pages git@github.com:your-username/your-repo.git public
35 |
36 | 2. Or, change the Hugo configuration to use `_site` instead of `public`.
37 |
38 | {
39 | ..
40 | "publishdir": "_site",
41 | ..
42 | }
43 |
44 | ## Convert Jekyll templates to Hugo templates
45 | That's the bulk of the work right here. The documentation is your friend. You should refer to [Jekyll's template documentation](http://jekyllrb.com/docs/templates/) if you need to refresh your memory on how you built your blog and [Hugo's template](/layout/templates/) to learn Hugo's way.
46 |
47 | As a single reference data point, converting my templates for [heyitsalex.net](http://heyitsalex.net/) took me no more than a few hours.
48 |
49 | ## Convert Jekyll plugins to Hugo shortcodes
50 | Jekyll has [plugins](http://jekyllrb.com/docs/plugins/); Hugo has [shortcodes](/doc/shortcodes/). It's fairly trivial to do a port.
51 |
52 | ### Implementation
53 | As an example, I was using a custom [`image_tag`](https://github.com/alexandre-normand/alexandre-normand/blob/74bb12036a71334fdb7dba84e073382fc06908ec/_plugins/image_tag.rb) plugin to generate figures with caption when running Jekyll. As I read about shortcodes, I found Hugo had a nice built-in shortcode that does exactly the same thing.
54 |
55 | Jekyll's plugin:
56 |
57 | module Jekyll
58 | class ImageTag < Liquid::Tag
59 | @url = nil
60 | @caption = nil
61 | @class = nil
62 | @link = nil
63 | // Patterns
64 | IMAGE_URL_WITH_CLASS_AND_CAPTION =
65 | IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK = /(\w+)(\s+)((https?:\/\/|\/)(\S+))(\s+)"(.*?)"(\s+)->((https?:\/\/|\/)(\S+))(\s*)/i
66 | IMAGE_URL_WITH_CAPTION = /((https?:\/\/|\/)(\S+))(\s+)"(.*?)"/i
67 | IMAGE_URL_WITH_CLASS = /(\w+)(\s+)((https?:\/\/|\/)(\S+))/i
68 | IMAGE_URL = /((https?:\/\/|\/)(\S+))/i
69 | def initialize(tag_name, markup, tokens)
70 | super
71 | if markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION_AND_LINK
72 | @class = $1
73 | @url = $3
74 | @caption = $7
75 | @link = $9
76 | elsif markup =~ IMAGE_URL_WITH_CLASS_AND_CAPTION
77 | @class = $1
78 | @url = $3
79 | @caption = $7
80 | elsif markup =~ IMAGE_URL_WITH_CAPTION
81 | @url = $1
82 | @caption = $5
83 | elsif markup =~ IMAGE_URL_WITH_CLASS
84 | @class = $1
85 | @url = $3
86 | elsif markup =~ IMAGE_URL
87 | @url = $1
88 | end
89 | end
90 | def render(context)
91 | if @class
92 | source = ""
93 | else
94 | source = ""
95 | end
96 | if @link
97 | source += ""
98 | end
99 | source += " "
100 | if @link
101 | source += " "
102 | end
103 | source += "#{@caption} " if @caption
104 | source += " "
105 | source
106 | end
107 | end
108 | end
109 | Liquid::Template.register_tag('image', Jekyll::ImageTag)
110 |
111 | is written as this Hugo shortcode:
112 |
113 |
114 |
115 | {{ with .Get "link"}}{{ end }}
116 |
117 | {{ if .Get "link"}} {{ end }}
118 | {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}
119 | {{ if isset .Params "title" }}
120 | {{ .Get "title" }}{{ end }}
121 | {{ if or (.Get "caption") (.Get "attr")}}
122 | {{ .Get "caption" }}
123 | {{ with .Get "attrlink"}} {{ end }}
124 | {{ .Get "attr" }}
125 | {{ if .Get "attrlink"}} {{ end }}
126 |
{{ end }}
127 |
128 | {{ end }}
129 |
130 |
131 |
132 | ### Usage
133 | I simply changed:
134 |
135 | {% image full http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg "One of my favorite touristy-type photos. I secretly waited for the good light while we were "having fun" and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." ->http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/ %}
136 |
137 | to this (this example uses a slightly extended version named `fig`, different than the built-in `figure`):
138 |
139 | {{%/* fig class="full" src="http://farm5.staticflickr.com/4136/4829260124_57712e570a_o_d.jpg" title="One of my favorite touristy-type photos. I secretly waited for the good light while we were having fun and took this. Only regret: a stupid pole in the top-left corner of the frame I had to clumsily get rid of at post-processing." link="http://www.flickr.com/photos/alexnormand/4829260124/in/set-72157624547713078/" */%}}
140 |
141 | As a bonus, the shortcode named parameters are, arguably, more readable.
142 |
143 | ## Finishing touches
144 | ### Fix content
145 | Depending on the amount of customization that was done with each post with Jekyll, this step will require more or less effort. There are no hard and fast rules here except that `hugo server --watch` is your friend. Test your changes and fix errors as needed.
146 |
147 | ### Clean up
148 | You'll want to remove the Jekyll configuration at this point. If you have anything else that isn't used, delete it.
149 |
150 | ## A practical example in a diff
151 | [Hey, it's Alex](http://heyitsalex.net/) was migrated in less than a _father-with-kids day_ from Jekyll to Hugo. You can see all the changes (and screw-ups) by looking at this [diff](https://github.com/alexandre-normand/alexandre-normand/compare/869d69435bd2665c3fbf5b5c78d4c22759d7613a...b7f6605b1265e83b4b81495423294208cc74d610).
152 |
--------------------------------------------------------------------------------
/exampleSite/content/news/goisforlovers.md:
--------------------------------------------------------------------------------
1 | ---
2 | title: "(Hu)go Template Primer"
3 | date: 2014-04-02
4 | thumbnail: "img/placeholder.png"
5 | tags:
6 | - "go"
7 | - "golang"
8 | - "templates"
9 | - "themes"
10 | - "development"
11 | categories:
12 | - "Development"
13 | - "golang"
14 | ---
15 |
16 | Hugo uses the excellent [Go][] [html/template][gohtmltemplate] library for
17 | its template engine. It is an extremely lightweight engine that provides a very
18 | small amount of logic. In our experience that it is just the right amount of
19 | logic to be able to create a good static website. If you have used other
20 | template systems from different languages or frameworks you will find a lot of
21 | similarities in Go templates.
22 |
23 |
24 |
25 | This document is a brief primer on using Go templates. The [Go docs][gohtmltemplate]
26 | provide more details.
27 |
28 | ## Introduction to Go Templates
29 |
30 | Go templates provide an extremely simple template language. It adheres to the
31 | belief that only the most basic of logic belongs in the template or view layer.
32 | One consequence of this simplicity is that Go templates parse very quickly.
33 |
34 | A unique characteristic of Go templates is they are content aware. Variables and
35 | content will be sanitized depending on the context of where they are used. More
36 | details can be found in the [Go docs][gohtmltemplate].
37 |
38 | ## Basic Syntax
39 |
40 | Golang templates are HTML files with the addition of variables and
41 | functions.
42 |
43 | **Go variables and functions are accessible within {{ }}**
44 |
45 | Accessing a predefined variable "foo":
46 |
47 | {{ foo }}
48 |
49 | **Parameters are separated using spaces**
50 |
51 | Calling the add function with input of 1, 2:
52 |
53 | {{ add 1 2 }}
54 |
55 | **Methods and fields are accessed via dot notation**
56 |
57 | Accessing the Page Parameter "bar"
58 |
59 | {{ .Params.bar }}
60 |
61 | **Parentheses can be used to group items together**
62 |
63 | {{ if or (isset .Params "alt") (isset .Params "caption") }} Caption {{ end }}
64 |
65 |
66 | ## Variables
67 |
68 | Each Go template has a struct (object) made available to it. In hugo each
69 | template is passed either a page or a node struct depending on which type of
70 | page you are rendering. More details are available on the
71 | [variables](/layout/variables) page.
72 |
73 | A variable is accessed by referencing the variable name.
74 |
75 | {{ .Title }}
76 |
77 | Variables can also be defined and referenced.
78 |
79 | {{ $address := "123 Main St."}}
80 | {{ $address }}
81 |
82 |
83 | ## Functions
84 |
85 | Go template ship with a few functions which provide basic functionality. The Go
86 | template system also provides a mechanism for applications to extend the
87 | available functions with their own. [Hugo template
88 | functions](/layout/functions) provide some additional functionality we believe
89 | are useful for building websites. Functions are called by using their name
90 | followed by the required parameters separated by spaces. Template
91 | functions cannot be added without recompiling hugo.
92 |
93 | **Example:**
94 |
95 | {{ add 1 2 }}
96 |
97 | ## Includes
98 |
99 | When including another template you will pass to it the data it will be
100 | able to access. To pass along the current context please remember to
101 | include a trailing dot. The templates location will always be starting at
102 | the /layout/ directory within Hugo.
103 |
104 | **Example:**
105 |
106 | {{ template "chrome/header.html" . }}
107 |
108 |
109 | ## Logic
110 |
111 | Go templates provide the most basic iteration and conditional logic.
112 |
113 | ### Iteration
114 |
115 | Just like in Go, the Go templates make heavy use of range to iterate over
116 | a map, array or slice. The following are different examples of how to use
117 | range.
118 |
119 | **Example 1: Using Context**
120 |
121 | {{ range array }}
122 | {{ . }}
123 | {{ end }}
124 |
125 | **Example 2: Declaring value variable name**
126 |
127 | {{range $element := array}}
128 | {{ $element }}
129 | {{ end }}
130 |
131 | **Example 2: Declaring key and value variable name**
132 |
133 | {{range $index, $element := array}}
134 | {{ $index }}
135 | {{ $element }}
136 | {{ end }}
137 |
138 | ### Conditionals
139 |
140 | If, else, with, or, & and provide the framework for handling conditional
141 | logic in Go Templates. Like range, each statement is closed with `end`.
142 |
143 |
144 | Go Templates treat the following values as false:
145 |
146 | * false
147 | * 0
148 | * any array, slice, map, or string of length zero
149 |
150 | **Example 1: If**
151 |
152 | {{ if isset .Params "title" }}{{ index .Params "title" }} {{ end }}
153 |
154 | **Example 2: If -> Else**
155 |
156 | {{ if isset .Params "alt" }}
157 | {{ index .Params "alt" }}
158 | {{else}}
159 | {{ index .Params "caption" }}
160 | {{ end }}
161 |
162 | **Example 3: And & Or**
163 |
164 | {{ if and (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
165 |
166 | **Example 4: With**
167 |
168 | An alternative way of writing "if" and then referencing the same value
169 | is to use "with" instead. With rebinds the context `.` within its scope,
170 | and skips the block if the variable is absent.
171 |
172 | The first example above could be simplified as:
173 |
174 | {{ with .Params.title }}{{ . }} {{ end }}
175 |
176 | **Example 5: If -> Else If**
177 |
178 | {{ if isset .Params "alt" }}
179 | {{ index .Params "alt" }}
180 | {{ else if isset .Params "caption" }}
181 | {{ index .Params "caption" }}
182 | {{ end }}
183 |
184 | ## Pipes
185 |
186 | One of the most powerful components of Go templates is the ability to
187 | stack actions one after another. This is done by using pipes. Borrowed
188 | from unix pipes, the concept is simple, each pipeline's output becomes the
189 | input of the following pipe.
190 |
191 | Because of the very simple syntax of Go templates, the pipe is essential
192 | to being able to chain together function calls. One limitation of the
193 | pipes is that they only can work with a single value and that value
194 | becomes the last parameter of the next pipeline.
195 |
196 | A few simple examples should help convey how to use the pipe.
197 |
198 | **Example 1 :**
199 |
200 | {{ if eq 1 1 }} Same {{ end }}
201 |
202 | is the same as
203 |
204 | {{ eq 1 1 | if }} Same {{ end }}
205 |
206 | It does look odd to place the if at the end, but it does provide a good
207 | illustration of how to use the pipes.
208 |
209 | **Example 2 :**
210 |
211 | {{ index .Params "disqus_url" | html }}
212 |
213 | Access the page parameter called "disqus_url" and escape the HTML.
214 |
215 | **Example 3 :**
216 |
217 | {{ if or (or (isset .Params "title") (isset .Params "caption")) (isset .Params "attr")}}
218 | Stuff Here
219 | {{ end }}
220 |
221 | Could be rewritten as
222 |
223 | {{ isset .Params "caption" | or isset .Params "title" | or isset .Params "attr" | if }}
224 | Stuff Here
225 | {{ end }}
226 |
227 |
228 | ## Context (aka. the dot)
229 |
230 | The most easily overlooked concept to understand about Go templates is that {{ . }}
231 | always refers to the current context. In the top level of your template this
232 | will be the data set made available to it. Inside of a iteration it will have
233 | the value of the current item. When inside of a loop the context has changed. .
234 | will no longer refer to the data available to the entire page. If you need to
235 | access this from within the loop you will likely want to set it to a variable
236 | instead of depending on the context.
237 |
238 | **Example:**
239 |
240 | {{ $title := .Site.Title }}
241 | {{ range .Params.tags }}
242 | {{ . }} - {{ $title }}
243 | {{ end }}
244 |
245 | Notice how once we have entered the loop the value of {{ . }} has changed. We
246 | have defined a variable outside of the loop so we have access to it from within
247 | the loop.
248 |
249 | # Hugo Parameters
250 |
251 | Hugo provides the option of passing values to the template language
252 | through the site configuration (for sitewide values), or through the meta
253 | data of each specific piece of content. You can define any values of any
254 | type (supported by your front matter/config format) and use them however
255 | you want to inside of your templates.
256 |
257 |
258 | ## Using Content (page) Parameters
259 |
260 | In each piece of content you can provide variables to be used by the
261 | templates. This happens in the [front matter](/content/front-matter).
262 |
263 | An example of this is used in this documentation site. Most of the pages
264 | benefit from having the table of contents provided. Sometimes the TOC just
265 | doesn't make a lot of sense. We've defined a variable in our front matter
266 | of some pages to turn off the TOC from being displayed.
267 |
268 | Here is the example front matter:
269 |
270 | ```
271 | ---
272 | title: "Permalinks"
273 | date: "2013-11-18"
274 | aliases:
275 | - "/doc/permalinks/"
276 | groups: ["extras"]
277 | groups_weight: 30
278 | notoc: true
279 | ---
280 | ```
281 |
282 | Here is the corresponding code inside of the template:
283 |
284 | {{ if not .Params.notoc }}
285 |
286 | {{ .TableOfContents }}
287 |
288 | {{ end }}
289 |
290 |
291 |
292 | ## Using Site (config) Parameters
293 | In your top-level configuration file (eg, `config.yaml`) you can define site
294 | parameters, which are values which will be available to you in chrome.
295 |
296 | For instance, you might declare:
297 |
298 | ```yaml
299 | params:
300 | CopyrightHTML: "Copyright © 2013 John Doe. All Rights Reserved."
301 | TwitterUser: "spf13"
302 | SidebarRecentLimit: 5
303 | ```
304 |
305 | Within a footer layout, you might then declare a ` tag, e.g. JS initialization; safeHTML-filtered
191 | - ""
192 | ---
193 | ```
194 |
195 | For more information about front matter variables read [Hugo Front
196 | Matter](https://gohugo.io/content-management/front-matter) from Hugo official
197 | documentation.
198 |
199 | ### Sidebar
200 |
201 | **Hugo DPSG** comes with a configurable sidebar that can be on the left, on the right, or
202 | disabled. The default layout can be specified in the `[Params.sidebar]` section
203 | of the configuration. The position can be specified for home, list and single
204 | pages individually. Use the keys `home`, `list` and `single` with values
205 | `"left"`, `"right"` or `false`. The layout can be configured per page, by
206 | setting the `sidebar` parameter with one of the same values in the page's front
207 | matter.
208 |
209 | The sidebar consists of multiple widgets. Widgets can be enabled individually
210 | using the `widgets` key with a list of widget names as value. You can add your
211 | own widgets, by placing a template under `layouts/partials/widgets/.html`.
212 | The list of widgets can be overwritten from a page's front matter.
213 |
214 | Some widget respect optional configuration. Have a look at the
215 | `[Params.widgets]` and `[Params.widgets.social]` sections in the example
216 | configuration above.
217 |
218 | ### Menus
219 |
220 | **Hugo DPSG** supports multiple menus. The `main` menu is fully responsive and displayed right
221 | under the site header. The secondary menus `side` and `footer` are displayed in
222 | a sidebar widget and the page footer. To add a page to a menu, add a `menu:
223 | ` parameter to the page's front matter:
224 |
225 | ```yaml
226 | menu: main # Add page to a main menu
227 | ```
228 |
229 | You can also add a page to multiple menus by providing a list:
230 |
231 | ```yaml
232 | menu: ["main", "side", "footer"] # Add page to a main, side, and footer menu
233 | ```
234 |
235 | **Note:** Don't forget to enable the `sidemenu` widget in the `widgets`
236 | configuration param if you want to use the `side` menu.
237 |
238 | **Note:** Please keep in mind that the menus don't support nested items
239 | i.e. submenus.
240 |
241 | ### Social Widget: custom links
242 |
243 | **Hugo DPSG** contains built-in social links in the social widget. In addition,
244 | you can also set custom social links by adding `Params.widgets.social.custom` to
245 | your `config.toml`. Here is an example.
246 |
247 | ```toml
248 | [[Params.widgets.social.custom]]
249 | title = "Youtube"
250 | url = "https://youtube.com/user/username"
251 | icon = "youtube.svg"
252 | ```
253 |
254 | **Note:** You need to put your icon file in `layouts/partials` directory under your
255 | project's root if you want to display an icon of your social link. The `icon`
256 | field, which is optional, should be a path relative to `layouts/partials`.
257 |
258 | **Note:** *Only* SVG files are supported to be used as custom social icons in the current
259 | version. If you use any files of another format, PNG for example, a compile
260 | error will be raised by Hugo.
261 |
262 | **Note:** Not every SVG icon can be used. For better results, it should be one-color SVG
263 | file with a special class attribute `{{ with .class }}{{ . }} {{ end }}` and
264 | 24x24 size. At a minimum, custom SVG icon needs these attributes:
265 |
266 | ```html
267 | ...
268 | ```
269 |
270 | ## Contributing
271 |
272 | Have you found a bug or got an idea for a new feature? Feel free to use the
273 | [issue tracker](https://github.com/pfadfinder-konstanz/hugo-dpsg/issues) to let
274 | me know. Or make directly a [pull
275 | request](https://github.com/pfadfinder-konstanz/hugo-dpsg/pulls).
276 |
277 | ## License
278 |
279 | This theme is released under the [GPLv2 license](https://github.com/pfadfinder-konstanz/hugo-dpsg/blob/main/LICENSE.md) (GPL-2.0-only).
280 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | ### GNU GENERAL PUBLIC LICENSE
2 |
3 | Version 2, June 1991
4 |
5 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
7 |
8 | Everyone is permitted to copy and distribute verbatim copies
9 | of this license document, but changing it is not allowed.
10 |
11 | ### Preamble
12 |
13 | The licenses for most software are designed to take away your freedom
14 | to share and change it. By contrast, the GNU General Public License is
15 | intended to guarantee your freedom to share and change free
16 | software--to make sure the software is free for all its users. This
17 | General Public License applies to most of the Free Software
18 | Foundation's software and to any other program whose authors commit to
19 | using it. (Some other Free Software Foundation software is covered by
20 | the GNU Lesser General Public License instead.) You can apply it to
21 | your programs, too.
22 |
23 | When we speak of free software, we are referring to freedom, not
24 | price. Our General Public Licenses are designed to make sure that you
25 | have the freedom to distribute copies of free software (and charge for
26 | this service if you wish), that you receive source code or can get it
27 | if you want it, that you can change the software or use pieces of it
28 | in new free programs; and that you know you can do these things.
29 |
30 | To protect your rights, we need to make restrictions that forbid
31 | anyone to deny you these rights or to ask you to surrender the rights.
32 | These restrictions translate to certain responsibilities for you if
33 | you distribute copies of the software, or if you modify it.
34 |
35 | For example, if you distribute copies of such a program, whether
36 | gratis or for a fee, you must give the recipients all the rights that
37 | you have. You must make sure that they, too, receive or can get the
38 | source code. And you must show them these terms so they know their
39 | rights.
40 |
41 | We protect your rights with two steps: (1) copyright the software, and
42 | (2) offer you this license which gives you legal permission to copy,
43 | distribute and/or modify the software.
44 |
45 | Also, for each author's protection and ours, we want to make certain
46 | that everyone understands that there is no warranty for this free
47 | software. If the software is modified by someone else and passed on,
48 | we want its recipients to know that what they have is not the
49 | original, so that any problems introduced by others will not reflect
50 | on the original authors' reputations.
51 |
52 | Finally, any free program is threatened constantly by software
53 | patents. We wish to avoid the danger that redistributors of a free
54 | program will individually obtain patent licenses, in effect making the
55 | program proprietary. To prevent this, we have made it clear that any
56 | patent must be licensed for everyone's free use or not licensed at
57 | all.
58 |
59 | The precise terms and conditions for copying, distribution and
60 | modification follow.
61 |
62 | ### TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
63 |
64 | **0.** This License applies to any program or other work which
65 | contains a notice placed by the copyright holder saying it may be
66 | distributed under the terms of this General Public License. The
67 | "Program", below, refers to any such program or work, and a "work
68 | based on the Program" means either the Program or any derivative work
69 | under copyright law: that is to say, a work containing the Program or
70 | a portion of it, either verbatim or with modifications and/or
71 | translated into another language. (Hereinafter, translation is
72 | included without limitation in the term "modification".) Each licensee
73 | is addressed as "you".
74 |
75 | Activities other than copying, distribution and modification are not
76 | covered by this License; they are outside its scope. The act of
77 | running the Program is not restricted, and the output from the Program
78 | is covered only if its contents constitute a work based on the Program
79 | (independent of having been made by running the Program). Whether that
80 | is true depends on what the Program does.
81 |
82 | **1.** You may copy and distribute verbatim copies of the Program's
83 | source code as you receive it, in any medium, provided that you
84 | conspicuously and appropriately publish on each copy an appropriate
85 | copyright notice and disclaimer of warranty; keep intact all the
86 | notices that refer to this License and to the absence of any warranty;
87 | and give any other recipients of the Program a copy of this License
88 | along with the Program.
89 |
90 | You may charge a fee for the physical act of transferring a copy, and
91 | you may at your option offer warranty protection in exchange for a
92 | fee.
93 |
94 | **2.** You may modify your copy or copies of the Program or any
95 | portion of it, thus forming a work based on the Program, and copy and
96 | distribute such modifications or work under the terms of Section 1
97 | above, provided that you also meet all of these conditions:
98 |
99 |
100 | **a)** You must cause the modified files to carry prominent notices
101 | stating that you changed the files and the date of any change.
102 |
103 |
104 | **b)** You must cause any work that you distribute or publish, that in
105 | whole or in part contains or is derived from the Program or any part
106 | thereof, to be licensed as a whole at no charge to all third parties
107 | under the terms of this License.
108 |
109 |
110 | **c)** If the modified program normally reads commands interactively
111 | when run, you must cause it, when started running for such interactive
112 | use in the most ordinary way, to print or display an announcement
113 | including an appropriate copyright notice and a notice that there is
114 | no warranty (or else, saying that you provide a warranty) and that
115 | users may redistribute the program under these conditions, and telling
116 | the user how to view a copy of this License. (Exception: if the
117 | Program itself is interactive but does not normally print such an
118 | announcement, your work based on the Program is not required to print
119 | an announcement.)
120 |
121 | These requirements apply to the modified work as a whole. If
122 | identifiable sections of that work are not derived from the Program,
123 | and can be reasonably considered independent and separate works in
124 | themselves, then this License, and its terms, do not apply to those
125 | sections when you distribute them as separate works. But when you
126 | distribute the same sections as part of a whole which is a work based
127 | on the Program, the distribution of the whole must be on the terms of
128 | this License, whose permissions for other licensees extend to the
129 | entire whole, and thus to each and every part regardless of who wrote
130 | it.
131 |
132 | Thus, it is not the intent of this section to claim rights or contest
133 | your rights to work written entirely by you; rather, the intent is to
134 | exercise the right to control the distribution of derivative or
135 | collective works based on the Program.
136 |
137 | In addition, mere aggregation of another work not based on the Program
138 | with the Program (or with a work based on the Program) on a volume of
139 | a storage or distribution medium does not bring the other work under
140 | the scope of this License.
141 |
142 | **3.** You may copy and distribute the Program (or a work based on it,
143 | under Section 2) in object code or executable form under the terms of
144 | Sections 1 and 2 above provided that you also do one of the following:
145 |
146 |
147 | **a)** Accompany it with the complete corresponding machine-readable
148 | source code, which must be distributed under the terms of Sections 1
149 | and 2 above on a medium customarily used for software interchange; or,
150 |
151 |
152 | **b)** Accompany it with a written offer, valid for at least three
153 | years, to give any third party, for a charge no more than your cost of
154 | physically performing source distribution, a complete machine-readable
155 | copy of the corresponding source code, to be distributed under the
156 | terms of Sections 1 and 2 above on a medium customarily used for
157 | software interchange; or,
158 |
159 |
160 | **c)** Accompany it with the information you received as to the offer
161 | to distribute corresponding source code. (This alternative is allowed
162 | only for noncommercial distribution and only if you received the
163 | program in object code or executable form with such an offer, in
164 | accord with Subsection b above.)
165 |
166 | The source code for a work means the preferred form of the work for
167 | making modifications to it. For an executable work, complete source
168 | code means all the source code for all modules it contains, plus any
169 | associated interface definition files, plus the scripts used to
170 | control compilation and installation of the executable. However, as a
171 | special exception, the source code distributed need not include
172 | anything that is normally distributed (in either source or binary
173 | form) with the major components (compiler, kernel, and so on) of the
174 | operating system on which the executable runs, unless that component
175 | itself accompanies the executable.
176 |
177 | If distribution of executable or object code is made by offering
178 | access to copy from a designated place, then offering equivalent
179 | access to copy the source code from the same place counts as
180 | distribution of the source code, even though third parties are not
181 | compelled to copy the source along with the object code.
182 |
183 | **4.** You may not copy, modify, sublicense, or distribute the Program
184 | except as expressly provided under this License. Any attempt otherwise
185 | to copy, modify, sublicense or distribute the Program is void, and
186 | will automatically terminate your rights under this License. However,
187 | parties who have received copies, or rights, from you under this
188 | License will not have their licenses terminated so long as such
189 | parties remain in full compliance.
190 |
191 | **5.** You are not required to accept this License, since you have not
192 | signed it. However, nothing else grants you permission to modify or
193 | distribute the Program or its derivative works. These actions are
194 | prohibited by law if you do not accept this License. Therefore, by
195 | modifying or distributing the Program (or any work based on the
196 | Program), you indicate your acceptance of this License to do so, and
197 | all its terms and conditions for copying, distributing or modifying
198 | the Program or works based on it.
199 |
200 | **6.** Each time you redistribute the Program (or any work based on
201 | the Program), the recipient automatically receives a license from the
202 | original licensor to copy, distribute or modify the Program subject to
203 | these terms and conditions. You may not impose any further
204 | restrictions on the recipients' exercise of the rights granted herein.
205 | You are not responsible for enforcing compliance by third parties to
206 | this License.
207 |
208 | **7.** If, as a consequence of a court judgment or allegation of
209 | patent infringement or for any other reason (not limited to patent
210 | issues), conditions are imposed on you (whether by court order,
211 | agreement or otherwise) that contradict the conditions of this
212 | License, they do not excuse you from the conditions of this License.
213 | If you cannot distribute so as to satisfy simultaneously your
214 | obligations under this License and any other pertinent obligations,
215 | then as a consequence you may not distribute the Program at all. For
216 | example, if a patent license would not permit royalty-free
217 | redistribution of the Program by all those who receive copies directly
218 | or indirectly through you, then the only way you could satisfy both it
219 | and this License would be to refrain entirely from distribution of the
220 | Program.
221 |
222 | If any portion of this section is held invalid or unenforceable under
223 | any particular circumstance, the balance of the section is intended to
224 | apply and the section as a whole is intended to apply in other
225 | circumstances.
226 |
227 | It is not the purpose of this section to induce you to infringe any
228 | patents or other property right claims or to contest validity of any
229 | such claims; this section has the sole purpose of protecting the
230 | integrity of the free software distribution system, which is
231 | implemented by public license practices. Many people have made
232 | generous contributions to the wide range of software distributed
233 | through that system in reliance on consistent application of that
234 | system; it is up to the author/donor to decide if he or she is willing
235 | to distribute software through any other system and a licensee cannot
236 | impose that choice.
237 |
238 | This section is intended to make thoroughly clear what is believed to
239 | be a consequence of the rest of this License.
240 |
241 | **8.** If the distribution and/or use of the Program is restricted in
242 | certain countries either by patents or by copyrighted interfaces, the
243 | original copyright holder who places the Program under this License
244 | may add an explicit geographical distribution limitation excluding
245 | those countries, so that distribution is permitted only in or among
246 | countries not thus excluded. In such case, this License incorporates
247 | the limitation as if written in the body of this License.
248 |
249 | **9.** The Free Software Foundation may publish revised and/or new
250 | versions of the General Public License from time to time. Such new
251 | versions will be similar in spirit to the present version, but may
252 | differ in detail to address new problems or concerns.
253 |
254 | Each version is given a distinguishing version number. If the Program
255 | specifies a version number of this License which applies to it and
256 | "any later version", you have the option of following the terms and
257 | conditions either of that version or of any later version published by
258 | the Free Software Foundation. If the Program does not specify a
259 | version number of this License, you may choose any version ever
260 | published by the Free Software Foundation.
261 |
262 | **10.** If you wish to incorporate parts of the Program into other
263 | free programs whose distribution conditions are different, write to
264 | the author to ask for permission. For software which is copyrighted by
265 | the Free Software Foundation, write to the Free Software Foundation;
266 | we sometimes make exceptions for this. Our decision will be guided by
267 | the two goals of preserving the free status of all derivatives of our
268 | free software and of promoting the sharing and reuse of software
269 | generally.
270 |
271 | **NO WARRANTY**
272 |
273 | **11.** BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO
274 | WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
275 | EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
276 | OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
277 | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
278 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
279 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
280 | PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
281 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
282 |
283 | **12.** IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
284 | WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
285 | AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU
286 | FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
287 | CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
288 | PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
289 | RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
290 | FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF
291 | SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
292 | DAMAGES.
293 |
294 | ### END OF TERMS AND CONDITIONS
295 |
296 | ### How to Apply These Terms to Your New Programs
297 |
298 | If you develop a new program, and you want it to be of the greatest
299 | possible use to the public, the best way to achieve this is to make it
300 | free software which everyone can redistribute and change under these
301 | terms.
302 |
303 | To do so, attach the following notices to the program. It is safest to
304 | attach them to the start of each source file to most effectively
305 | convey the exclusion of warranty; and each file should have at least
306 | the "copyright" line and a pointer to where the full notice is found.
307 |
308 | one line to give the program's name and an idea of what it does.
309 | Copyright (C) yyyy name of author
310 |
311 | This program is free software; you can redistribute it and/or
312 | modify it under the terms of the GNU General Public License
313 | as published by the Free Software Foundation; either version 2
314 | of the License, or (at your option) any later version.
315 |
316 | This program is distributed in the hope that it will be useful,
317 | but WITHOUT ANY WARRANTY; without even the implied warranty of
318 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
319 | GNU General Public License for more details.
320 |
321 | You should have received a copy of the GNU General Public License
322 | along with this program; if not, write to the Free Software
323 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
324 |
325 | Also add information on how to contact you by electronic and paper
326 | mail.
327 |
328 | If the program is interactive, make it output a short notice like this
329 | when it starts in an interactive mode:
330 |
331 | Gnomovision version 69, Copyright (C) year name of author
332 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
333 | type `show w'. This is free software, and you are welcome
334 | to redistribute it under certain conditions; type `show c'
335 | for details.
336 |
337 | The hypothetical commands \`show w' and \`show c' should show the
338 | appropriate parts of the General Public License. Of course, the
339 | commands you use may be called something other than \`show w' and
340 | \`show c'; they could even be mouse-clicks or menu items--whatever
341 | suits your program.
342 |
343 | You should also get your employer (if you work as a programmer) or
344 | your school, if any, to sign a "copyright disclaimer" for the program,
345 | if necessary. Here is a sample; alter the names:
346 |
347 | Yoyodyne, Inc., hereby disclaims all copyright
348 | interest in the program `Gnomovision'
349 | (which makes passes at compilers) written
350 | by James Hacker.
351 |
352 | signature of Ty Coon, 1 April 1989
353 | Ty Coon, President of Vice
354 |
355 | This General Public License does not permit incorporating your program
356 | into proprietary programs. If your program is a subroutine library,
357 | you may consider it more useful to permit linking proprietary
358 | applications with the library. If this is what you want to do, use the
359 | [GNU Lesser General Public
360 | License](http://www.gnu.org/licenses/lgpl.html) instead of this
361 | License.
362 |
--------------------------------------------------------------------------------
/assets/css/style.css:
--------------------------------------------------------------------------------
1 | {{- $highlightColor := .Site.Params.style.vars.highlightColor | default (.Site.Params.highlightColor | default "#e22d30") -}}
2 |
3 | {{- $fontSans := `"Open Sans", Helvetica, Arial, sans-serif` -}}
4 | {{- $fontMono := `SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace` -}}
5 | {{- $fontFamilyPrimary := .Site.Params.style.vars.fontFamilyPrimary | default $fontSans -}}
6 | {{- $fontFamilySecondary := .Site.Params.style.vars.fontFamilySecondary | default $fontMono -}}
7 |
8 | *,
9 | *::before,
10 | *::after {
11 | box-sizing: border-box;
12 | }
13 |
14 | article,
15 | aside,
16 | dialog,
17 | figcaption,
18 | figure,
19 | footer,
20 | header,
21 | hgroup,
22 | main,
23 | nav,
24 | section {
25 | display: block;
26 | }
27 |
28 | :focus::-webkit-input-placeholder {
29 | color: transparent;
30 | }
31 |
32 | :focus::-moz-placeholder {
33 | color: transparent;
34 | }
35 |
36 | :focus:-moz-placeholder {
37 | color: transparent;
38 | }
39 |
40 | :focus:-ms-input-placeholder {
41 | color: transparent;
42 | }
43 |
44 | /* Fonts
45 | * Downloaded from https://google-webfonts-helper.herokuapp.com/fonts/open-sans
46 | * */
47 | /* open-sans-300 - latin */
48 | @font-face {
49 | font-family: 'Open Sans';
50 | font-style: normal;
51 | font-weight: 300;
52 | src: local('Open Sans Light'), local('OpenSans-Light'),
53 | url('{{ "fonts/open-sans-v18-latin-300.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
54 | url('{{ "fonts/open-sans-v18-latin-300.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
55 | }
56 |
57 | /* open-sans-300italic - latin */
58 | @font-face {
59 | font-family: 'Open Sans';
60 | font-style: italic;
61 | font-weight: 300;
62 | src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'),
63 | url('{{ "fonts/open-sans-v18-latin-300italic.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
64 | url('{{ "fonts/open-sans-v18-latin-300italic.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
65 | }
66 |
67 | /* open-sans-regular - latin */
68 | @font-face {
69 | font-family: 'Open Sans';
70 | font-style: normal;
71 | font-weight: 400;
72 | src: local('Open Sans Regular'), local('OpenSans-Regular'),
73 | url('{{ "fonts/open-sans-v18-latin-regular.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
74 | url('{{ "fonts/open-sans-v18-latin-regular.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
75 | }
76 |
77 | /* open-sans-italic - latin */
78 | @font-face {
79 | font-family: 'Open Sans';
80 | font-style: italic;
81 | font-weight: 400;
82 | src: local('Open Sans Italic'), local('OpenSans-Italic'),
83 | url('{{ "fonts/open-sans-v18-latin-italic.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
84 | url('{{ "fonts/open-sans-v18-latin-italic.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
85 | }
86 |
87 | /* open-sans-600 - latin */
88 | @font-face {
89 | font-family: 'Open Sans';
90 | font-style: normal;
91 | font-weight: 600;
92 | src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'),
93 | url('{{ "fonts/open-sans-v18-latin-600.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
94 | url('{{ "fonts/open-sans-v18-latin-600.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
95 | }
96 |
97 | /* open-sans-600italic - latin */
98 | @font-face {
99 | font-family: 'Open Sans';
100 | font-style: italic;
101 | font-weight: 600;
102 | src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'),
103 | url('{{ "fonts/open-sans-v18-latin-600italic.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
104 | url('{{ "fonts/open-sans-v18-latin-600italic.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
105 | }
106 |
107 | /* open-sans-700 - latin */
108 | @font-face {
109 | font-family: 'Open Sans';
110 | font-style: normal;
111 | font-weight: 700;
112 | src: local('Open Sans Bold'), local('OpenSans-Bold'),
113 | url('{{ "fonts/open-sans-v18-latin-700.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
114 | url('{{ "fonts/open-sans-v18-latin-700.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
115 | }
116 |
117 | /* open-sans-700italic - latin */
118 | @font-face {
119 | font-family: 'Open Sans';
120 | font-style: italic;
121 | font-weight: 700;
122 | src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'),
123 | url('{{ "fonts/open-sans-v18-latin-700italic.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
124 | url('{{ "fonts/open-sans-v18-latin-700italic.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
125 | }
126 |
127 | /* merriweather-regular - latin */
128 | @font-face {
129 | font-family: 'Merriweather';
130 | font-style: normal;
131 | font-weight: 400;
132 | src: local('Merriweather Regular'), local('Merriweather-Regular'),
133 | url('{{ "fonts/merriweather-v22-latin-regular.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
134 | url('{{ "fonts/merriweather-v22-latin-regular.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
135 | }
136 |
137 | /* merriweather-700 - latin */
138 | @font-face {
139 | font-family: 'Merriweather';
140 | font-style: normal;
141 | font-weight: 700;
142 | src: local('Merriweather Bold'), local('Merriweather-Bold'),
143 | url('{{ "fonts/merriweather-v22-latin-700.woff2" | relURL }}') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
144 | url('{{ "fonts/merriweather-v22-latin-700.woff" | relURL }}') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
145 | }
146 |
147 |
148 | /* Structure */
149 | html {
150 | font-size: 115%;
151 | -ms-text-size-adjust: none;
152 | -webkit-text-size-adjust: none;
153 | }
154 |
155 | body {
156 | color: #1a1a1a;
157 | margin: 0;
158 | font-family: {{ $fontFamilyPrimary }};
159 | font-size: 14px;
160 | font-size: .875rem;
161 | line-height: 1.6;
162 | word-wrap: break-word;
163 | background: #F0F4F6;
164 | -webkit-font-smoothing: antialiased;
165 | /* Stick footer to bottom */
166 | display: flex;
167 | flex-direction: column;
168 | height: 100vh;
169 | }
170 |
171 | .container {
172 | position: relative;
173 | width: 100%;
174 | max-width: 1080px;
175 | margin: 0 auto;
176 | }
177 |
178 | .container--outer {
179 | /* margin: 25px auto;
180 | box-shadow: 0 0 10px rgba(50, 50, 50, .17); */
181 | }
182 |
183 | .wrapper {
184 | padding: 25px 0;
185 | }
186 |
187 | .flex {
188 | display: -webkit-flex;
189 | display: flex;
190 | }
191 |
192 | .primary {
193 | -webkit-flex: 1 0 65.83%;
194 | flex: 1 0 65.83%;
195 | -webkit-order: 1;
196 | order: 1;
197 | min-width: 0;
198 | }
199 |
200 | .sidebar {
201 | -webkit-flex: 1 0 31.66%;
202 | flex: 1 0 31.66%;
203 | -webkit-order: 2;
204 | order: 2;
205 | min-width: 0;
206 | margin: 0 0 0 2.5%;
207 | }
208 |
209 | .sidebar--left {
210 | -webkit-order: 0;
211 | order: 0;
212 | margin: 0 2.5% 0 0;
213 | }
214 |
215 | .clearfix {
216 | display: block;
217 | }
218 |
219 | .clearfix::after {
220 | display: block;
221 | height: 0;
222 | padding: 0;
223 | margin: 0;
224 | clear: both;
225 | line-height: 0;
226 | visibility: hidden;
227 | content: "";
228 | }
229 |
230 | input,
231 | button,
232 | select,
233 | optgroup,
234 | textarea {
235 | margin: 0;
236 | font-family: inherit;
237 | font-size: inherit;
238 | line-height: inherit;
239 | }
240 |
241 | /* Button */
242 | .btn {
243 | padding: 5px 10px;
244 | font-weight: 700;
245 | color: #fff;
246 | white-space: pre-line;
247 | background: #2a2a2a;
248 | }
249 |
250 | .btn:hover {
251 | color: #fff;
252 | background: {{ $highlightColor }};
253 | }
254 |
255 | /* Typography */
256 | h1,
257 | h2,
258 | h3,
259 | h4,
260 | h5,
261 | h6 {
262 | margin: 0 0 20px;
263 | margin: 0 0 1.25rem;
264 | font-weight: 700;
265 | line-height: 1.3;
266 | color: {{ $highlightColor }};
267 | }
268 |
269 | h1 {
270 | font-size: 32px;
271 | font-size: 2rem;
272 | }
273 |
274 | h2 {
275 | font-size: 24px;
276 | font-size: 1.5rem;
277 | }
278 |
279 | h3 {
280 | font-size: 20px;
281 | font-size: 1.25rem;
282 | }
283 |
284 | h4 {
285 | font-size: 18px;
286 | font-size: 1.125rem;
287 | }
288 |
289 | h5 {
290 | font-size: 16px;
291 | font-size: 1rem;
292 | }
293 |
294 | h6 {
295 | font-size: 16px;
296 | font-size: 1rem;
297 | }
298 |
299 | a {
300 | color: {{ $highlightColor }};
301 | text-decoration: none;
302 | }
303 |
304 | a:hover {
305 | color: {{ $highlightColor }};
306 | }
307 |
308 | hr {
309 | margin: 0 0 20px;
310 | border: 0;
311 | border-top: 1px solid #dadada;
312 | }
313 |
314 | p {
315 | margin: 0 0 20px;
316 | margin: 0 0 1.25rem;
317 | }
318 |
319 | b,
320 | strong {
321 | font: inherit;
322 | font-weight: 700;
323 | }
324 |
325 | i,
326 | em {
327 | font: inherit;
328 | font-style: italic;
329 | }
330 |
331 | ol,
332 | ul {
333 | padding: 0;
334 | margin: 0;
335 | }
336 |
337 | small {
338 | font-size: 12px;
339 | font-size: .75rem;
340 | }
341 |
342 | mark {
343 | background-color: #fd5;
344 | }
345 |
346 | figure {
347 | margin: 0 0 20px;
348 | margin: 0 0 1.25rem;
349 | }
350 |
351 | figcaption {
352 | margin-top: 4px;
353 | margin-top: .25rem;
354 | color: #666;
355 | }
356 |
357 | figcaption h4 {
358 | margin: 0;
359 | color: inherit;
360 | }
361 |
362 | pre,
363 | code,
364 | kbd,
365 | samp {
366 | font-family: {{ $fontFamilySecondary }};
367 | font-size: inherit;
368 | }
369 |
370 | pre,
371 | code {
372 | background-color: #f5f5f5;
373 | border: 1px solid #ebebeb;
374 | }
375 |
376 | code {
377 | padding: 0 5px;
378 | color: #c33;
379 | }
380 |
381 | pre {
382 | display: block;
383 | padding: 0;
384 | padding: 1.25rem;
385 | margin-bottom: 20px;
386 | margin-bottom: 1.25rem;
387 | overflow: auto;
388 | color: #000;
389 | }
390 |
391 | pre code {
392 | padding: 0;
393 | color: inherit;
394 | white-space: inherit;
395 | background: inherit;
396 | border: 0;
397 | }
398 |
399 | kbd {
400 | padding: 2px 3px;
401 | color: #fff;
402 | background-color: #2a2a2a;
403 | }
404 |
405 | blockquote {
406 | display: block;
407 | padding: 5px 0 5px 15px;
408 | margin: 0 0 20px;
409 | margin: 0 0 1.25rem;
410 | line-height: 1.6;
411 | border-left: 5px solid {{ $highlightColor }};
412 | }
413 |
414 | blockquote p:last-child {
415 | margin: 0;
416 | }
417 |
418 | blockquote footer {
419 | text-align: right;
420 | }
421 |
422 | sup,
423 | sub {
424 | font-size: 10px;
425 | font-size: .625rem;
426 | font-style: normal;
427 | }
428 |
429 | sup {
430 | vertical-align: super;
431 | }
432 |
433 | sub {
434 | vertical-align: sub;
435 | }
436 |
437 | abbr[title] {
438 | text-decoration: none;
439 | cursor: help;
440 | border-bottom: 1px dotted #000;
441 | }
442 |
443 | q {
444 | font-style: italic;
445 | }
446 |
447 | address {
448 | margin-bottom: 20px;
449 | margin-bottom: 1.25rem;
450 | font-family: "Consolas", Courier New, Courier, monospace;
451 | line-height: 1.5;
452 | }
453 |
454 | dl {
455 | margin: 0 0 10px 20px;
456 | }
457 |
458 | dt,
459 | dd {
460 | display: list-item;
461 | }
462 |
463 | dt {
464 | font-weight: bold;
465 | list-style-type: square;
466 | }
467 |
468 | dd {
469 | margin-left: 20px;
470 | list-style-type: circle;
471 | }
472 |
473 | select {
474 | max-width: 100%;
475 | }
476 |
477 | .warning {
478 | padding: 20px 10px;
479 | text-align: center;
480 | border: 1px solid #ddd;
481 | }
482 |
483 | .warning__icon {
484 | margin-bottom: 20px;
485 | fill: #ddd;
486 | }
487 |
488 | /* Header */
489 | .header {
490 | background: #fff;
491 | }
492 |
493 | .logo {
494 | padding: 25px;
495 | {{ with .Site.Params.logo.header -}}
496 | background: url({{ . | absURL }}) center/cover no-repeat
497 | {{- end }}
498 | }
499 |
500 | .logo__link {
501 | display: inline-block;
502 | }
503 |
504 | .logo__item {
505 | display: inline-block;
506 | vertical-align: middle;
507 | }
508 |
509 | .logo__img {
510 | max-height: 256px;
511 | }
512 |
513 | .logo__text {
514 | text-transform: uppercase;
515 | }
516 |
517 | .logo--mixed .logo__item {
518 | margin: .5rem auto;
519 | }
520 |
521 | .logo--mixed .logo__img {
522 | max-width: 128px;
523 | max-height: 128px;
524 | }
525 |
526 | .logo--mixed .logo__text {
527 | padding: 0 1rem;
528 | }
529 |
530 | .logo__title {
531 | font-size: 32px;
532 | font-size: 2rem;
533 | font-weight: 700;
534 | line-height: 1;
535 | color: {{ $highlightColor }};
536 | text-shadow: 0px 0px 5px #fff;
537 | }
538 |
539 | .logo__tagline {
540 | display: inline-block;
541 | padding-top: 10px;
542 | margin-top: 10px;
543 | font-size: 14px;
544 | font-size: .875rem;
545 | font-weight: 700;
546 | line-height: 1;
547 | color: {{ $highlightColor }};
548 | text-shadow: 0px 0px 5px #fff;
549 | border-top: 1px solid #9d9d9d;
550 | }
551 |
552 | .divider {
553 | height: 5px;
554 | margin: 0;
555 | background: {{ $highlightColor }};
556 | border: 0;
557 | }
558 |
559 | /* Main menu */
560 | .menu {
561 | position: sticky;
562 | position: -webkit-sticky;
563 | top: 0;
564 | z-index: 1;
565 | background: {{ $highlightColor }};
566 | line-height: 1.5;
567 | padding: 0;
568 | }
569 |
570 | .no-js .menu__btn {
571 | display: none;
572 | }
573 |
574 | .menu__btn {
575 | display: block;
576 | width: 100%;
577 | padding: 0;
578 | font: inherit;
579 | color: #fff;
580 | background: {{ $highlightColor }};
581 | border: 0;
582 | outline: 0;
583 | }
584 |
585 | .menu__btn-title {
586 | position: relative;
587 | display: block;
588 | padding: 10px 15px;
589 | padding: .625rem .9375rem;
590 | font-weight: 700;
591 | text-align: right;
592 | text-transform: uppercase;
593 | cursor: pointer;
594 | -webkit-user-select: none;
595 | -moz-user-select: none;
596 | -ms-user-select: none;
597 | -o-user-select: none;
598 | user-select: none;
599 | }
600 |
601 | :focus > .menu__btn-title {
602 | box-shadow: inset 0 0 1px 3px {{ $highlightColor }};
603 | }
604 |
605 | button:not(:-moz-focusring):focus > .menu__btn-title {
606 | box-shadow: none;
607 | }
608 |
609 | .menu__btn:focus,
610 | .menu__btn-title:focus {
611 | outline: 0;
612 | }
613 |
614 | .menu__list {
615 | list-style: none;
616 | }
617 |
618 | .menu__item {
619 | padding: 0 .9375rem 0 2rem;
620 | }
621 |
622 | .menu__item:hover {
623 | background: {{ $highlightColor }};
624 | }
625 |
626 | .menu__item:first-child {
627 | border: 0;
628 | }
629 |
630 | .menu__link {
631 | display: block;
632 | padding: .625rem 0;
633 | font-family: 'Merriweather', Georgia, serif;
634 | font-size: 18px;
635 | font-weight: 700;
636 | color: #fff;
637 | position: relative;
638 | }
639 |
640 | .menu__link:hover {
641 | color: #fff;
642 | }
643 |
644 | /* arrow left of element*/
645 | .menu__link::after {
646 | content: "";
647 | width: 0;
648 | height: 0;
649 | visibility: hidden;
650 | opacity: 0;
651 | transition: visibility 0s, opacity .2s linear;
652 | border: 6px solid transparent;
653 | border-left-color: #ffffff;
654 | position: absolute;
655 | top: 1em;
656 | left: -15px;
657 | }
658 |
659 | .menu__item--active .menu__link::after,
660 | .menu__item:hover .menu__link::after {
661 | visibility: visible;
662 | opacity: 1;
663 | }
664 |
665 | .js .menu__list {
666 | position: absolute;
667 | z-index: 1;
668 | width: 100%;
669 | visibility: hidden;
670 | -webkit-transform: scaleY(0);
671 | transform: scaleY(0);
672 | -webkit-transform-origin: top left;
673 | transform-origin: top left;
674 | }
675 |
676 | .js .menu__list--active {
677 | background: {{ $highlightColor }};
678 | visibility: visible;
679 | border-top: 1px solid rgba(255, 255, 255, .1);
680 | border-bottom: 1px solid rgba(255, 255, 255, .1);
681 | -webkit-transform: scaleY(1);
682 | transform: scaleY(1);
683 | }
684 |
685 | .menu__list--transition {
686 | transition: visibility .15s ease, transform .15s ease, -webkit-transform .15s ease;
687 | }
688 |
689 | @media screen and (min-width: 767px) {
690 |
691 | .menu {
692 | padding: 0 20px;
693 | }
694 |
695 | /* move left arrow to bottom */
696 | .menu__link::after {
697 | border-left-color: {{ $highlightColor }};
698 | border-bottom-color: #ffffff;
699 | position: absolute;
700 | bottom: 0;
701 | left: 50%;
702 | top: inherit;
703 | margin-left: -6px;
704 | }
705 |
706 | .menu__item {
707 | padding: 0 .9375rem;
708 | }
709 |
710 | .menu__item--active .menu__link::after,
711 | .menu__item:hover .menu__link::after {
712 | visibility: visible;
713 | opacity: 1;
714 | }
715 |
716 | .menu__item:first-child {
717 | padding-left: 0;
718 | }
719 |
720 | .menu__btn {
721 | display: none;
722 | }
723 |
724 | .menu__list,
725 | .js .menu__list {
726 | position: relative;
727 | display: -webkit-flex;
728 | display: flex;
729 | -webkit-flex-wrap: wrap;
730 | flex-wrap: wrap;
731 | visibility: visible;
732 | border: 0;
733 | -webkit-transform: none;
734 | transform: none;
735 | }
736 |
737 | }
738 |
739 | @media screen and (min-width: 901px) {
740 | .menu {
741 | padding: 0;
742 | }
743 | }
744 |
745 | /* Posts/Pages */
746 | .post__header,
747 | .main__header {
748 | margin-bottom: 20px;
749 | margin-bottom: 1.25rem;
750 | }
751 |
752 | .main__title {
753 | font-size: 28px;
754 | font-size: 2rem;
755 | }
756 |
757 | .main__content {
758 | margin-bottom: 20px;
759 | margin-bottom: 1.25rem;
760 | }
761 |
762 | .meta {
763 | font-size: 13px;
764 | font-size: .8125rem;
765 | vertical-align: baseline;
766 | }
767 |
768 | .meta,
769 | .meta a {
770 | color: #666;
771 | }
772 |
773 | .meta a:hover {
774 | color: {{ $highlightColor }};
775 | }
776 |
777 | .meta__item {
778 | display: inline;
779 | margin-left: 15px;
780 | }
781 |
782 | .meta__item:first-child {
783 | margin-left: 0;
784 | }
785 |
786 | .meta__icon {
787 | margin-right: 5px;
788 | vertical-align: middle;
789 | fill: #c4c4c4;
790 | }
791 |
792 | .meta__text {
793 | vertical-align: middle;
794 | }
795 |
796 | .post__title {
797 | margin: 0;
798 | }
799 |
800 | .post__meta {
801 | padding: 5px 0;
802 | margin-top: 10px;
803 | margin-top: .625rem;
804 | border-top: 1px dotted #ebebeb;
805 | border-bottom: 1px dotted #ebebeb;
806 | }
807 |
808 | .post__lead {
809 | margin-top: 4px;
810 | margin-top: .25rem;
811 | margin-bottom: 0;
812 | font-size: 16px;
813 | font-size: 1rem;
814 | font-style: italic;
815 | }
816 |
817 | .post__thumbnail {
818 | max-width: 1030px;
819 | margin: 0 0 20px;
820 | margin-bottom: 0 0 1.25rem;
821 | }
822 |
823 | .post__thumbnail img {
824 | width: 100%;
825 | }
826 |
827 | .content a,
828 | .warning a,
829 | .authorbox__description a {
830 | font-weight: 700;
831 | color: {{ $highlightColor }};
832 | }
833 |
834 | .content a:hover,
835 | .warning a:hover,
836 | .authorbox__description a:hover {
837 | color: {{ $highlightColor }};
838 | text-decoration: underline;
839 | }
840 |
841 | .content .alignnone {
842 | display: block;
843 | margin: 20px 0;
844 | margin: 1.25rem 0;
845 | }
846 |
847 | .content .aligncenter {
848 | display: block;
849 | margin: 20px auto;
850 | margin: 1.25rem auto;
851 | }
852 |
853 | .content .alignleft {
854 | display: inline;
855 | float: left;
856 | margin: 5px 20px 20px 0;
857 | margin: .3125rem 1.25rem 1.25rem 0;
858 | }
859 |
860 | .content .alignright {
861 | display: inline;
862 | float: right;
863 | margin: 5px 0 20px 20px;
864 | margin: .3125rem 0 1.25rem 1.25rem;
865 | }
866 |
867 | .content ul {
868 | list-style: square;
869 | }
870 |
871 | .content ol {
872 | list-style: decimal;
873 | }
874 |
875 | .content ul,
876 | .content ol {
877 | margin: 0 0 20px 40px;
878 | }
879 |
880 | .content ul ul,
881 | .content ol ol,
882 | .content ol ul,
883 | .content ul ol {
884 | margin: 0 0 0 40px;
885 | }
886 |
887 | .content li {
888 | margin-bottom: 5px;
889 | }
890 |
891 | .post__footer {
892 | margin-top: 20px;
893 | margin-top: 1.25rem;
894 | }
895 |
896 | /* Post tags */
897 | .tags {
898 | margin-bottom: 20px;
899 | margin-bottom: 1.25rem;
900 | font-size: 12px;
901 | font-size: .75rem;
902 | line-height: 1;
903 | color: #fff;
904 | }
905 |
906 | .tags__list {
907 | list-style: none;
908 | }
909 |
910 | .tags__item {
911 | float: left;
912 | margin: 0 6px 6px 0;
913 | margin: 0 .375rem .375rem 0;
914 | text-transform: uppercase;
915 | background: #2a2a2a;
916 | }
917 |
918 | .tags__item:hover {
919 | background: {{ $highlightColor }};
920 | }
921 |
922 | .tags__link,
923 | .tags__link:hover {
924 | display: block;
925 | padding: 10px 15px;
926 | }
927 |
928 | .tags__badge {
929 | float: left;
930 | width: 32px;
931 | height: 32px;
932 | padding: 8px;
933 | margin-right: 6px;
934 | background: {{ $highlightColor }};
935 | fill: #fff;
936 | }
937 |
938 | /* Table of Contents */
939 | .toc {
940 | margin-bottom: 20px;
941 | font-weight: 700;
942 | color: #7a8288;
943 | background: #fff;
944 | border-color: #ebebeb;
945 | border-style: solid;
946 | border-top-width: 1px;
947 | border-right-width: 1px;
948 | border-bottom-width: 0;
949 | border-left-width: 1px;
950 | }
951 |
952 | .toc__title {
953 | padding: 5px 10px;
954 | color: #fff;
955 | text-transform: uppercase;
956 | -webkit-user-select: none;
957 | -moz-user-select: none;
958 | -ms-user-select: none;
959 | -o-user-select: none;
960 | user-select: none;
961 | background: #2a2a2a;
962 | }
963 |
964 | .toc__menu ul {
965 | margin: 0;
966 | list-style: none;
967 | }
968 |
969 | .toc__menu ul ul ul a {
970 | padding-left: 25px;
971 | }
972 |
973 | .toc__menu ul ul ul ul a {
974 | padding-left: 45px;
975 | }
976 |
977 | .toc__menu ul ul ul ul ul a {
978 | padding-left: 65px;
979 | }
980 |
981 | .toc__menu ul ul ul ul ul ul a {
982 | padding-left: 85px;
983 | }
984 |
985 | .toc__menu li {
986 | margin: 0;
987 | }
988 |
989 | .toc__menu a {
990 | display: block;
991 | padding: 5px 10px;
992 | color: {{ $highlightColor }};
993 | border-bottom: 1px solid #ebebeb;
994 | }
995 |
996 | .toc__menu a:hover {
997 | text-decoration: underline;
998 | }
999 |
1000 | /* Author Box */
1001 | .authorbox {
1002 | padding: 25px 0;
1003 | margin-bottom: 25px;
1004 | line-height: 1.5;
1005 | border-top: 1px solid #ebebeb;
1006 | border-bottom: 1px solid #ebebeb;
1007 | }
1008 |
1009 | .authorbox__avatar {
1010 | float: left;
1011 | padding: 3px;
1012 | margin: 0 25px 0 0;
1013 | border: 1px solid #ebebeb;
1014 | }
1015 |
1016 | .authorbox__header {
1017 | margin-bottom: 10px;
1018 | }
1019 |
1020 | .authorbox__name {
1021 | font-size: 16px;
1022 | font-size: 1rem;
1023 | font-weight: 700;
1024 | }
1025 |
1026 | /* List content */
1027 | .list__item {
1028 | padding-bottom: 20px;
1029 | padding-bottom: 1.25rem;
1030 | margin-bottom: 20px;
1031 | margin-bottom: 1.25rem;
1032 | border-bottom: 1px solid #ebebeb;
1033 | }
1034 |
1035 | .list__header {
1036 | margin-bottom: 10px;
1037 | margin-bottom: .625rem;
1038 | }
1039 |
1040 | .list__title {
1041 | font-size: 20px;
1042 | font-size: 1.25rem;
1043 | }
1044 |
1045 | .list__meta {
1046 | margin-top: 5px;
1047 | }
1048 |
1049 | .list__thumbnail {
1050 | float: left;
1051 | margin: 0 20px 0 0;
1052 | }
1053 |
1054 | .list__thumbnail img {
1055 | width: 100%;
1056 | max-width: 235px;
1057 | }
1058 |
1059 | .list__footer-readmore {
1060 | float: right;
1061 | margin-top: 10px;
1062 | }
1063 |
1064 | /* Pagination */
1065 | .pagination {
1066 | margin-top: 20px;
1067 | }
1068 |
1069 | .pagination__item {
1070 | display: inline-block;
1071 | padding: 10px 15px;
1072 | font-weight: 700;
1073 | color: #000;
1074 | background: #f5f5f5;
1075 | }
1076 |
1077 | .pagination__item:hover,
1078 | .pagination__item--current {
1079 | color: #fff;
1080 | background: {{ $highlightColor }};
1081 | }
1082 |
1083 | /* Pager (prev/next links) navigation */
1084 | .pager {
1085 | -webkit-justify-content: space-between;
1086 | justify-content: space-between;
1087 | padding-top: 25px;
1088 | padding-bottom: 25px;
1089 | margin-bottom: 25px;
1090 | border-bottom: 1px solid #ebebeb;
1091 | }
1092 |
1093 | .pager__subtitle {
1094 | display: block;
1095 | margin-bottom: 5px;
1096 | font-weight: 700;
1097 | line-height: 1;
1098 | text-transform: uppercase;
1099 | }
1100 |
1101 | .pager__title {
1102 | margin-bottom: 0;
1103 | overflow: hidden;
1104 | font-size: 13px;
1105 | font-size: .8125rem;
1106 | }
1107 |
1108 | .pager__item {
1109 | -webkit-flex: 1 1 50%;
1110 | flex: 1 1 50%;
1111 | max-width: 48%;
1112 | }
1113 |
1114 | .pager__item--next {
1115 | margin-left: auto;
1116 | text-align: right;
1117 | }
1118 |
1119 | .pager__link {
1120 | display: block;
1121 | }
1122 |
1123 | /* Images / Video */
1124 | img {
1125 | width: auto\9; /* ie8 */
1126 | max-width: 100%;
1127 | height: auto;
1128 | vertical-align: bottom;
1129 | }
1130 |
1131 | iframe,
1132 | embed,
1133 | object,
1134 | video {
1135 | max-width: 100%;
1136 | }
1137 |
1138 | /* Table */
1139 | table {
1140 | width: 100%;
1141 | margin-bottom: 20px;
1142 | margin-bottom: 1.25rem;
1143 | border-spacing: 0;
1144 | border-collapse: collapse;
1145 | border-top: 1px solid #ebebeb;
1146 | border-left: 1px solid #ebebeb;
1147 | }
1148 |
1149 | td,
1150 | th {
1151 | padding: 5px 10px;
1152 | border-right: 1px solid #ebebeb;
1153 | border-bottom: 1px solid #ebebeb;
1154 | }
1155 |
1156 | th {
1157 | font-weight: 700;
1158 | }
1159 |
1160 | /* Forms */
1161 | input {
1162 | padding: 5px;
1163 | font-size: 12px;
1164 | vertical-align: middle;
1165 | background: #f5f5f5;
1166 | border: 1px solid #ebebeb;
1167 | transition: all .25s ease-in-out;
1168 | }
1169 |
1170 | input[type=text],
1171 | input[type=email],
1172 | input[type=tel],
1173 | input[type=url] {
1174 | width: 60%;
1175 | }
1176 |
1177 | input[type=text]:hover,
1178 | input[type=email]:hover,
1179 | input[type=tel]:hover,
1180 | input[type=url]:hover,
1181 | textarea:hover {
1182 | border: 1px solid #aaa;
1183 | }
1184 |
1185 | input[type=submit],
1186 | input[type=reset] {
1187 | display: inline-block;
1188 | min-width: 150px;
1189 | padding: 10px 15px;
1190 | font-weight: 700;
1191 | color: #fff;
1192 | text-transform: uppercase;
1193 | cursor: pointer;
1194 | background: #2a2a2a;
1195 | border: 0;
1196 | transition: all .1s linear;
1197 | -webkit-appearance: none;
1198 | }
1199 |
1200 | input[type=submit]:hover,
1201 | input[type=reset]:hover {
1202 | background: {{ $highlightColor }};
1203 | }
1204 |
1205 | textarea {
1206 | width: 96%;
1207 | padding: 5px;
1208 | overflow: auto;
1209 | line-height: 1.5;
1210 | resize: vertical;
1211 | background: #f5f5f5;
1212 | border: 1px solid rgba(0, 0, 0, .1);
1213 | }
1214 |
1215 | /* Widgets */
1216 | .widget {
1217 | margin-bottom: 25px;
1218 | overflow: hidden;
1219 | }
1220 |
1221 | .widget:last-child {
1222 | margin-bottom: 0;
1223 | }
1224 |
1225 | .widget__title {
1226 | position: relative;
1227 | padding-bottom: 5px;
1228 | font-size: 16px;
1229 | font-size: 1rem;
1230 | text-transform: uppercase;
1231 | border-bottom: 3px solid {{ $highlightColor }};
1232 | }
1233 |
1234 | .widget__item {
1235 | display: block;
1236 | padding: 5px 0;
1237 | border-bottom: 1px dotted #ebebeb;
1238 | }
1239 |
1240 | .widget__item:first-child {
1241 | padding-top: 0;
1242 | }
1243 |
1244 | /* Search widget */
1245 | .widget-search__form {
1246 | display: block;
1247 | padding: 5%;
1248 | margin: 0 auto;
1249 | background: #f5f5f5;
1250 | }
1251 |
1252 | .widget-search__form .widget-search__submit {
1253 | display: none;
1254 | }
1255 |
1256 | .widget-search__field {
1257 | position: relative;
1258 | display: block;
1259 | width: 90%;
1260 | padding: 8px;
1261 | margin: 0 auto;
1262 | font-size: 11px;
1263 | cursor: pointer;
1264 | background: #fff;
1265 | border: 1px solid #ebebeb;
1266 | border-radius: 0;
1267 | outline-offset: -2px;
1268 | transition: none;
1269 | -webkit-appearance: none;
1270 | }
1271 |
1272 | .widget-search__field:active,
1273 | .widget-search__field:focus {
1274 | cursor: text;
1275 | }
1276 |
1277 | /* Social widget */
1278 | .widget-social__item {
1279 | padding: 0;
1280 | border: 0;
1281 | }
1282 |
1283 | .widget-social__link {
1284 | display: block;
1285 | margin: 0 0 8px;
1286 | white-space: normal;
1287 | }
1288 |
1289 | .widget-social__link-icon {
1290 | margin: 0 5px 0 0;
1291 | vertical-align: middle;
1292 | fill: #fff;
1293 | }
1294 |
1295 | /* Tags Widget */
1296 | .widget-taglist__link {
1297 | display: inline-block;
1298 | margin: 0 4px 8px 0;
1299 | font-size: 12px;
1300 | text-transform: uppercase;
1301 | }
1302 |
1303 | /* Languages Widget */
1304 | .widget-languages__link {
1305 | display: block;
1306 | }
1307 |
1308 | .widget-languages__link:hover .widget-languages__link-btn {
1309 | color: #fff;
1310 | background: {{ $highlightColor }};
1311 | }
1312 |
1313 | .widget-languages__link-btn {
1314 | display: inline-block;
1315 | }
1316 |
1317 | /* Footer */
1318 | .footer {
1319 | padding: 10px 25px;
1320 | font-size: 12px;
1321 | font-size: .75rem;
1322 | color: #999;
1323 | background: #2a2a2a;
1324 | border-top: 3px solid #999;
1325 | margin-top: auto;
1326 | }
1327 |
1328 | .footer__container {
1329 | -webkit-flex-flow: row wrap;
1330 | flex-flow: row wrap;
1331 | -webkit-justify-content: space-between;
1332 | justify-content: space-between;
1333 | }
1334 |
1335 | .footer__links {
1336 | -webkit-order: 1;
1337 | order: 1;
1338 | }
1339 |
1340 | .footer a {
1341 | color: #fff;
1342 | }
1343 |
1344 | .footer a:hover {
1345 | text-decoration: underline;
1346 | }
1347 |
1348 | /* Media Queries */
1349 | @media screen and (max-width: 1475px) {
1350 | .container {
1351 | width: 95%;
1352 | }
1353 | }
1354 |
1355 | @media screen and (max-width: 900px) {
1356 | .container {
1357 | width: 100%;
1358 | margin: 0 auto;
1359 | }
1360 |
1361 | .wrapper,
1362 | .logo {
1363 | padding: 10px;
1364 | }
1365 |
1366 | .widget {
1367 | margin-bottom: 20px;
1368 | }
1369 |
1370 | .footer__container {
1371 | display: block;
1372 | }
1373 |
1374 | .footer__links {
1375 | padding-bottom: 8px;
1376 | padding-bottom: 0.5rem;
1377 | text-align: center;
1378 | }
1379 |
1380 | .footer__copyright {
1381 | text-align: center;
1382 | }
1383 | }
1384 |
1385 | @media screen and (max-width: 767px) {
1386 | .wrapper {
1387 | display: block;
1388 | }
1389 |
1390 | .sidebar {
1391 | float: none;
1392 | width: 100%;
1393 | margin: 0;
1394 | }
1395 |
1396 | .logo {
1397 | text-align: center;
1398 | }
1399 |
1400 | .logo__link {
1401 | margin: 0 auto;
1402 | }
1403 |
1404 | .logo__title {
1405 | font-size: 24px;
1406 | font-size: 1.5rem;
1407 | }
1408 |
1409 | .sidebar {
1410 | margin-top: 20px;
1411 | }
1412 | }
1413 |
1414 | @media screen and (max-width: 620px) {
1415 | input[type=text],
1416 | input[type=email],
1417 | input[type=tel],
1418 | input[type=url] {
1419 | width: 88%;
1420 | }
1421 |
1422 | .meta__item {
1423 | display: block;
1424 | margin-left: 0;
1425 | }
1426 |
1427 | .authorbox {
1428 | text-align: center;
1429 | }
1430 |
1431 | .authorbox__avatar {
1432 | display: inline-block;
1433 | float: none;
1434 | margin: 0 0 20px;
1435 | }
1436 |
1437 | .pager {
1438 | display: block;
1439 | }
1440 |
1441 | .pager__item {
1442 | min-width: 100%;
1443 | text-align: center;
1444 | }
1445 |
1446 | .pager__item--prev {
1447 | padding-bottom: 25px;
1448 | }
1449 |
1450 | .content ul,
1451 | .content ol {
1452 | margin: 0 0 20px 20px;
1453 | }
1454 |
1455 | .content ul ul,
1456 | .content ol ol,
1457 | .content ol ul,
1458 | .content ul ol {
1459 | margin: 0 0 0 20px;
1460 | }
1461 |
1462 | .list__thumbnail {
1463 | width: 100%;
1464 | }
1465 |
1466 | .list__thumbnail img {
1467 | max-width: 100%;
1468 | width: 300px;
1469 | margin-left: auto;
1470 | margin-right: auto;
1471 | display: block;
1472 | }
1473 |
1474 | .list__title {
1475 | font-size: 16px;
1476 | font-size: 1rem;
1477 | }
1478 |
1479 | .list__lead {
1480 | font-size: 14px;
1481 | font-size: .875rem;
1482 | }
1483 |
1484 | .list__meta {
1485 | display: block;
1486 | font-size: 11px;
1487 | font-size: .6875rem;
1488 | }
1489 | }
1490 |
--------------------------------------------------------------------------------