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

387 Commits

Author SHA1 Message Date
1655b876a8
Use .Site.Params.mainSections instead of hard coding "post" type
Hugo 0.32 or so added the quasi-magical .Site.Params.mainSections slice
that returns a range over the section that has the most number of pages.

This way we don't need to hard code the "post" type, and instead simply
use the pages that the user has created. Hugo's quickstart, for example,
recommends users create "posts", which currently doesn't work with this
theme!

Closes #89
2018-03-09 17:50:03 +02:00
99acad59bc
Regenerate style.css 2018-02-08 20:10:11 +02:00
f54541e87a
source/scss/font-awesome.scss: Add new social icons
A user requested a few more Font Awesome icons. See #87.
2018-02-08 20:09:37 +02:00
e2dd434e07
Merge pull request #84 from fte378/add_keywords
Add keywords
2018-02-04 10:16:05 +02:00
d0bcc5f506
Merge pull request #83 from fte378/update_german
Misspelled word in translation for German corrected.
2018-02-02 17:38:34 +02:00
Frank Tegtmeyer
85924be657 Configurable keywords for blog posts. 2018-02-02 11:56:44 +01:00
Frank Tegtmeyer
b77fe77932 Configurable keywords for blog posts. 2018-02-02 11:56:19 +01:00
Frank Tegtmeyer
8137a4881d Misspelled word in translation for German corrected. 2018-02-02 11:32:34 +01:00
65a909bd41
README.md: Reword introduction 2018-01-28 11:22:01 +02:00
d197868046
README.md: Update description
Bootstrap v4.0.0 final has introduced[0] a "snarky" new blog example, so
we can no longer claim that this is "the" Bootstrap blog example. Hmm.

See: https://blog.getbootstrap.com/2018/01/18/bootstrap-4/
2018-01-28 00:32:38 +02:00
676386dfbf
Regenerate static style.css 2018-01-27 19:09:35 +02:00
07d3c8ae08
source/scss/bootstrap.scss: Disable unused includes 2018-01-27 19:08:18 +02:00
fda4d5b6ae
source/scss/bootstrap.scss: Import from dist
See: node_modules/bootstrap/scss/bootstrap.scss
2018-01-27 19:06:48 +02:00
da3d5e22d4
package.json: Bump node-sass version
To match upstream Bootstrap configuration.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-01-27 18:19:28 +02:00
ed5d0376a4
package.json: Bump Bootstrap to 4.0.0
Release announcement: https://blog.getbootstrap.com/2018/01/18/bootstrap-4/
2018-01-27 18:18:21 +02:00
f0a411f227
Merge pull request #82 from fte378/update_german
Better text for navigation (German)
2018-01-26 15:12:10 +02:00
Frank Tegtmeyer
3b82a05a37 Better text for navigation (German) 2018-01-26 13:08:45 +01:00
58f0b48a72
layouts/404.html: Add minimal not found page
You still need to instruct your web server to use this. See the Hugo
documentation for more information: https://gohugo.io/templates/404/

Closes #72
2018-01-14 05:49:55 +02:00
c7bb955708 Regenerate static assets 2018-01-13 11:43:06 +02:00
619b7c7e62 source/scss/bootstrap.scss: Disable features we don't use 2018-01-13 11:43:06 +02:00
5fa34cddc7 source/scss/bootstrap.scss: Ammend paths for build 2018-01-13 11:43:06 +02:00
eac1db3e5e source/scss/bootstrap.scss: Import from distribution 2018-01-13 11:43:06 +02:00
9064e2460d package.json: Bump clean-css-cli to 4.1.10
To match upstream Bootstrap's package.json.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-01-13 11:43:06 +02:00
8051dc80c6 package.json: Bump Bootstrap to v4 beta 3
See the release announcement: https://blog.getbootstrap.com/2017/12/28/bootstrap-4-beta-3/
2018-01-13 11:43:06 +02:00
fda0d8dfb0
Merge pull request #80 from nzoschke/master
blocks for masthead, header, body and footer
2018-01-05 15:02:57 -08:00
Noah Zoschke
9cce778e86 blocks for masthead, header, body and footer 2018-01-02 13:52:23 -08:00
2910e93c67
.gitignore: Add yarn.lock 2017-12-18 13:15:25 +02:00
8e81b76dd1 README.md: Update link to multi-lingual content docs
Thanks to @jodumont for reporting this on GitHub.

