Commit Graph

154 Commits

Author SHA1 Message Date
ray 10366a9d6f update fonts used to lato and open sans 2020-02-09 16:24:11 +00:00
ray bddf31ca98 fix script.js src attribute value
prepend the base url to the path of the script.
2020-02-02 21:43:27 +00:00
ray e35bf5f466 tidy up code 2020-02-02 21:22:55 +00:00
ray 655cb65d46 fix script.js path.
change relative path of js/script.js to absolute path.
2020-02-02 21:22:24 +00:00
ray 7709817602 add dark mode toggle functionality 2020-02-02 19:52:12 +00:00
ray 8de3c5508c update theme fonts 2020-02-02 17:13:35 +00:00
ray 205877b83b update README.md to reflect forked status 2020-02-02 14:50:38 +00:00
therealFIGBERT 922b67b346
Add Hebrew i18n file and FIGBERT to CONTRIBUTORS.md (#258) 2020-02-01 21:28:26 -03:00
Joseph Ting 39616beba3
Improve code block style of syntax highlighting (#256) 2020-01-31 15:16:13 -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
Michael Lynch a5662825e5 Fixing grammar mistake in English reading time (#251)
Changing reading time from "XX minutes read" to "XX-minute read".

In English, a hyphen (-) joins a number to the noun that follows it. Also, the noun is always minute regardless of the number ('1-minute' and '2-minute' are correct, whereas '2-minutes' is incorrect).

Reference: https://www.grammarly.com/blog/hyphen/

>When numbers are used as the first part of a compound adjective, use a hyphen to connect them to the noun that follows them. This way, the reader knows that both words function like a unit to modify another noun. This applies whether the number is written in words or in digits.
>Example: The president of the company gave a 10-minute speech to the Board of Directors.
2020-01-17 09:25:46 -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
Víctor López 35a5ce1b77 Fix typos in Spanish Language (#247)
* Fix typos in spanish translation

* Add viticlick to contributors
2020-01-05 12:45:21 -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
Joseph Ting d779128a2c Add Japanese translation (#228) 2019-10-15 10:08:24 -03:00
Ariejan de Vroom fa3de1efaf Adjust dark mode colorscheme (#225)
* Adjust dark mode colorscheme

This makes the whites a bit softer and instead of
inverting the blue hyperlinks, they're now desaturated -
but still blue.

* Add Ariejan de Vroom to CONTRIBUTORS
2019-10-09 11:14:10 -03:00
Jose Luis Cervantes 324914789c Italian Translation (#221)
* Italian Translation

* Update CONTRIBUTORS.md

Add my username jlzaratec
2019-10-04 09:08:21 -03:00
estim 9976a7a3ef Russian translation (#220)
Russian translation
2019-10-03 16:54:39 -03:00
Mustafa Dur bc77c4da68 Turkish translation (#218) 2019-10-01 10:03:51 -03:00
foodtooth 45d25ecd73 Use updated mathjax provided by jsdelivr. (#215) 2019-09-23 14:18:42 -03:00
Robert Austin 3cc2397944 Add Stackbit Integration (#208)
* add stackbit.yaml

* update field model for slug

* add config model

* update language config model

* update menu model

* katex should be a boolean value

* add labelField to menu item model

* math should be a boolean value

* Add 1-click create with stackbit button
2019-09-19 10:08:54 -03:00
Lionel Brianto 02630ed83c fix typo in french translation (#213) 2019-09-09 19:48:46 -03:00
Lionel Brianto 2fa8ce9cdb Translate to French (#207) 2019-08-25 15:36:32 -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
Nico Alt 90b17fad5c Translate to Spanish (#193) 2019-06-21 09:59:54 -03:00
Nico Alt a63bece905 Translate to German (#192) 2019-06-21 09:59:09 -03:00
PanZiwei edab46bf79 Create zh-cn.toml (#189) 2019-06-14 13:32:27 -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
Yudi ddbee1ca63 fix taxonomy & multilingual typo (#177)
* fix taxonomy & multilingual typo

* use better fix

https://github.com/luizdepra/hugo-coder/pull/177#discussion_r280132097
2019-05-02 09:01:08 -03:00
Yudi 74232e32b5 replace .URL with .RelPermalink (#176)
* replace .URL with .RelPermalink

find * -type f -exec sed -i "" "s/.URL/.RelPermalink/g" {} \;

* fix my bad
2019-05-01 14:01:25 -03:00
Yudi 43408807a5 update normalize version (#175)
* update normalize version

* update CONTRIBUTORS.md
2019-04-27 14:39:19 -03:00
Wataru Mizukami ee65eab9fa updated fontawesome version (#174)
* updated fontawesome version

* Update CONTRIBUTORS.md
2019-04-26 09:25:08 -03:00
John Tobin 87879a726a Replace deprecated .Hugo with hugo. (#171)
* Add trailing slash to remove redirects.

When you request /tags/foo, the web server will redirect you to
/tags/foo/ so the browser needs to make two requests.  Add the trailing
slash in the link so that only one request is needed.

* Add trailing slash to remove redirects.

* Improve how trailing slash is added.

Co-Authored-By: tobinjt <johntobin@johntobin.ie>

* Improve how trailing slash is added.

Co-Authored-By: tobinjt <johntobin@johntobin.ie>

* Add John Tobin.

* Replace deprecated .Hugo with hugo.

Hugo 0.55 deprecates .Hugo and produces this warning:
"Page's .Hugo is deprecated and will be removed in a future release.
 Use the global hugo function."

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Update minimum required version.
2019-04-23 10:17:29 -03:00
d-dandrew b535058204 Fix HTML lang attribute (#169)
* Fix #165

* use .Site.Language.Lang instead of .Site.LanguageCode according to hugo documentation

* add contributor D_DAndrew
2019-04-22 10:27:07 -03:00