Commit graph

77 commits

Author SHA1 Message Date
Ghost Basenji
5c9ab83c83 We fixed this bug with symbol "#".
If we have a tag named C#, the url is http://localhost:1313/tags/c#/ , this url show 404 page.
Symbol "#" in url is Special characters. Then we change the # to %23, then it works.

See https://github.com/Vimux/Binario/issues/28

I am not sure whether there is a better solution.

Fix #27
2020-04-18 18:39:11 +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
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
f472af6f08
Update MathJax 2.7.5 -> 2.7.6 2019-08-23 11:51:05 -04:00
vimux
0d5335ea31
Fix formatting in partials 2019-07-16 11:07:46 -04:00
vimux
fafb2f7989
Delete unused head partial
Related to a83b4c3199
2019-03-30 16:56:11 -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
de86519f1b
Formatting 2019-01-14 08:08:30 -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
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
44ee910e2b
Add footer menu 2018-11-27 15:30:08 -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
ad7478c905
Add related param
It is possible to turn on/off related content block
2018-11-15 09:11:46 -05:00
vimux
42cd072bca
Add aria-label for menu button 2018-11-04 15:04:58 -05:00
vimux
896326481e
Define Base Template (baseof.html) 2018-11-03 10:23:41 -04:00
vimux
6759acad62
Add RSS link 2018-09-30 22:21:38 +03:00
vimux
f8d952fad5
Update MathJax 2.7.4 -> 2.7.5 2018-08-08 21:30:27 +03:00
vimux
c06074a697
Optimize Reddit SVG icon (648 -> 548 bytes) 2018-06-19 12:29:14 +03:00
vimux
d2e6fc00a8
Turn off GA on local hugo web server 2018-06-18 22:06:27 +03:00
vimux
4cece3cf46
Fix comments condition
Don't show Disqus comments in Hugo local webserver
2018-06-18 21:48:14 +03:00
vimux
6b36c1ca0a
Add sharing buttons 2018-06-12 09:02:31 +03:00
vimux
299ecd09ca
Add possibility to re-use icons in several places 2018-06-11 11:28:00 +03:00
vimux
6e72956f06
Add Email social 2018-05-28 11:38:52 +03:00
vimux
d9e9863721
Add Medium social 2018-05-28 09:33:36 +03:00