Commit Graph

125 Commits

Author SHA1 Message Date
Lionel Brianto 02630ed83c fix typo in french translation () 2019-09-09 19:48:46 -03:00
Lionel Brianto 2fa8ce9cdb Translate to French () 2019-08-25 15:36:32 -03:00
Shreyansh Khajanchi 9b47893b34 add support for utteranc.es () 2019-08-21 10:03:15 -03:00
a1x42 dea81ca434 main link does not switch back to default language if in another language ()
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 () 2019-07-21 11:22:25 -03:00
John Tobin 26a6a0a7cd Check if commentoUrl is set before using it. ()
* 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 ()
* 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 ()
* Added rel support

* Added name to contributers file
2019-06-26 10:09:47 -03:00
Nico Alt 90b17fad5c Translate to Spanish () 2019-06-21 09:59:54 -03:00
Nico Alt a63bece905 Translate to German () 2019-06-21 09:59:09 -03:00
PanZiwei edab46bf79 Create zh-cn.toml () 2019-06-14 13:32:27 -03:00
Jia "Jay" Tan ffb50fcf96 Add .html to partials () 2019-06-14 13:27:38 -03:00
Steven 402160d2b1 Change relLangURL to safeURL in the header () 2019-05-24 14:39:43 -03:00
Łukasz Mróz b54ec3d45b Add custom_js site param for enabling custom js ()
* 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 () 2019-05-12 20:41:26 -03:00
Yudi ddbee1ca63 fix taxonomy & multilingual typo ()
* 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 ()
* 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 ()
* update normalize version

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

* Update CONTRIBUTORS.md
2019-04-26 09:25:08 -03:00
John Tobin 87879a726a Replace deprecated .Hugo with hugo. ()
* 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 ()
* Fix 

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

* add contributor D_DAndrew
2019-04-22 10:27:07 -03:00
d-dandrew 81666ed54b Add KaTeX support ()
* Add render-latex-using-katex.md to Demonstarate how to use the katex

* Update math.html add katex scripts and css
2019-04-01 20:14:19 -03:00
Artem Khvastunov 3483f16f21 don't show empty See also for series ()
If series consists only of the current page it doesn't make sense to show an empty See also block.
2019-04-01 20:11:27 -03:00
Caspar Krieger 903cfa0443 Fix empty hrefs in 404 page ()
* Fix empty hrefs in 404 page

* Added self to contributors list per PR template
2019-03-20 10:33:46 -03:00
Joseph Ting 27e83b1e5a Add see also section to posts footer ()
* Fix series list page title

* Add see also section to posts footer
2019-03-11 08:21:14 -03:00
Sascha Brendel da6f9e1389 Fix links () 2019-03-08 16:08:41 -03:00
Joseph Ting 4c2cd91048 Fix external link on pages list () 2019-03-08 11:46:35 -03:00
Thomas Vochten e94774cf5d Fix HTML5 validation for Google Fonts ()
* Replaced "|" with encoded value "%7C" for HTML5 compatibility

* Appended to contributers file
2019-03-07 14:25:06 -03:00
Paul Lettington 1d333308a3 Fix HTML syntax for aria-hidden attribute ()
* Add a value to the aria-hidden attribute

* Add myself to contributors list
2019-03-07 10:45:09 -03:00
Paul Lettington a642817803 Fix <link/> tag for RSS feeds () 2019-03-07 10:44:08 -03:00
Jeffrey C 944092c225 Add OpenGraph to each page ()
OpenGraph Protocol is used by sites like Facebook to display a rich object in a social graph.

* Add OpenGraph Protocol to each page

Hugo has an internal template for [Open Graph](https://gohugo.io/templates/internal/#open-graph). It takes necessary information from either site's or post's config thus it makes sense to add it to each page.

* Add 'series' to posts archetype
This taxonomy is used to specify related “see also” pages by placing them in the same series.

* Add series taxonomy to exampleSite config.

* Add example of series to exampleSite

* Add spaz926 to Contributors
2019-03-04 11:43:54 -03:00
Luiz F. A. de Prá e66c174061
Remove hugow () 2019-02-10 21:05:34 -02:00
Luiz de Prá f2e0a1a6c4 Add missing built css files 2019-02-10 21:01:06 -02:00
Luiz F. A. de Prá 54f0975aa9
Fix pagination style () 2019-02-10 20:56:07 -02:00
Luiz F. A. de Prá 13c99afe10
Add pt-br i18n ()
* Add pt-br i18n

* Fix footer text for pt-br
2019-02-09 12:36:32 -02:00
Salvatore Giordano 7528f5bf5e Add external link feature for posts ()
* Add external link feature for posts

* Add post example using external link
2019-01-17 11:50:14 -02:00
Luiz F. A. de Prá ced910a886
Fix hidden nav button on inverted () 2019-01-16 15:54:29 -02:00
Gabriel Monteiro Nepomuceno 4ff77035f6 Easy customize ()
* Making easy to customize listing

* adding styles to listing

* removing unintended changes

* correcting declaration

* including files for release

* changing url to be relative so it can work on localhost

* Including suggestions
2019-01-16 13:16:24 -02:00
Piotr Januszewski 12b4246e29 Add simple figure style for content class ()
* Add figure style

* Add figure to exampleSite

* Apply suggested changes from code-review
2019-01-07 13:30:09 -02:00
Artem Khvastunov 3d4335a787 Add Twitter Cards to each page ()
* Add Twitter Cards to each page

Hugo has an internal template for [Twitter Cards](https://gohugo.io/templates/internal/#twitter-cards). It takes necessary information from either site's or post's config thus it makes sense to add it to each page.

* Add 'description' to posts archetype

This optional field is used by Twitter Cards.

* Add example usage of Twitter Cards

* Add artspb to contributors
2019-01-07 13:26:43 -02:00
Joseph Ting 07687c49c0 Fix multilingual home page avatar () 2019-01-07 11:16:38 -02:00
Joseph Ting fc576925eb Fix homepage main content section vertical align () 2019-01-04 09:09:52 -02:00
Luiz F. A. de Prá 09e704b6cb Add missing pages 2019-01-02 17:07:27 -02:00
Luiz F. A. de Prá e10448c4b3 Add HUGO_BIN into Makefile 2019-01-02 17:06:58 -02:00
Joseph Ting 5f052f9301 bug(base-url): change from site url to page url () 2018-12-31 09:05:18 -02:00
Luiz F. A. de Prá 1647f2f112
Improve icons accessibility () 2018-12-20 14:21:11 -02:00
Khosrow Moossavi b9a232b582 Upgrade Hugo to v0.52/extended () 2018-11-29 09:40:07 -02:00
Khosrow Moossavi 1219798b9c Update PR template () 2018-11-29 09:39:52 -02:00
Thomas Nys 9f034349f6 Fix code indent ()
* Fix code indent

* Add myself to the contributors

* Regenerate css
2018-11-26 13:56:31 -02:00
Luiz de Prá c0708c491e Revert flex on body 2018-11-25 20:40:34 -02:00