Commit Graph

67 Commits

Author SHA1 Message Date
Luiz F. A. de Prá
ed1c854df2 And notice shortcodes (#537)
* Added information panel shortcodes (#437)

* Added information panel shortcodes

* Fixed dark mixin

* Moved mixin location to correct location

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

* Fix SCSS styling

* Update generated files

* Fix notice HTML

* Fix Makefile

* Rename JS file

* Adsd emoji support for lang selectors

* Fix notices and other things

* Fix JS on template

* Update  example content

* Update images

* Update generated files

* Fix netlify preview

* Fix netlify preview build

* Fix netlify theme path

Co-authored-by: Jian Liew <jianloongliew@gmail.com>
2021-03-24 20:59:33 -03:00
Luiz F. A. de Prá
32ffc536aa Format toml files 2021-03-15 21:12:40 -03:00
Viktar Patotski
963dc43f0f Add abbility to use Google Tag Manager for analytics (#514)
* Add ability to embed custom code to <head>

* add myself to CONTRIBUTORS.md

* implement dedicated template for Google Tag Manager

* move google tag manager to bottom of the body tag
2021-02-10 16:34:44 -03:00
Alphonse Mariya
1d4b612a44 Add support for Matomo (formerly Piwik) (#508)
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2021-01-22 13:39:34 -03:00
Alex Miranda
edea1118eb Adds Content-Security-Policy template to theme (#504)
* feat: added csp.html template to theme head element

* feat: added my name to CONTRIBUTORS

* fix: added conditional logic for templating to stabilize build

* feat: Added CSP section to example config.toml

* fix: updated template logic

* updated contributors to reference website and not github

* fix conflict with contributors, moved csp out of _shared dir

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2021-01-22 13:26:30 -03:00
YUJI
dbe21a7fdf Add support of Cloudflare Web Analytics (#492)
* Add support of Cloudflare Web Analytics

* Update exampleSite/config.toml

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-12-15 16:38:06 -03:00
Clément Pannetier
c5fbd48e91 Update variables names to camelCase format for consistency (#473) 2020-11-04 14:28:31 -03:00
Clément Pannetier
ca2bcb100a Issue #438 | Fix stackbit validation errors (#440) 2020-10-16 15:45:58 -03:00
earnest
e26616e170 Add authors taxonomy for blog posts (#435)
* Add authors taxonomy and layout

* Add my name to contributors file

* Add authors to front matter post archetypes

* Add author to i18n for en

* Add authors taxonomy to exampleSite config

* Add some author names to exampleSite for demo

* Tested authors on pt-br and externally-linked post
* Also ran make release again

* Resources

Deleted resources in exampleSite and added resources in root
2020-10-16 15:32:37 -03:00
Lucas de Oliveira
82ccf83b1e Use camelCase variables on custom_css, custom_js and custom_scss (#434)
* Rename custom_css variable to customCSS

* Rename custom_js variable to customJS

* Change contribuitors.md

* Rename custom_scss to customSCSS

* Add custom SCSS on example config.toml

* Add customSCSS on stackbit.yaml
2020-10-13 19:31:49 -03:00
Ellison
3723e9b2b9 Add goatcounter analytics support (#430)
* adding goatcounter analytics support

* Update CONTRIBUTORS.md
2020-10-07 11:53:36 -03:00
Joseph Sanders
6302a4b82b Add Option To Hide Color Scheme Toggle (#406)
* Add color scheme toggle

Add hidedarkmodetoggle to exampleSite, stackbit

Change property name to hidecolorscheme toggle

* Add my name to CONTRIBUTORS.md
2020-09-29 18:32:00 -03:00
Demetrios Lambropoulos
6c97691f5e Font to fork (#420)
* Switch FontAwesome CDN to ForkAwesome

* Converted font-awesome icons to fork-awesome

* converted icons to forkawesome

* Converted folder icon to fork-awesome icon

* Update tags.html

* Update config.toml
2020-09-29 13:28:08 -03:00
Dave Rolsky
0fb4eafa63 Use relative URLs everywhere and remove <base> tag (#411)
There were a few places still using absolute URLs, including <link rel="icon">
tags, <link rel="alternate"> tags, and nav menu links. In addition, the
presence of a <base> tag caused the browser to absolute-ize all relative
URLs. This also removed "canonifyurls = true" from the example site config.

This is a problem for things like render.com, which will put the site on its
own domain for previews. For example, I have a preview site at
https://houseabsolute-com.onrender.com/. Ultimately this will be served at
https://houseabsolute.com/, but before I switched over I wanted to preview the
site.

The absolute URLs were being generated for https://houseabsolute.com/ because
of my baseURL setting in config and the presence of the <base> tag. This
completely breaks the preview site.
2020-09-28 13:43:06 -03:00
KK
41062e0096 Add apple touch icon (#381)
* Add \\( and \\[ as mathjax delimiters

* Make it possible to enable katex and mathjax globally in config.toml

* Add apple-touch-icon

* Add default apple touch icon

Co-authored-by: KK <bebound@users.noreply.github.com>
2020-09-10 10:21:30 -03:00
Clément Pannetier
63e96f8dee Fix hugo build (#387)
* Fix hugo build error

* Fix hugo build error
2020-08-24 11:13:35 -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
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
Luiz F. A. de Prá
2d9b7ecce0 Update config and screenshots 2020-05-14 11:26:30 -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
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
Luiz F. A. de Prá
fcd8916343 Fix figure aligment 2020-02-14 18:00:04 -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á
7dd37361a5 Move example images to exampleSite/static 2020-02-10 13:55:03 -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
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