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

397 Commits

Author SHA1 Message Date
ba0aca3e2b
layouts/_default/list.html: Use pagination partial
Now that we're using the same pagination code on lists and taxonomy
pages we should reuse the code by putting it in a partial.
2018-04-19 18:20:35 +03:00
400357930a
Add taxonomy template
The default list template was used for paginating posts on the homepage
as well as the taxonomies and terms pages, but actually those two cases
are different. This introduces a taxonomy template that paginates based
on the current context (ie, when displaying posts for a certain tag).
2018-04-19 18:08:48 +03:00
f13e1c6e6f
README.md: Add note about i18n 2018-03-17 10:00:22 +02:00
dfbf810ca2
README.md: Add note about JSON-LD 2018-03-17 09:57:20 +02:00
aee72b6714
Regenerate static resources
Not sure why cookieconsent changed...
2018-03-16 22:38:48 +02:00
59d10fe0c6
package.json: clean-css-cli version 4.1.11 2018-03-16 22:37:25 +02:00
e5aa0ff173
.travis.yml: Test Active LTS and Current NodeJS versions 2018-03-09 22:46:17 +02:00
cbd7140e63
layouts/_default/baseof.html: Update navbar menu template
Uses the same code as the Hugo menu template example, which should be
more robust with nested menus.
2018-03-09 20:29:11 +02:00
74b3b2bfd8
exampleSite/config.toml: Remove custom_navbar
Now users should just use the "navbar" menu directly via the site's
config or page frontmatter. This is a result of switching to Hugo's
newish .Site.Params.mainSections slice.
2018-03-09 18:03:26 +02:00
2ad673d5d2
README.md: Recommend creating "posts"
To be more in line with the Hugo quickstart.
2018-03-09 17:59:43 +02:00
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