See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues/77
2017-11-22 11:31:24 +02:00
89e9f6428d
Merge pull request #76 from marcanuy/add-spanish-i18n
added spanish i18n
2017-11-20 22:55:54 +02:00
Marcelo Canina
1f0c3613a5 added spanish i18n 2017-11-20 17:49:28 -03:00
63f635f53c
Regenerate style.css 2017-10-27 16:13:56 +02:00
84e9cd1559
source/scss/bootstrap.scss: Re-apply customizations 2017-10-27 16:08:36 +02:00
68b38833e0
Import bootstrap.scss from dist 2017-10-27 16:05:55 +02:00
a37744d9dd
package.json: Bump Bootstrap to v4 Beta 2
See: http://blog.getbootstrap.com/2017/10/19/bootstrap-4-beta-2/
2017-10-27 15:58:51 +02:00
3c2b9d5bc0
README.md: Adjust NodeJS version comment
I've been using NodeJS v4, v6, v7, and v8 to build this and they all
work fine, so I'll just say >= v6 because it's the latest long-term
support release as of right now.
2017-09-29 17:21:34 +03:00
9144fc7ed9
Update static assets for Bootstrap 4.0 Beta 1 2017-08-13 11:49:22 +03:00
48ab789ddf
README.md: Grammar 2017-08-13 11:47:33 +03:00
f76e962697
README.md: Update links to Bootstrap 4.0 docs 2017-08-13 11:47:05 +03:00
0055110e47
layouts/partials/sidebar.html: Use margin class instead of offset
Bootstrap 4.0 Beta 1 dropped the offset classes in favor of margin
classes. We need to use `ml-auto` instead of `offset-sm-1` here to
get the same effect.

See: https://github.com/twbs/bootstrap/pull/22942
See: https://github.com/twbs/bootstrap/pull/23388
2017-08-13 11:41:35 +03:00
de19620735
source/scss/main.scss: Apply blockquote style to all blockquotes
Bootstrap's default only styles blockquote tags that also have the
class "blockquote". As Hugo's Markdown syntax for blockquotes only
produces bare blockquote tags, we should apply the same style to
those as well, as this is most likely what users expect.

Note: there seems to be a regression in the style used in v4 Alpha
6 as compared to v4 Beta 1. Need to follow that up, but for now I
will just copy the style verbatim.

See: https://github.com/alanorth/hugo-theme-bootstrap4-blog/issues/50
2017-08-11 12:07:32 +03:00
7f34fa0cba
source/scss/bootstrap.scss: Disable features we don't use
We only need grid and some other features of Bootstrap.
2017-08-11 11:49:07 +03:00
2fdc4a382f
Import Bootstrap 4 Beta 1
Bring in new bootstrap.scss and align dependencies in package.json
with upstream's.

See: node_modules/bootstrap/scss/bootstrap.scss
2017-08-11 11:37:40 +03:00
dfb4e7fabd
archetypes/default.md: Add date and title
Hugo 0.24 requires these to be provided by the archetype.
2017-07-25 16:56:44 +03:00
2dd72d7ec1
layouts/_default/single.html: Improve Schema.org keywords
Use delimit function over a union of Categories and Tags. This is
much easier to read, results in correct delimiting with no trailing
comma, and works even if one of the slices is nil.
2017-07-07 16:29:59 +03:00
6945b0de20
layouts/_default/single.html: Improve Schema.org keywords
Use delimit function over a union of Categories and Tags. This is
much easier to read, results in correct delimiting with no trailing
comma, and works even if one of the slices is nil.
2017-07-07 16:25:56 +03:00
db28ce75d1
theme.toml: Bump minimum version to 0.25
Due to depending on the updated Disqus template from Hugo 0.25.

See: https://github.com/gohugoio/hugo/releases/tag/v0.25
2017-07-07 15:34:59 +03:00
1311adde33
layouts: Revert to built-in Disqus template
Hugo 0.25 improved the embedded Disqus template so we can just use
theirs now.

See: https://github.com/gohugoio/hugo/pull/3655
See: https://github.com/gohugoio/hugo/pull/3639
2017-07-07 15:31:17 +03:00
238af4fe43
package.json: Bump versions to match Bootstrap's
See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2017-06-08 09:45:16 +03:00
71e151ae60
images/tn.png: New thumbnail without browser
Taken in Firefox Developer Tools...
2017-05-28 14:40:49 +03:00
e6f3bb82de Merge pull request #67 from tomkao/master
Adding traditional Chinese translation.
2017-05-19 08:23:38 +03:00