Commit Graph

151 Commits

Author SHA1 Message Date
Carlo Lobrano
4403db5c2c Fix Plausible script (#402)
- use endpoint plausible.js in place of index.js
- use ASCII quotes

closes #388
2020-09-10 10:13:28 -03:00
Lorenzo Cameroni
b60a1c42eb Translation of series (#390) 2020-08-24 11:16:41 -03:00
Arunvel Sriram
ba1028a9d0 Add support for utterrances label (#384)
* Support utterrances label

* Update CONTRIBUTORS.md

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-08-11 16:13:01 -03:00
Rhys Perry
34ac982a4b Add support for plausible analytics (#382)
* Add myself to contributors.md

* Add plausible config to example

* Add plausible to base layout

* Add plausible analytics snippet

* Remove unneeded part of snippet

* Add plausible config to stackbit
2020-08-11 16:02:49 -03:00
Clément Pannetier
be7b79af62 Add theme toggle button feature (#358)
* Add theme toggle button feature

* Add theme toggle button feature

* Replaced svg icon with FA icon + fixed indentation + refactored css

* Added back colorsheme configurations + script moved to be process by hugo pipe

* Make release

* Fix toggle button not working when loading new page + setTheme() refactor

* Make release

* Update exampleSite/config.toml

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-08-11 15:51:13 -03:00
Robert
b3237d1ead Add content to post list layout (#378) 2020-07-26 20:49:35 -03:00
Robert
87f9e89048 Prefix term with taxonomy title (#369)
* Prefix term with taxonomy title

Fix list layout to properly prefix a term with the taxonomy title.

* Replace taxonomy with term kind in title

* Set minimal version for updated taxonomy kinds

* Set minimal version for updated taxonomy kinds

* Update CONTRIBUTORS.md
2020-07-26 20:33:41 -03:00
Latiif alSharif
3d7b39d2b4 Feature/add twemoji support (#346)
* Add support for Twemoji

* Add post on Twemoji support

* Regenrate CSS files

* Fix missing backtick in twemoji-support.md

* Rename useTwemoji to enableTwemoji

* Move Twemoji script tag into head tag

* Fix markdown link sytnax in twemoji-support

* Fix typo in Twemoji Support post
2020-06-01 20:11:21 -03:00
Clément Pannetier
9d1ba9d21d Utterances commenting system name corrected (#342) 2020-05-25 10:41:38 -03:00
Latiif alSharif
ff8d5364ad Use title case for 'posts' translation (#338) 2020-05-21 09:18:49 -03:00
Latiif alSharif
e57d44345c Allow internationalization for 'Posts' (#337)
* Allow internationalization for 'Posts'

* Apply internationalization to page title as well.

- I18n files should have an entry for the original title in lowercase.
2020-05-20 15:55:52 -03:00
Luiz F. A. de Prá
f6d254cf3e Remove custom rss template 2020-05-14 11:26:16 -03:00
Utkarsh Gupta
e89ad7bd49 Add rss.xml to layouts/_default (#316)
* Add rss.xml to layouts/_default

* Add myself to CONTRIBUTORS.md

* Bump hugo version to fix rendering of RSS feed

* Use minimum working version of hugo

* Set base version to 0.57.0

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-04-28 15:26:32 -03:00
Clément Pannetier
d7447e55a9 Fix issue #296 (#318) 2020-04-26 19:19:35 -03:00
Clément Pannetier
99427568e9 Fix issue #314 (#317) 2020-04-26 19:17:55 -03:00
MaoMao
7724fa76ac Support SEO friendly meta tags (#300)
* Support two SEO friendly tags: <meta name="description"> and <meta name="keywords">.

* Support two SEO friendly tags: <meta name="description"> and <meta name="keywords">.
2020-04-26 19:09:55 -03:00
Khosrow Moossavi
8ec09e5d1a Fall back to index if translation for the page doesn't exist (#313)
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-04-26 09:32:52 -03:00
Ricardo Zago
c664951c54 Add mathjax to other types of pages, not just posts. (#310) 2020-04-26 09:31:00 -03:00
Clément Pannetier
e46c452344 update font awesome version (#304) 2020-04-13 11:44:53 -03:00
a1x42
ee91020af5 navigation to different language version remains on page (#294)
Co-authored-by: a1x42 <alex@rohde.lu>
2020-04-08 17:11:07 -03:00
Clément Pannetier
5a10cb7e6c feature to fix issue #288 (#289)
* fix for issue #288

* refactor some conditionnal statements

* adding hideFooter parameter to exampleSite config
2020-04-02 10:12:42 -03:00
Codruț Constantin Gușoi
911a39528b Adds .Content to list.html partial (#290) 2020-04-02 10:10:43 -03:00
Glenn Feunteun
17fe8de72b Rework commit info display in footer (#277)
* Rework commit info display in footer

Use Hugo .GitInfo to get Hash and AbbreviatedHash
Remove leading · because it renders as .· when credits are displayed

* Update CONTRIBUTORS.md
2020-03-18 16:33:04 -03:00
Ka-Wai Lin
e613e3ba00 Adding gravatar support (#268)
* Gravatar support

Adding gravatar as alternative avatar

* Update CONTRIBUTORS.md
2020-03-02 14:54:33 -03:00
Paolo Mainardi
daeffaf258 Ensure text remains visible during webfont load (#269)
* Ensure text remains visible during webfont load

As specified here: https://web.dev/font-display/?utm_source=lighthouse&utm_medium=unknown#google-fonts

* Update CONTRIBUTORS.md
2020-02-16 19:11:47 -03:00
Yash Mehrotra
93fb14e953 Add support for Fathom Analytics (#264)
* Add support for Fathom Analytics

* Add myself to CONTRIBUTORS.md

* Set default for serverURL and check for siteID

* Update layouts/_default/baseof.html

Co-Authored-By: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-02-11 11:28:14 -03:00
Luiz F. A. de Prá
4b5e654abf Fix social icons sort 2020-02-05 17:04:52 -03:00
Luiz F. A. de Prá
c600078921 Fix isset warning 2020-02-04 11:09:34 -03:00
Bobby
be94b5fd05 Add an optional featured image (#252)
* Make MathJax version 3 work

* Change my contributor link

* Add an optional featured image and table of contents

* Add an optional featured image and table of contents

* Add example of a featured image in post along with table of contents

* Remove word count criteria

* Fix formatting

* Add table of contents options

* Remove toc feature due to markdown bug

* Removing markup configuration

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-01-27 15:46:37 -03:00
yousifd
0a45a52fcb Hide hamburger menu button on mobile when there are no menu items (#254)
* Hide hamburger menu button on mobile when there are no menu items fix 253

* Fix template identation

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-01-22 16:05:57 -03:00
Anson VanDoren
4369ed76d2 adding support for type in social links (#250)
* adding support for  in social links

* updating example config for RSS social icon
2020-01-13 14:12:09 -03:00
Eli W. Hunter
316835734f Add custom_scss (#244)
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-01-05 12:55:03 -03:00
Tobias Lindberg
fa59259139 Adding "since year" and author support to footer (#245)
* Adding target if statements

* adding Tobias Lindberg to CONTRIBUTORS.md

* adding swedish language i18n file

* adding author to footer

* adjusting swedish translation made in fc7d7f62af52d180486d0074691ab3747fb1da07

* adding since year functionality in footer

* adding since which year if statement to footer

* removing unnecessary lines in footer file

* adjusting footer again a little
2020-01-05 12:48:31 -03:00
KK
9ca430610e Make it possible to enable katex and mathjax globally in config.toml (#241)
* Add \\( and \\[ as mathjax delimiters

* Make it possible to enable katex and mathjax globally in config.toml
2019-11-26 11:30:07 -03:00
KK
64a613ce31 Add \\( and \\[ as mathjax delimiters (#239) 2019-11-26 09:50:56 -03:00
Tobias Lindberg
a980192fa7 adding swedish i18n file and adding target for social icons (#238)
* Adding target if statements

* adding Tobias Lindberg to CONTRIBUTORS.md

* adding swedish language i18n file
2019-11-25 10:52:26 -03:00
John Schroeder
b00b75064d Automatic dark/light colorschemes (#234)
* Automatic dark/light colorschemes

A new `colorscheme` option is added with the capability to be always dark,
always light, or automatic based on the user's browser setting.  This
makes the `inverted` option superfluous, and therefore deprecated.
Nomenclature of files, variables, etc are changed from `inverted` to
`dark` to reflect this change.

Closes #226.

* Remove inverted option completely

The `inverted` option is now not just deprecated, but removed
completely.
2019-11-21 10:13:49 -03:00
José Mª Escartín
f6caaf0493 Update fontawesome to v5.11.2 in default layout. (#236) 2019-11-18 10:24:05 -03:00
Bobby
30850ff725 Make LaTeX compatible with MathJax version 3 (#230)
* Make MathJax version 3 work

* Change my contributor link
2019-10-21 14:09:19 -03:00
foodtooth
45d25ecd73 Use updated mathjax provided by jsdelivr. (#215) 2019-09-23 14:18:42 -03:00
Shreyansh Khajanchi
9b47893b34 add support for utteranc.es (#205) 2019-08-21 10:03:15 -03:00
a1x42
dea81ca434 main link does not switch back to default language if in another language (#202)
no need to configure the language path in the different pages
2019-08-05 09:33:43 -03:00
Naim A
7ed7d3c51e disqus: fixed issue #199 (#200) 2019-07-21 11:22:25 -03:00
John Tobin
26a6a0a7cd Check if commentoUrl is set before using it. (#198)
* Check if commentoUrl is set before using it.

When a variable does not exist it evaluates to `nil`, and so the
check `(not (eq .Site.Params.commentoUrl ""))` evaluates to true rather
than false because `nil` is not "".  Before this change, unless you
explicitly set Params.commentoUrl to "", the commento HTML block would
be added, and this fails because /js/commento.js does not exist.  This
change ensures that the commento HTML block is only added whe
Params.commentoUrl exists and is set to a non-empty string.

* Check if DisqusShortname is set before using it.
2019-07-15 20:42:28 -03:00
Ryan Kes
a1afda5d22 Commento (#196)
* Added rel support

* Added name to contributers file

* Added commento support
2019-06-29 09:46:18 -03:00
Ryan Kes
607a3e2ad9 Home rel link (#195)
* Added rel support

* Added name to contributers file
2019-06-26 10:09:47 -03:00
Jia "Jay" Tan
ffb50fcf96 Add .html to partials (#188) 2019-06-14 13:27:38 -03:00
Steven
402160d2b1 Change relLangURL to safeURL in the header (#183) 2019-05-24 14:39:43 -03:00
Łukasz Mróz
b54ec3d45b Add custom_js site param for enabling custom js (#182)
* Add custom_js site param for enabling custom js 

I've hit that when adding Cookie Consent on my web page. https://github.com/insites/cookieconsent

* PR Remarks - added Custom JS into exampleSite

* Update layouts/_default/baseof.html

Co-Authored-By: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>

* Update CONTRIBUTORS.md
2019-05-23 13:59:30 -03:00
Naata
7b4f19f1cd use safeHTML in footer (#181) 2019-05-12 20:41:26 -03:00