85 Commits

Author SHA1 Message Date
Rustam Zagirov
ebac3b3443 fix link to tags for multilang (#49) 2021-04-04 23:18:35 +08:00
Francesco Maida
a812f37396 Prev / Next links added to the translation files + Italian translation added (#46)
* Italian translation added

* Prev/Next links added to the translation files + Italian translation added

* Italian translation updated

* Use T instead of i18n for consistency

Co-authored-by: Carson Ip <carsonip@users.noreply.github.com>
2020-04-21 21:26:59 +08:00
francium
58e5c7dbb6 Add 'noPostNavigation' option to hide next/previous post links 2020-04-21 21:23:00 +08:00
Carson Ip
5d01f8158c More i18n
Fix #42
2020-04-14 21:39:10 +08:00
Carson Ip
ace57b447f Update README about Google Analytics
Fix #41
2020-04-03 20:18:25 +08:00
Carson Ip
b210577985 Fix html meta author generation
Fix #37
2019-12-01 23:29:17 +08:00
Carson Ip
45891eec00 Add param for custom CSS
Fix #36
2019-12-01 22:55:22 +08:00
v1ne
4856422a58 Header: Use the translated page's URL instead of the untranslated one 2019-11-29 23:04:51 +08:00
v1ne
13c6e94275 Clean up: Less empty space in HTML code 2019-11-29 23:04:51 +08:00
v1ne
e1dd4d7d06 Header: Only output RSS link if it's actually set
If a subpage doesn't have any RSS link, don't output an empty link.
2019-11-29 23:04:51 +08:00
v1ne
32e4690938 article: Add a way to suppress the date
This is handly if an article is just an overview page or a list of subpages.
2019-11-29 23:04:51 +08:00
v1ne
95686c0326 Meta: Only print meta entries if they are actually defined 2019-11-29 23:04:51 +08:00
v1ne
b87555512a Open Graph: Honour site language 2019-11-29 23:04:51 +08:00
v1ne
a6c2a347f5 Article TOC: Make TOC title translateable 2019-11-29 23:04:51 +08:00
Martin
27d1950183 Show text before fonts are loaded. (#32)
Using `font-display: swap;` allows the browser to show the text
with another font before the webfonts are loaded. This makes the
loading time feel faster as you can already start reading instead
of looking at an empty website till the fonts are loaded.
See: https://fontsplugin.com/google-fonts-font-display-swap/
2019-11-27 23:57:13 +08:00
Carson Ip
70c973528e Update required hugo version
Fix #34
2019-11-27 23:54:31 +08:00
Kamil Wylegala
4c627e84b6 Wider margin for list entries. (#30) 2019-05-01 12:23:34 +08:00
Shiva Huang
8f366a6e45 Update functions deprecated in Hugo 0.55 (#28)
Following functions are deprecated in Hugo 0.55:

* Page's .RSSLink
* Page's .Hugo
2019-04-21 14:46:30 +08:00
Shiva Huang
cb81cd0ae9 Enhance KaTeX (#26)
* Use `.Param` as switch of KaTeX.

This make you to decide to enable KaTeX for whole site or for single post.

* Enable rendering KaTeX in code block.

* Revert "Enable rendering KaTeX in code block."

This reverts commit 43684e6181.

* Fix description about KaTeX post param
2019-03-25 23:43:53 +08:00
Carson Ip
d88882e5c2 Improve documentation about katex support 2019-03-24 14:49:30 +08:00
Carson Ip
d9e2bd5022 Merge pull request #24 from SDavey149/fix-disqus-comments
Fixing disqus shortname config location for newer versions of hugo
2019-03-23 19:17:09 +08:00
Carson Ip
bffa6f347d Use hidden instead of hide 2019-03-16 18:31:17 +08:00
Carson Ip
2dad965b58 Merge pull request #25 from Nelarius/hide-posts-from-main-list
Add ability to hide posts from index
2019-03-16 18:28:55 +08:00
Johann Muszynski
a16f81717b Update README.md 2019-03-16 10:34:28 +02:00
Johann Muszynski
d4c9117417 Add ability to hide posts from blog post list 2019-03-16 08:52:05 +02:00
Scott Davey
118bfa2c42 Fixing disqus shortname config location for newer versions of hugo 2019-02-10 19:43:29 +00:00
Carson Ip
c1e3d1baad Remove http link in head
Fix #23
2019-01-21 10:52:41 +08:00
Carson Ip
2a4e4032f1 Merge pull request #21 from apemost/master
Fix layouts
2019-01-16 22:14:03 +08:00
Andrew Lyu
4759e47f97 Don't convert categories to upper case 2019-01-16 21:09:04 +08:00
Andrew Lyu
17e9412dac Don't use deprecated variables
Close #22
2019-01-16 14:13:21 +08:00
Andrew Lyu
c2de392b51 Fix layouts 2019-01-16 01:10:52 +08:00
Carson Ip
8a1f747604 Merge pull request #19 from zwbetz-gh/master
Use absURL for CSS links
2018-11-22 21:10:17 +08:00
Zachary Betz
0901aa6595 Use absURL for CSS links 2018-11-19 22:30:51 -06:00
Carson Ip
ae499bcc09 Fix missing page number in mobile view
Fix #15
2018-05-23 22:04:57 +08:00
Carson Ip
3f7f18f8e4 Improve readme about pagination 2017-05-27 12:40:36 +02:00
Carson Ip
c309cdb1fd Fix pagination for lists 2017-05-27 12:36:45 +02:00
Carson Ip
affb2a4b05 Merge pull request #8 from wlsc/master
MINOR: improvements to meta partial
2017-05-15 13:35:03 +02:00
Wladimir Schmidt
b3f976b162 * extracted meta information from head.html into partials meta.html
* modified meta parameters to have description and keywords generated via site parameters
2017-05-14 23:27:36 +02:00
Carson Ip
00ce678fe3 Update README.md 2017-04-20 12:11:01 +02:00
Carson Ip
f746da67c9 Replace .Now by now, update min hugo version
Fix #6
2017-04-10 14:51:18 +02:00
Carson Ip
50239d2fe8 Add spacing between TOC items 2017-03-02 16:11:37 +01:00
Carson Ip
bf5f43206c Update screenshots 2017-03-01 00:01:13 +01:00
Carson Ip
73b6e16199 Update readme featured image 2017-02-28 21:06:30 +01:00
Carson Ip
6bc9aebf91 Fix index spacing and add featured image 2017-02-28 21:04:33 +01:00
Carson Ip
ed684972fa Merge pull request #5 from kaushalmodi/dont-hardcode-TOC-max-height
Don't hardcode the TOC max height
2017-02-27 11:28:45 +01:00
Carson Ip
7459a3f0e1 Merge pull request #4 from kaushalmodi/fix-smarttoc-js
Move the onScroll function definition to above its call
2017-02-26 21:55:57 +01:00
Kaushal Modi
c847bc4946 Don't hardcode the TOC max height
This commit prevents the combination of extra whitespace below the TOC and
scrollbars to the TOC.
2017-02-26 15:27:53 -05:00
Kaushal Modi
71c937469c Move the onScroll function definition to above its call
This fix was needed for the smart TOC feature to work on Firefox 45.0.1

https://github.com/carsonip/hugo-theme-minos/issues/1#issuecomment-282579296
2017-02-26 15:24:14 -05:00
Carson Ip
eadc8b400f Fix start TOC initial hide sublist 2017-02-26 18:29:47 +01:00
Carson Ip
cbe7676c74 Fix smart toc not displaying bug 2017-02-26 10:21:14 +01:00