1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-16 17:27:04 +01:00
Commit Graph

362 Commits

Author SHA1 Message Date
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
Tom Kao
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
Bjørn Erik Pedersen
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
Caleb Cushing
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
Mike Lococo
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
09d089f214
layouts/_default/baseof.html: Remove trailing whitespace 2017-04-04 11:54:30 +03:00
zidenis
e811b25fdc highlights the current navbar menu entry 2017-04-04 11:53:38 +03:00
eed60d8a8d
Lint the i18n yaml files with yamllint 2017-04-01 12:16:40 +03:00
54983d890b
README.md: Adjust NodeJS version note for v6 or v7 2017-03-29 12:54:09 +03:00
e4a08e6b61
README.md: Adjust developers note about NodeJS version
NodeJS version 4 is on maintenance mode only, so I will generally
only be testing this theme's build process with v6 and v7 for now.
2017-03-29 12:52:39 +03:00
5d29275d05
README.md: Add icon for Travis CI build status 2017-03-29 12:48:00 +03:00
86f216e730
Add config for Travis CI 2017-03-29 12:38:07 +03:00
e2ccfe8bf3
Clean up empty whitespace in JSON-LD
Use secret formatting feature of Go templates, adding - to blocks
to clear whitespace around the tags.
2017-03-24 16:49:26 +02:00
d554b6bead
layouts/_default/single.html: Only get imageConfig on local images
Don't try to get image information when the image isn't local. We
generally expect that images are in the local filesystem's static
directory, but if the user has specified a remote image—ie, with
an http:// or https:// prefix—then we shouldn't try imageConfig.
2017-03-24 16:31:50 +02:00
3b3598960c
Revert "Revert "layouts: Add imageConfig to set height and width""
This reverts commit 5e1b0f40ab.
2017-03-24 16:02:44 +02:00