Skip to content

Commit

Permalink
Merge pull request #110 from Lednerb/development
Browse files Browse the repository at this point in the history
Publishing Version 1.10.0
  • Loading branch information
Lednerb authored Sep 10, 2018
2 parents 14a03a3 + 626d3d4 commit 3ef3097
Show file tree
Hide file tree
Showing 32 changed files with 293 additions and 8,122 deletions.
15 changes: 14 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [1.10.0] - 2018-09-10
### Fixed
- Incorrect rendering of task lists (#108)
- Displaying the RSS line in the footer

### Added
- Support for hugo pipes, no longer need for `npm` dependencies (#102)
- Option to configure the overlayIcon (#56)
- Option to configure the date format (#53)
- Option to display the Reading Time (#51)


## [1.9.1] - 2018-08-30
### Fixed
- Issues with the GoHugo Theme's requirements for the themes.gohugo.io site
Expand Down Expand Up @@ -143,7 +155,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Some typos


[Unreleased]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.9.1...master
[Unreleased]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.10.0...master
[1.10.0]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.9.1...1.10.0
[1.9.1]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.9.0...1.9.1
[1.9.0]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.8.1...1.9.0
[1.8.1]: https://github.com/Lednerb/bilberry-hugo-theme/compare/1.8.0...1.8.1
Expand Down
2 changes: 2 additions & 0 deletions assets/css/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Get external CSS-dependencies
`wget -O ../sass/externalDependencies.scss -i imports`
7 changes: 7 additions & 0 deletions assets/css/imports
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css
https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css
https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css
https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.7.1/flexslider.min.css
https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/zenburn.min.css
https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/2.10.1/instantsearch.min.css
https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/2.10.1/instantsearch-theme-algolia.min.css
2 changes: 2 additions & 0 deletions assets/js/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Get external JS-dependencies
`wget -O externalDependencies.js -i imports`
17 changes: 17 additions & 0 deletions assets/js/externalDependencies.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions assets/js/imports
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js
https://cdnjs.cloudflare.com/ajax/libs/autocomplete.js/0.31.0/autocomplete.jquery.min.js
https://cdnjs.cloudflare.com/ajax/libs/flexslider/2.7.1/jquery.flexslider.min.js
https://cdnjs.cloudflare.com/ajax/libs/instantsearch.js/2.10.1/instantsearch.min.js
https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment-with-locales.min.js
https://cdnjs.cloudflare.com/ajax/libs/algoliasearch/3.30.0/algoliasearch.min.js
https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js
11 changes: 0 additions & 11 deletions src/js/theme.js → assets/js/theme.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,3 @@
window.$ = window.jQuery = require('jquery');

require('autocomplete.js/dist/autocomplete.jquery.min.js');

require('flexslider');
require('instantsearch.js');
window.moment = require('moment');
window.algoliasearch = require('algoliasearch');

const hljs = require('highlight.js');

$(document).ready(function() {
$(".toggler").click(function () {
$("nav").slideToggle();
Expand Down
13 changes: 12 additions & 1 deletion src/scss/_articles.scss → assets/sass/_articles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,17 @@ article {
}
}

.task-list {
list-style: none;

.task-list-item {
margin-bottom: 0;
position: relative;
top: 3px;
margin-right: 0.25em;
}
}

blockquote {
background-color: #f6f6f6;
font-family: $headline-font;
Expand All @@ -116,7 +127,7 @@ article {
margin-bottom: 0;
}
}

img {
width: 100%;
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/scss/_variables.scss → assets/sass/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$fonts-folder: '/bilberry-hugo-theme/dist/fonts/';

// Set the with of the main content area
// Notice that the actual content's width is $site-width - 100px
$site-width: 800px;
Expand Down
11 changes: 11 additions & 0 deletions assets/sass/externalDependencies.scss

Large diffs are not rendered by default.

162 changes: 162 additions & 0 deletions assets/sass/fontface.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
@font-face {
font-family: 'flexslider-icon';
src: url($fonts-folder + 'flexslider-icon.eot');
src: url($fonts-folder + 'flexslider-icon.eot?#iefix') format('embedded-opentype'), url($fonts-folder + 'flexslider-icon.woff') format('woff'), url($fonts-folder + 'flexslider-icon.ttf') format('truetype'), url($fonts-folder + 'flexslider-icon.svg#flexslider-icon') format('svg');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'FontAwesome';
src: url($fonts-folder + 'fontawesome-webfont.eot?v=4.7.0');
src: url($fonts-folder + 'fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url($fonts-folder + 'fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url($fonts-folder + 'fontawesome-webfont.woff?v=4.7.0') format('woff'), url($fonts-folder + 'fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url($fonts-folder + 'fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
font-weight: normal;
font-style: normal;
}

/* open-sans-regular - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 400;
src: url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.eot'); /* IE9 Compat Modes */
src: local('Open Sans Regular'), local('OpenSans-Regular'),
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-italic - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 400;
src: url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.eot'); /* IE9 Compat Modes */
src: local('Open Sans Italic'), local('OpenSans-Italic'),
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700 - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.eot'); /* IE9 Compat Modes */
src: local('Open Sans Bold'), local('OpenSans-Bold'),
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}
/* open-sans-700italic - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: 700;
src: url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.eot'); /* IE9 Compat Modes */
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'),
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'open-sans-v15-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* roboto-regular - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.eot'); /* IE9 Compat Modes */
src: local('Roboto'), local('Roboto-Regular'),
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-italic - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 400;
src: url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.eot'); /* IE9 Compat Modes */
src: local('Roboto Italic'), local('Roboto-Italic'),
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-italic.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.eot'); /* IE9 Compat Modes */
src: local('Roboto Bold'), local('Roboto-Bold'),
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700italic - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Roboto';
font-style: italic;
font-weight: 700;
src: url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.eot'); /* IE9 Compat Modes */
src: local('Roboto Bold Italic'), local('Roboto-BoldItalic'),
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'roboto-v18-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-700italic.svg#Roboto') format('svg'); /* Legacy iOS */
}

/* comfortaa-regular - vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Comfortaa';
font-style: normal;
font-weight: 400;
src: url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-regular.eot'); /* IE9 Compat Modes */
src: local('Comfortaa Regular'), local('Comfortaa-Regular'),
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-regular.svg#Comfortaa') format('svg'); /* Legacy iOS */
}
/* comfortaa-700 - vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Comfortaa';
font-style: normal;
font-weight: 700;
src: url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-700.eot'); /* IE9 Compat Modes */
src: local('Comfortaa Bold'), local('Comfortaa-Bold'),
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-700.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-700.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-700.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'comfortaa-v12-vietnamese_latin_greek_cyrillic-ext_latin-ext_cyrillic-700.svg#Comfortaa') format('svg'); /* Legacy iOS */
}

/* roboto-mono-regular - vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic */
@font-face {
font-family: 'Roboto Mono';
font-style: normal;
font-weight: 400;
src: url($fonts-folder + 'roboto-mono-v5-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.eot'); /* IE9 Compat Modes */
src: local('Roboto Mono'), local('RobotoMono-Regular'),
url($fonts-folder + 'roboto-mono-v5-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url($fonts-folder + 'roboto-mono-v5-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.woff2') format('woff2'), /* Super Modern Browsers */
url($fonts-folder + 'roboto-mono-v5-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.woff') format('woff'), /* Modern Browsers */
url($fonts-folder + 'roboto-mono-v5-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url($fonts-folder + 'roboto-mono-v5-vietnamese_latin_greek_cyrillic-ext_greek-ext_latin-ext_cyrillic-regular.svg#RobotoMono') format('svg'); /* Legacy iOS */
}
2 changes: 2 additions & 0 deletions src/scss/theme.scss → assets/sass/theme.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@import "_variables";
@import "externalDependencies";
@import "fontface";

.bilberry-hugo-theme {
background-color: $page-background-color;
Expand Down
14 changes: 14 additions & 0 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,26 @@ disqusShortname = "bilberry-hugo-theme"
# set an path to the image file you want to use | overwrites gravatar
customImage = ""

# define the icon you want to use for the overlay for the customImage or gravatar.
overlayIcon = "fa-home"

# always display the top navigation (with pages and search) on non-mobile screens
permanentTopNav = false

# show a language chooser in the header
showHeaderLanguageChooser = true

# Content configuration
# enable automatical localization of the article's PublishedDate with momentjs
enableMomentJs = true

# customize the date format | only works if momentjs is disabled | only works with English month names
# you can customize it with the options you find here:
# https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference
dateFormat = "2006-01-02"

# display the estimated reading time for an article
showReadingTime = false

# Footer configuration
showFooter = true
Expand Down
4 changes: 4 additions & 0 deletions i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ other = "Weiterlesen"
[otherLanguages]
other = "Andere Sprachen"

[readingTime]
one = "1 Min. lesen"
other = "{{.Count}} Min. lesen"

4 changes: 4 additions & 0 deletions i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,7 @@ other = "Continue reading"
[otherLanguages]
other = "Other languages"

[readingTime]
one = "1 min read"
other = "{{.Count}} min read"

Loading

0 comments on commit 3ef3097

Please sign in to comment.