Commit Graph

48 Commits

Author SHA1 Message Date
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
d-dandrew 81666ed54b Add KaTeX support (#164)
* 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 (#166)
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 (#162)
* 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 (#152)
* Fix series list page title

* Add see also section to posts footer
2019-03-11 08:21:14 -03:00
Joseph Ting 4c2cd91048 Fix external link on pages list (#153) 2019-03-08 11:46:35 -03:00
Thomas Vochten e94774cf5d Fix HTML5 validation for Google Fonts (#151)
* 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 (#148)
* 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 (#149) 2019-03-07 10:44:08 -03:00
Jeffrey C 944092c225 Add OpenGraph to each page (#147)
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á 13c99afe10
Add pt-br i18n (#144)
* 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 (#141)
* Add external link feature for posts

* Add post example using external link
2019-01-17 11:50:14 -02:00
Gabriel Monteiro Nepomuceno 4ff77035f6 Easy customize (#138)
* 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
Artem Khvastunov 3d4335a787 Add Twitter Cards to each page (#133)
* 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 (#134) 2019-01-07 11:16:38 -02:00
Joseph Ting 5f052f9301 bug(base-url): change from site url to page url (#131) 2018-12-31 09:05:18 -02:00
Luiz F. A. de Prá 1647f2f112
Improve icons accessibility (#127) 2018-12-20 14:21:11 -02:00
Joseph Ting b4688a765e Change copyright year to be current (#121) 2018-11-21 09:38:36 -02:00
tobinjt d89edf3e1b Add trailing slash to remove redirects. (#112)
* 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.
2018-11-20 16:19:10 -02:00
Martin Kiesel e33d2ec88a Accept boolean as well as string (#119)
* Accept boolean as well as string

* Update math.html

Tidy it up

* Update CONTRIBUTORS.md

Add myself to contributors
2018-11-20 09:39:08 -02:00
Abner Campanha 720f7518a6 Add inverted variables option (#110)
* add inverted variables option

* create inverted styles

* add missed styles

* add myself as contributor
2018-11-12 09:42:52 -02:00
Khosrow Moossavi fd3ec89897 Taxonomy initial commit, tags and categories (#90)
* Taxonomy initial commit, tags and categories

* WIP: Show in footer for comparison

* Fix post meta
2018-10-27 09:43:26 -03:00
Khosrow Moossavi 11c0108323 Enhance post header (#100)
- show calendar icon for 'posted date'
- show 'reading time'
2018-10-14 22:24:13 -03:00
Dale Noe 2a9b72d2ac Adding the ability to have git commit hash in the footer (#78)
* Adding the ability to have git commit hash in the footer

* making changes as discussed in GH-78

* last changes before merge

* removed lines that are not needed

* fixing duplicate

* Last changes hopefully
2018-10-13 15:56:45 -03:00
Padraic Renaghan 9dc5dc0fd0 Crossorigin=Anonymous on theme css (#97)
* crossorigin on the theme stylesheet

* needed on custom stylesheet

* on the theme css link
2018-10-13 09:36:01 -03:00
Khosrow Moossavi 4426c889fd Post refactor to hold everything its own (#88) 2018-10-03 15:06:20 -03:00
Myles Johnson ba59149678 Update FontAwesome (#83) 2018-09-16 18:11:42 -03:00
Luiz de Prá a094f8fe7b Fix assets permalinks 2018-09-15 09:45:29 -03:00
Luiz de Prá b79cb616ea Add dateformat config 2018-09-14 10:11:27 -03:00
Luiz F. A. de Prá 94656f4c79
Style refactor (#77)
* Change fonts

* Fix colors and sizes

* Fix link colors

* Fix headings and links

* Fix icon size
2018-09-14 09:02:58 -03:00
Chip Senkbeil f83b230aa2 Updated favicon to support alternative file names and paths (#81) 2018-09-13 16:22:53 -03:00
Khosrow Moossavi 42d75aefe4 Enable RTL layout by providing 'rtl = true' in the config (#72) 2018-09-01 09:18:10 -03:00
Luiz de Prá 333e6358c8 Add social icons 2018-08-22 08:54:56 -03:00
Luiz F. A. de Prá 934db8e964
Add SCSS via Asset Pipeline (#65)
* Remove old files

* Add SCSS pipeline

* Add generated files

* Fix navigation HTML

* Fix media queries

* Remove RTL

* Fix styling for big screens

* Remove separator configs

* Fix menu dropdown

* Add working mobile menu

* Fix menu item heights

* Update README
2018-08-21 16:26:15 -03:00
rdhox f597d91e55 Mobile menu (#63)
* mobile menu functional

* mobile menu beta

* edits mobile-menu: home link out, rtl ok, menu pop over

* mobile menu - bugs correction

* add horizontal separator

* corrections done + add configuration of centered or rtl/ltr mobile menu

* edit config of example

* separator padding full
2018-07-24 20:26:48 -03:00
Tomasz Wąsiński f18b8c4e8e Add support for multilingualism (#40) 2018-07-08 20:12:36 -03:00
rdhox c7cae007a6 Add avatar option and footer text option (#41)
* Add avatar option and footer text option

* add responsive avatar for narrow screen

* improvement of code

* conflicts solved
2018-07-05 10:06:03 -03:00
Khosrow Moossavi fe847fb152 RTL support (#29) 2018-06-18 14:55:42 -03:00
Khosrow Moossavi 9a070c2380 Ability to add extra custom CSS (#22) 2018-05-14 09:51:23 -03:00
Luiz F. A. de Prá 82fab8b82a Fix home link 2018-05-10 21:41:38 -03:00
Jan Baudisch d69c5cfef3 Update footer to be optional (#20)
* Update footer to be optional

* Update example with optional footer

* Update README with optional footer
2018-05-09 21:06:16 -03:00
Maikel 826fa2ee18 Disqus support, exampleSite preview through make commando (#16)
* Added disqus support

* reformatted README

* Updated example config

* Added a make demo command to easy run the exampleSite.
Also good for developing new features but don`t want to setup a
different project for it

* Updated readme

* Working on my .md skillsw
2018-05-01 15:59:02 -03:00
Vlad Ionescu 0f2bd0c0a6 Math (#14)
* MathJax support

There was no support for displaying math written in Latex. This is now added with the help of MathJax.

MathJax uses an external Javascript file and as not to add unnecessary load the support for math is only enabled if the 'math' param is set to true.

* MathJax support

There was no support for displaying math written in Latex. This is now added with the help of MathJax.

MathJax uses an external Javascript file and as not to add unnecessary load the support for math is only enabled if the 'math' param is set to true.

* Auto stash before merge of "math" and "origin/math"

* Delete unnecessary option

* Actually enable math for demo page

* Have demo page be consistent
2018-05-01 15:48:49 -03:00
Luiz de Prá 853492596d Fix template to suport empty social parameter 2018-03-23 14:28:38 -03:00
Gabor Nagy 0485ff61a4 Make main menu optional. (#1)
Building the site fails if the menu is not defined in the config,
because the `header.html` references `.Site.Menus.main`. It can be made
optional by using the `with` helper.
2018-03-23 10:33:26 -03:00
Luiz F. A. de Prá 6e47762775 Add GoogleAnalytics 2018-03-02 17:10:45 -03:00
Luiz F. A. de Prá 4db982bb01 Initial files 2018-02-28 22:38:59 -03:00