Commit Graph

45 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Luiz F. A. de Prá
09e704b6cb Add missing pages 2019-01-02 17:07:27 -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
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
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
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