Commit graph

111 commits

Author SHA1 Message Date
vimux
6dc14f2df3
Pagination: avoid .Scratch function 2019-12-02 13:36:02 -05:00
vimux
64780c1741
Format pagination partial 2019-12-02 12:36:31 -05:00
vimux
1b73262d85
Fix post_tags partial
Fixes #20

I tried to follow the Hugo documentation example for taxonomy templates,
but it should not be trusted right now, in this particular example,
at least.
2019-11-30 10:46:54 -05:00
vimux
b8d4e82d00
Use RFC3339 format for datetime property 2019-11-21 10:35:22 -05:00
vimux
077ae0345e
Update post_tags partial
* Simplify tags existense check
* Update tags partial in line with the Hugo Docs
2019-11-12 09:45:51 -05:00
vimux
f184b72d8d
Main menu: add pre/post properties support 2019-11-10 00:28:44 -05:00
vimux
77b9fc1ec7
Rename context variable: "dot" -> "page"
Unified a variable name to pass context across layouts partials
2019-10-01 13:05:17 -04:00
Vimux
efb650245f
Improve featured image (#17)
WARNING: UPGRADE HUGO TO VERSION 0.54.0 OR LATER

* post_thumbnail -> post_featured
* Add url, alt, caption and credit params for featured
* Add previewOnly param
* Add styles for featured
* Add fallback for thumbnail.*
* Add "Featured Images" page
* Show caption & credit on single pages only
* Update README: add featured image guide
* Bump Hugo min version because `reflect.IsMap` [0.38 -> 0.54.0]
2019-09-24 10:50:06 -04:00
John Sing Dao Siu
33bff944f2 Add pinterest share button. (#16)
Close #15
2019-09-11 16:25:14 -04:00
vimux
e72cb22fa3
Summary.html: don't create empty content block 2019-08-31 16:57:37 -04:00
vimux
05cbb49e9c
Add customJS 2019-08-30 15:25:10 -04:00
vimux
407c5d72df
Web Manifest: don't require .Site.Params.Manifest
Before, `.Site.Params.Manifest` was required to activate
Web App Manifest. Now, it's optional. Still, `.Site.Params.Manifest`
highly recommended.

* Don't require .Site.Params.Manifest
* Order Web App Manifest properties by required type (except icons)
* Add default value to startUrl param [`/`]
* README.md: enhance Web App Manifest configuration section
* README.md: add table with Web App Manifest default values in Binario
2019-08-28 11:21:46 -04:00
vimux
df3503f794
Update Web App Manifest: fix line breaks 2019-08-27 01:11:34 -04:00
vimux
f472af6f08
Update MathJax 2.7.5 -> 2.7.6 2019-08-23 11:51:05 -04:00
vimux
07ae2416c1
Remove extra if statement 2019-08-20 09:23:14 -04:00
Vimux
2cf17c04e1
Fix broken homepage on Hugo 0.57+ (#14)
Hugo 0.57 breaks mainSections logic and how the home section works.
Switch to .Site.RegularPages for the home page paginator to restore old
behavior.

Fix #13

See https://github.com/gohugoio/hugoThemes/issues/682,
https://github.com/gohugoio/hugoThemes/issues/678,
https://github.com/gohugoio/hugo/issues/6153
2019-08-17 09:50:33 -04:00
vimux
5e2ccc28c0
Fix home link on 404 page
Fix #12
2019-07-22 09:38:31 -04:00
vimux
0d5335ea31
Fix formatting in partials 2019-07-16 11:07:46 -04:00
vimux
f7d555ae80
Remove empty div.cards when no posts 2019-04-27 10:55:46 -04:00
vimux
fafb2f7989
Delete unused head partial
Related to a83b4c3199
2019-03-30 16:56:11 -04:00
vimux
ab28352d1c
Fix mainSections param 2019-03-21 11:21:36 -04:00
vimux
a83b4c3199
Move head section to baseof.html
Unfortunately, blocks not work in nested partials.
2019-03-10 12:47:21 -04:00
vimux
ac6c8c857b
Add "title" block 2019-03-10 12:38:56 -04:00
vimux
2375b2313d
Add mainMenuAlignment param 2019-02-17 17:10:19 -05:00
vimux
7d59597310
Fix logo link (multilingual mode) 2019-01-23 14:31:01 -05:00
vimux
e674706aab
Add color themes support 2019-01-20 13:03:25 -05:00
vimux
d178091ccd
Add possibility to include custom CSS files 2019-01-18 11:53:31 -05:00
vimux
326f9f2cda
Include .Content block (if exist) for main page 2019-01-15 09:16:34 -05:00
vimux
30e3277682
Add hideNoPostsWarning param 2019-01-14 09:26:42 -05:00
vimux
de86519f1b
Formatting 2019-01-14 08:08:30 -05:00
vimux
32c4b92533
cardsPerRow -> columns 2019-01-14 08:01:13 -05:00
vimux
7f3f0ece7c
Add relatedMax param
Added possibility to set the maximum number of posts that can be displayed in related block
2019-01-13 11:31:10 -05:00
vimux
4fae038bc5
Split baseof.html layout: add head as a partial 2019-01-13 09:11:06 -05:00
vimux
ff1883aa39
Add copyright holder global param 2019-01-03 10:24:05 -05:00
vimux
a11f2684bc
Generate footer_social.html from social.toml data 2018-12-22 09:00:08 -05:00
vimux
3d6c6cabba
Reduce empty lines in head section 2018-12-03 11:21:31 -05:00
vimux
b6b937ed17
Formatting 2018-12-02 11:25:17 -05:00
vimux
205da237b2
Remove Google Plus social and share links
Google is closing Google Plus for consumers in August 2019. RIP Google+
2018-11-30 15:39:14 -05:00
vimux
9c67e4c2cb
Add keyboard-only focus on main menu button 2018-11-29 09:38:20 -05:00
vimux
45f0ca00f7
Don't include menu.js if no main menu items 2018-11-28 13:21:23 -05:00
vimux
44ee910e2b
Add footer menu 2018-11-27 15:30:08 -05:00
vimux
aebe913761
Improve exception handling for cardsPerRow param 2018-11-26 14:09:11 -05:00
vimux
0038cc1f58
Add authorbox 2018-11-18 11:00:23 -05:00
vimux
290d1cb0ae
Make thumbnail image clickable on list partial 2018-11-17 14:15:14 -05:00
vimux
6b3d4c831c
Add common class for buttons 2018-11-16 11:45:08 -05:00
vimux
6f847bd6d1
Don't generate empty div.post__meta 2018-11-16 09:50:56 -05:00
vimux
228a06dc5f
Make post meta fields configurable 2018-11-15 14:21:34 -05:00
vimux
982b2eae26
Fix list.html partial: restore page block
This was accidentally broken in "Define Base Template (baseof.html)" (896326481e)
2018-11-15 10:14:05 -05:00
vimux
ad7478c905
Add related param
It is possible to turn on/off related content block
2018-11-15 09:11:46 -05:00
vimux
cdc13f1bf7
Improve semantic layout 2018-11-14 13:34:07 -05:00