Commit graph

131 commits

Author SHA1 Message Date
Vimux
fc5680d3df
Fix .Site.IsServer error in Hugo >= 0.132.0 [2] (#97)
The second part of the fix, fixes the comments.html. The `.Site.IsServer` no longer works since Hugo v0.132.0. Use `hugo.IsServer` since Hugo v0.120.0.

Related 8b4c646cb0
See #94
2024-08-19 09:38:09 -04:00
Vimux
8b4c646cb0
Fix .Site.IsServer error in Hugo >= 0.132.0 (#96)
The `.Site.IsServer` no longer works since Hugo v0.132.0. Use `hugo.IsServer` since Hugo v0.120.0

Fixes #94
2024-08-15 14:29:44 -04:00
Vimux
2558f6bbde
Fix deprecated config params (GA, Disqus) (#89)
As of Hugo 0.120.0, `.Site.disqusShortname` and `.Site.googleAnalytics` are deprecated. Backward
compatible change, new notation supported from Hugo v0.41. See
4ddcf52ccc
2023-12-09 14:04:44 -05:00
Vimux
3f0f4c199c
Remove X-UA-Compatible meta tag (#88)
As of IE11, "document modes are deprecated and should no longer be used."

Background:
This meta tag is only relevant to the Internet Explorer browser family. IE has
different modes for displaying web pages, allowing you to view HTML pages using
previous versions of rendering rules. `IE=edge` tells Internet Explorer to use
the latest available document mode. However, it is a default mode (IE11) for the
HTML5 doctype declaration.
2023-11-28 07:59:32 -05:00
vimux
c4c4154218
Remove google_analytics_async.html include
The internal Hugo template `google_analytics_async.html` no longer works because Google has removed
the version of Google Analytics it uses. The regular internal template (google_analytics.html)
already handles Google Analytics 4 asynchronously.
2023-11-07 11:36:41 -05:00
zutto
81fa13ce71 remove space character from a href to avoid %20 appearing in URL's 2022-04-15 19:13:13 +03:00
Noam Lerner
69b90178c1 Add tags support to entry/meta
This commit adds support in having tags in entry.meta.
This includes:
- Updating the README
- Adding values for tags across multiple languages (en, fr, it, pt-br, pt)
- Moving from span to div in entry/meta/categories to make sure each one of
  'tags' and 'categories' sections is in a separate line.
2022-03-19 14:52:57 +02:00
vimux
2456799f6d
Add support for Google Analytics v4
Hugo 0.82.0+ is required if you want to use Google Analytics v4
2021-04-12 11:40:22 -04:00
vimux
424a77d0e7
Add body classes 2020-10-07 16:51:02 -04:00
Mikhail Morfikov
af225d5c9b
Add a missing slash in the category URLs (#38)
Fix #37
2020-09-16 16:27:39 -04:00
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