1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-18 02:07:05 +01:00
Commit Graph

438 Commits

Author SHA1 Message Date
61f08c0941
Regenerate cookieconsent assets 2017-01-04 13:17:38 +02:00
d91a73137f
package.json: Update cookieconsent to 3.0.4 2017-01-04 13:13:52 +02:00
567fa9d3dc
theme.toml: Update minimum Hugo version to 0.18 2016-12-25 17:59:27 +02:00
8616dd8c10
layouts/_default/baseof.html: Use .Site.RegularPages instead of .Site.Pages
Hugo 0.18 changes the pages returned by .Site.Pages, so we need to
use .Site.RegularPages in order to test the type.

See: https://github.com/spf13/hugo/releases/tag/v0.18
See: https://gohugo.io/templates/variables#site-variables
2016-12-25 17:56:24 +02:00
08a93fc71e
README.md: Add note about disabling comments on a post 2016-12-24 17:21:26 +02:00
61201274fb
layouts/_default/single.html: Allow disabling of comments
To disable comments for a single page, set "comments = false" in
its frontmatter.
2016-12-24 17:18:03 +02:00
03c2adb74c Merge pull request #29 from fte378/update_german
update for german translation
2016-12-11 21:01:34 +02:00
Frank Tegtmeyer
47d257e007 update for german translation 2016-12-11 19:04:55 +01:00
ff9dfdc266 Merge pull request #27 from gauthierl/i18n_fr
add french translation
2016-12-09 17:39:52 +02:00
6e753267d6 Merge pull request #28 from gauthierl/links
links in sidebar is not tranlatable
2016-12-09 17:38:03 +02:00
Mathieu GAUTHIER-LAFAYE
65b9847333 links in sidebar is now tranlatable 2016-12-09 16:35:13 +01:00
3d25006a4e Merge pull request #25 from gauthierl/back_to_top_link
the "Back on top" link is not translatable.
2016-12-09 17:03:05 +02:00
Mathieu GAUTHIER-LAFAYE
469e909920 fr: translate "links" 2016-12-09 15:48:41 +01:00
Mathieu GAUTHIER-LAFAYE
0324570af4 fr: translate "backInTop" 2016-12-09 15:43:14 +01:00
Mathieu GAUTHIER-LAFAYE
89f87e050b the "Back on top" link is now translatable. 2016-12-09 15:37:53 +01:00
Mathieu GAUTHIER-LAFAYE
4092b129bd add french translation 2016-12-09 15:32:44 +01:00
5c4f7a3cb5 Merge pull request #24 from fike/master
Added portuguese translation file
2016-11-30 19:29:42 +02:00
Fernando Ike
c4e9a6cd1e Added portuguese translation file 2016-11-30 15:18:05 -02:00
DeedleFake
d0c9781d74 Add Permalink as prefix to back to top link href. (#22) 2016-11-29 17:07:28 +02:00
ba80215596
README.md: Add note about custom head code 2016-11-27 13:31:57 +02:00
1341bbd436
README.md: Remove TODOs
Add individual GitHub issues for them and suggest that people who
are interested go tackle one of them and contribute fixes there.

See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues
2016-11-27 13:27:57 +02:00
b52fac69b1
layouts: retab after addition of modelines
Done in vim using `gg=G` and then `:retab`.
2016-11-24 14:39:39 +02:00
DeedleFake
663f3db2a0 Add Vim Modeline Comments to Files (#18)
* Add Vim modeline comments to all relevent template files.

* Add Vim modeline comments to a few other files.

* Move modeline comments inside the template definitions in list and single.

For some odd reason, putting them outside breaks the page generation.

* Use template comments for modeline comments in templates.

* Fix form 2 modelines.
2016-11-24 14:33:56 +02:00
DeedleFake
b83b1683a7 Add ability to insert custom code into the global <head>. (#17)
* Add ability to insert custom code into the global <head>.
* Fix indentation.
2016-11-22 21:11:50 +02:00
abfc8ad15c
Make "→" in "Read more" part of the i18n strings
Eventually I'd like to support right-to-left languages like Arabic
and we'd need the arrow to point the other way for that.
2016-11-20 12:14:46 +02:00
f6e262f05e Merge pull request #15 from ejsmit/navbar-menu
Add custom navbar support
2016-11-17 13:30:50 +02:00
Rassie Smit
aa7bd11522 Add custom navbar support
- default behaviour is backward compatible: all non-post pages
- optionally enable custom navbar using hugo menu functionality
2016-11-17 10:04:14 +00:00
b03b939124 Merge pull request #14 from bep/rss
Rename RSSlink to RSSLink
2016-11-17 10:53:47 +02:00
Bjørn Erik Pedersen
a6ebe0a0b3 Rename RSSlink to RSSLink
The former will be deprecated and eventually removed from Hugo.

Note: Currently both of them exist in Hugo, which is the reason for the cleanup.
2016-11-17 09:12:17 +01:00
07d6294224
static/css/style.css: Regenerate 2016-11-16 12:03:20 +02:00
4d79004570
source/scss: Only import parts of font-awesome that we actually need
We can save ~30KiB in our stylesheet by only importing font-awesome
features and icons that we are actually using.
2016-11-16 12:00:21 +02:00
54bb4e52aa
README.md: Remove TODO about author pages/indexes
Doesn't seem possible right now without significant hackery, and I
want to keep the theme simple, relying on native Hugo features as
much as possible.
2016-11-16 10:08:16 +02:00
ca43b73696
README.md: Add notes about contributing 2016-11-16 09:38:11 +02:00
33bd2a3488 Merge pull request #12 from fte378/german
Added german translation for cookie consent.
2016-11-15 16:58:46 +02:00
Frank Tegtmeyer
07784422f6 Added german translation for cookie consent. 2016-11-15 15:39:03 +01:00
e3f93bd38b
README.md: Add cookie consent to features 2016-11-13 14:17:53 +02:00
043f66a4d0
exampleSite/config.toml: Add parameter for cookie consent 2016-11-13 14:15:01 +02:00
a66be324cc
Add plumbing for cookie consent
Set the cookie_consent_info_url parameter in your site's config to
display a message about cookie usage to your users. See the config
in `exampleSite/config.toml` for more info.
2016-11-13 14:13:17 +02:00
3d1526eb55
static: Generate cookieconsent assets 2016-11-13 13:42:59 +02:00
a546fc731e
package.json: Add run script for cookieconsent 2016-11-13 13:42:22 +02:00
3c900b036b
package.json: Add cookieconsent dependency 2016-11-09 16:00:22 +02:00
1f14455b12
layouts/_default/baseof.html: Don't indent go blocks
They get indented doubly in the generated HTML and look funny.
2016-11-09 15:42:39 +02:00
929d2d976a
layouts/_default/baseof.html: Improve handling of RSS
We are explicitly using the site's RSS feed, but after reading the
Hugo RSS docs I think it's better if we use the contextual version
of the RSSlink. This will make the RSS plumbing show a feed for the
current category, tag, section, etc. The example code also adds a
bit of markup to help browsers find the content more easily.

See: https://gohugo.io/templates/rss/
2016-11-09 15:39:23 +02:00
b23a4b13a9
exampleSite/config.toml: Add note about Disqus comments 2016-11-06 22:58:04 +02:00
f8eca16f51
static: Regenerate for Font Awesome 4.7.0 2016-11-06 22:56:14 +02:00
3c3db93917
package.json: Bump Font Awesome to latest version
See the version 4.7.0 pull request with a change log of sorts:

https://github.com/FortAwesome/Font-Awesome/pull/10012
2016-11-06 22:54:47 +02:00
456937f176 Merge pull request #9 from fte378/germantranslation
German translation
2016-11-04 14:40:16 +02:00
Frank Tegtmeyer
35964d5046 German translation 2016-11-04 10:22:03 +01:00
5d3e273d49
README.md: Add notes about Disqus comments 2016-11-02 15:25:03 +02:00
74ab144e97 Merge pull request #5 from fte378/disqusintegration
Disqus integration for single nodes.
2016-11-02 15:17:25 +02:00