Commit Graph

41 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Ł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
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
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
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
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
Piotr Januszewski 12b4246e29 Add simple figure style for content class (#130)
* 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 (#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
Luiz F. A. de Prá 09e704b6cb Add missing pages 2019-01-02 17:07:27 -02:00
Joseph Ting 5f052f9301 bug(base-url): change from site url to page url (#131) 2018-12-31 09:05:18 -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
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
Khosrow Moossavi dcefc200ee Enhance Makefile and Netlify deployment (#91) 2018-10-04 13:06:06 -03:00
Khosrow Moossavi f834f18de2 Upgrade hugo to 0.49/extended (#89) 2018-10-03 09:26:37 -03:00
Luiz de Prá a6bf2f0150 Fix social icons 2018-09-17 11:48:27 -03:00
Luiz de Prá b79cb616ea Add dateformat config 2018-09-14 10:11:27 -03:00
Khosrow Moossavi ce21f192aa Use hugo-wrapper for demo target of exampleSite (#74)
hugow is a platform independent wrapper for hugo binary
and it removes the need to actually have the correct
binary installed, rather than controlling the required
version through a version file checked in the repo.
2018-09-10 14:32:15 -03:00
Luiz de Prá 1114bddcd3 Fix demo for theme site 2018-09-09 19:56:56 -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
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
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
Vlad Ionescu 0aab556131 Tables (#13)
* Add styling for tables

By default tables have no lines and no separation between cells which can lead to confusion.
2018-05-01 15:33:59 -03:00
Luiz de Prá 853492596d Fix template to suport empty social parameter 2018-03-23 14:28:38 -03:00
Luiz F. A. de Prá 289c9e0b07 Fix permalinks 2018-03-08 17:11:35 -03:00
Luiz F. A. de Prá 75b422ae3b Fix links and content type 2018-03-08 16:48:46 -03:00
Luiz F. A. de Prá 4db982bb01 Initial files 2018-02-28 22:38:59 -03:00