Commit graph

121 commits

Author SHA1 Message Date
vimux
d7a6b540c2
Include Schema internal template 2020-07-02 16:18:03 -04:00
vimux
f469db6c8f
Remove main menu item sort 2020-03-12 19:08:53 -04:00
vimux
7bffa43920
BREAKING CHANGE: rename Post → Entry
* .Site.Params.post_meta → .Site.Params.Entry.meta
* .Site.Params.toc → .Site.Params.Entry.toc
* .Site.Params.tocOpen → .Site.Params.Entry.tocOpen
2020-02-11 09:27:01 -05:00
vimux
a03c5ca663
Split logo into separate partial 2020-02-05 12:09:41 -05:00
vimux
8c43dc704e
menu.html → header_menu.html 2020-02-05 11:34:22 -05:00
vimux
449f51ed66
Fix no-js main menu (>920px) 2020-01-07 10:50:28 -05:00
vimux
59bea459d8
Add initial breadcrumb partial
* Add initial breadcrumb partial
* Add aria-current=page property
* Add separators via CSS to be comply with screen readers
* Use ordered list to the set of links
* Update README.md: add breadcrumb section
2019-12-11 09:08:02 -05:00
vimux
a9f995eb1d
Add a separate file for print styles 2019-12-09 09:30:31 -05:00
vimux
c77e4ede53
Split main CSS file
* Split main CSS file
* Update Bootstrap Reboot [4.1.3 → 4.3.1]
* Move own theme rules from reboot.css to main.css
* package.json: fix scripts
2019-12-08 12:11:25 -05:00
vimux
965c3fa699
Store CSS as an asset file 2019-12-07 15:40:26 -05:00
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