1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-12-26 04:04:29 +01:00
Commit Graph

169 Commits

Author SHA1 Message Date
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
fdc982b9fb
theme.toml: Add Font Awesome to tags
Still not sure how to differentiate tags and features for the Hugo
themes directory though...
2016-10-17 22:56:45 -04:00
64cdb7f087
Add screenshot and thumbnail for Hugo themes directory
Used in the themes gallery. Kinda low res though. The screenshot
in the readme is still the high-res one.
2016-10-17 22:18:39 -04:00
372a14e822
README.md: Use absolute path for screenshot link
Required for inclusion to Hugo's themes directory.
2016-10-17 22:11:11 -04:00
3f6fa1dfa4
theme.toml: Clean up, update 2016-10-17 22:08:08 -04:00
7a9c17bc55
Add default archetype with some recommended options 2016-10-17 18:08:39 -04:00
3d80880dd9
README.md: Minor style/flow adjustments 2016-10-17 18:00:08 -04:00
fa8b65dda6
README.md: Update TODOs
Add link to multilingual docs and remove TODO for Twitter username
since I'm using Hugo's own logic for Twitter cards now.
2016-10-16 18:56:25 -04:00
a77e150bdf
README.md: Update features 2016-10-15 09:10:03 -04:00
de403cabd4
exampleSite/config.toml: Update options 2016-10-14 23:18:52 -04:00
b637dd5eb1
layouts/partials/head-meta.html: Use Hugo's templates
Instead of writing my own logic for metadata and Twitter cards, I
should be using Hugo's own. This makes my theme code cleaner, but
means I have to adjust some of the configuration conventions that
I have been using. An added bonus is that my theme will work with
more sites now, as long as they are using Hugo's config conventions.
2016-10-14 23:07:39 -04:00
8f640f4c9b
exampleSite/config.toml: Add Google Analytics example 2016-10-14 22:13:28 -04:00
7e3c5445f8
README.md: Update TODOs 2016-10-14 22:12:12 -04:00
c49fa721ec
layouts/_default/baseof.html: Add support for Google Analytics
Sites only need to add their Google Analytics tracking ID to their
config:

  googleAnalytics = "UA-123-45"

This uses the async version of the Google Analytics code.
2016-10-14 22:10:01 -04:00
7272253613
exampleSite/config.toml: Add multilingual options to example config 2016-10-11 16:57:07 +03:00
5f5f8191df
README.md: Add link to exampleSite/config.toml 2016-10-09 15:45:00 +03:00
91261dd8ce
README.md: Update TODOs 2016-10-09 15:34:34 +03:00
41c3ab421d
README.md: Update TODOs
Copyright text is now possible to be configured site wide in the
footer. Right now making each post possible to have a different
license isn't a priority.
2016-10-09 13:52:34 +03:00
ab2e5a1c5d
exampleSite/config.toml: Add copyright example 2016-10-09 13:46:41 +03:00
6e84974d2a
layouts/_default/baseof.html: Add "back to top" link in footer 2016-10-09 13:45:38 +03:00
142d330048
layouts/_default/baseof.html: Give credit to @mdo for theme 2016-10-09 13:38:49 +03:00
77b2cf9955
layouts/_default/baseof.html: Allow configuration of footer text
Uses the "copyright" parameter from the site's config that is pretty
standard among Hugo themes. Content can contain Markdown.
2016-10-09 13:36:07 +03:00
2eb07f4238
exampleSite/config.toml: Add verification options for Bing and Yandex 2016-10-08 17:40:45 +03:00
50a2c5b673
README.md: Update features 2016-10-08 16:59:25 +03:00
b832cedf57
README.md: Update TODOs 2016-10-08 16:58:30 +03:00
7194b5926d
layouts/partials/head-meta.html: Add site verification support
I had added Google Webmaster verify support but it got lost when I
was re-organizing the head meta stuff. I'm adding it back now plus
support for Bing and Yandex.
2016-10-08 16:57:10 +03:00
e79e2411a7
README.md: Update TODOs 2016-10-07 23:42:44 +03:00
577fdd75ce
layouts/_default/single.html: Markdownify page title
In a multilingual context a post's title could be "Title" in English
but «Title» in Bulgarian, and if we apply the Markdown filter to the
title tag, then the language's Black Friday configuration is used,
in this example it would be for the angled quotes.

We already do this everywhere else we can in the post's content, so
let's match it in the page title.
2016-10-06 15:05:44 +03:00
d6328c34df
Remove anchor titles
I had only added these for accessibility, but after some research
it seems that assistive technologies don't use these.
2016-10-06 14:21:30 +03:00
3a6bed5be7
layouts: Use Markdown filter on titles
This makes it possible to have Black Friday config options like
quote style also affect post titles.
2016-10-06 14:17:59 +03:00
36a8a28d4c
layouts/_default/list.html: Remove debug code from pagination 2016-10-05 17:28:08 +03:00
a6fb8ef9a8
README.md: Add link to Hugo docs for pagination 2016-10-05 17:24:00 +03:00
986c906c6d
README.md: Update features for pagination 2016-10-05 17:23:27 +03:00
90ed717165
README.md: Update TODOs 2016-10-05 17:22:36 +03:00
a8d694d08c
Add pagination logic + i18n strings for en 2016-10-05 17:21:53 +03:00
dbd36e0779
static/css/style.css: Regenerate 2016-10-05 17:20:49 +03:00
071139a371
source/scss/bootstrap.scss: Enable buttons
I need the button classes for pagination.
2016-10-05 17:20:25 +03:00
f737a75746
exampleSite/config.toml: Fix comment 2016-10-05 15:48:26 +03:00
2bf45d6bec
exampleSite/config.toml: Update for pagination change 2016-10-05 15:47:59 +03:00
70b4844c63
layouts/_default/list.html: Use paginator for page lists instead of custom stuff
Hugo's own pagination stuff works just as well and probably covers
even more corner cases. Also, this is one less config variable to
have to check because you can just use Paginate (Default: 10).
2016-10-05 15:45:38 +03:00
98a8c2b234
layouts/_default/baseof.html: Use template variable for RSS link
This is the whole site's RSS feed, not just posts. I suppose this
is better for multilingual sites, and sites with many pages.
2016-10-05 15:31:30 +03:00
07ea0a3d68
i18n/en.yaml: Add string for "home" 2016-10-04 11:24:34 +03:00
f873452e6c
layouts/_default/baseof.html: Use current language for html element's lang attribute
You know you gotta specify the page content's language if possible,
right?

https://www.w3.org/International/questions/qa-http-and-lang
2016-10-04 11:22:53 +03:00
577e168da5
Use i18n to translate some strings
Hugo 0.17 allows for easy multi-lingual sites. Strings can be
translated either in the theme or in the site, and missing strings
will fall back to the default language.

See: https://github.com/spf13/hugo/blob/master/docs/content/content/multilingual.md
2016-10-03 22:58:22 +03:00
d098836949
README.md: Update TODOs 2016-10-03 22:30:08 +03:00
d99cf5df11
layouts/partials/meta-terms.html: use relLangURL for categories/tags
Fixes generation of links to language-specific tags.
2016-10-03 22:28:35 +03:00
2a6a7eba69
theme.toml: Bump minimum version to Hugo 0.17
Need 0.17 for multi-lingual support, see:

https://github.com/spf13/hugo/blob/master/docs/content/content/multilingual.md
2016-10-03 18:01:49 +03:00
b422567808
README.md: Add note about multi-lingual content support 2016-10-03 18:01:25 +03:00