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

216 Commits

Author SHA1 Message Date
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
Frank Tegtmeyer
b81d5c54da Disqus integration for single nodes. 2016-11-01 15:25:44 +01:00
065dd80faf
README.md: Fix syntax error 2016-10-26 10:15:22 -04:00
f7e8827e39
README.md: Add suggestion about images in front matter 2016-10-25 19:42:34 -04:00
f6f913512b
README.md: Add content suggestions 2016-10-25 19:38:41 -04:00
bb9d17c7be
README.md: Update features
Use consistent style
2016-10-25 19:20:00 -04:00
b6b7655cc2
Add .gitkeep placeholder file to static directory 2016-10-21 12:01:25 -07:00
77a3925ade
static/css/style.css: Regenerate 2016-10-19 20:25:24 -07:00
97694ecab9
source/scss/bootstrap.scss: Update from distribution
Only changes a comment, but it's the principle that counts (one day
they might change something important so it's good to check).
2016-10-19 20:24:24 -07:00
92f3ff829b
package.json: Bump Bootstrap to Alpha 5
See the release announcement here:

https://blog.getbootstrap.com/2016/10/19/bootstrap-4-alpha-5/
2016-10-19 20:22:45 -07:00
08bc3493ab
i18n/bg.yaml: Add more strings 2016-10-19 17:06:57 -07:00
a8086d8a7b
Add Bulgarian language strings 2016-10-19 16:29:42 -07:00
1e76900a4a Merge pull request #4 from aerohub/patch-1
Russian language file
2016-10-19 16:25:33 -07:00
Pavel Kanyshev
baebcdb5db Russian language file 2016-10-19 22:54:34 +03:00
e721e3f542
exampleSite/config.toml: Use safe baseURL for example
Apparently a scammer has registered this other domain and has some
malware, ads, etc on it. There is a GitHub issue tracking this and
recommends changing the example baseURL to something safer.

See: https://github.com/spf13/hugoThemes/issues/171
2016-10-19 09:03:41 -07:00
885827e173
README.md: Update description 2016-10-19 08:52:35 -07:00
1f042fe72d
theme.toml: Add link to original Bootstrap theme 2016-10-19 08:51:11 -07:00
3a585d9faa
README.md: Update features and TODOs
Displaying tags/categories and paginating posts aren't really
features!
2016-10-18 23:15:19 -04:00
fa400b914c
exampleSite/config.toml: Remove sidebar hiding option
It doesn't work, so having it in the example config is misleading.
2016-10-18 23:10:20 -04:00
1e123e0566
README.md: Update TODOs 2016-10-18 23:08:34 -04:00
9d4d062152
layouts/_default/baseof.html: Remove optional sidebar hiding
As it is right now, the sidebar gets hidden but the blog's main
content stays on the left. Gotta look at the CSS to make the
container responsive.
2016-10-18 23:06:19 -04:00
2abe8b1cd3
layouts/_default/list.html: Only show pagination if necessary 2016-10-18 22:53:14 -04:00
cdcae6c8a4
layouts: Don't assume date_format is defined
User can override the date format with date_format, but we should
have a default in the case that the user hasn't defined it.
2016-10-17 23:39:41 -04:00