1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-05-09 14:06:02 +02:00
Commit Graph

622 Commits

Author SHA1 Message Date
f0a411f227 Merge pull request #82 from fte378/update_german
Better text for navigation (German)
2018-01-26 15:12:10 +02:00
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
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
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
35c4ba8005 Adding traditional Chinese translation. 2017-05-19 00:11:13 +08:00
f3e63d5619 i18n/bg.yaml: Add new Bulgarian strings 2017-04-27 12:15:07 +03:00
9d01f8c75b Merge pull request #65 from bep/patch-1
Change tag from fontawesome to font awesome
2017-04-27 08:06:55 +03:00
5718749ba2 Change tag from fontawesome to font awesome
To match the majority on the new tagcloud on http://themes.gohugo.io/.
2017-04-26 20:31:44 +02:00
e97e5983a5 package.json: Bump dependencies to match Bootstrap's
See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2017-04-26 00:02:37 +03:00
f0e4eccc26 Regenerate style.css and SRI hashes 2017-04-16 17:56:29 +03:00
d68a3d4bcb source/scss/bootstrap.scss: Enable forms
So that the user can use form styles via HTML, like on a contact
form or something.
2017-04-16 17:55:52 +03:00
90541bf8ff exampleSite/config.toml: Document disable_sri option 2017-04-12 21:40:53 +03:00
a81ed6803b layouts/_default/baseof.html: Allow disabling of SRI
Some sites using edge caching like that on a CDN or S3 might have
issues with assets being cached too long, causing user agents to
refuse to load assets due to SRI hash mismatch. These sites should
disable the use of sub-resource integrity hashes using this config
option in their config:

    disable_sri = true
2017-04-12 21:38:10 +03:00
dc0201301b Regenerate style.css and SRI hashes 2017-04-08 19:25:48 +03:00
fac07eaec0 add a little padding around a code block (#63)
if you have formatted code in a post it's a little ugly because it goes from a white background to a  grey with no space around the characters so they're right at the edge, this fixes that.
2017-04-08 19:24:25 +03:00
920e5a78b4 exampleSite/config.toml: Remove extra whitespace 2017-04-04 12:47:43 +03:00
2e5eef29a6 Add option to control post truncation. 2017-04-04 12:45:11 +03:00
e7749e9bde layouts/_default/baseof.html: Don't create whitespace
Cleans up some template logic so that extra, unnecessary whitespace
isn't created during site generation.
2017-04-04 12:21:52 +03:00
77671af35d layouts/: Use absLangURL to determine active page in menu
On sites with multiple languages we need to use the absolute URL in
the test to determine if the current page should be marked "active"
in the menu bar. Perhaps a bug with Hugo that relative links end up
like "/bg/bg/about" instead of "/bg/about".
2017-04-04 12:03:07 +03:00