107 Commits

Author SHA1 Message Date
0cac61966f Merge branch 'luizdepra-m' 2022-06-04 18:28:25 +02:00
87ecc7ae65 Add posibility to change timeline title and to decide post type 2022-06-04 16:58:20 +02:00
Hannes Kuchelmeister
da4f675726 fix timeline showing odrinary pages 2022-06-04 16:55:44 +02:00
5dfd106771 change front page to have a timeline of posts 2022-06-04 16:53:55 +02:00
Luiz F. A. de Prá
0a43ceef5b Squashed commit of the following:
commit 45d69de5e5bfbac24d87400422e2f63bf62f80d7
Author: John Feminella <jxf+github@jxf.me>
Date:   Sun May 29 14:46:30 2022 -0400

    Modularize <head> and baseof templates (#639)

    * Add extension points for template customization

    Today, if you use the hugo-coder template, you can't modify <head>
    without having to write the entire template from scratch. This makes
    small point modifications or adjustments impractical and means that
    downstream consumers will quickly be out of sync with upstream
    changes.

    To remedy this, we split up the template into more modular extension
    points. This commit adds one extension point to <body> for arbitrary
    scripting and several more to <head> for different existing
    touchpoints.

    * Add John Feminella to CONTRIBUTORS.md

    * Modularize home.html template

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

commit 7e6f875237b8b1a83c2d5c3a83a514912f29f8a8
Author: Codruț Constantin Gușoi <mail+git@codrut.pro>
Date:   Sun May 29 19:43:09 2022 +0100

    HTML/CSS only tabs (#678)

    * Fix pre tag margin top so it looks good inside containers

    * Bind to 0.0.0.0 for docker container support

    * Add HTML only tabs shortcode

commit 371406e8918225e66bf142520684998e90ce0d2f
Author: Zhan Shuo <trizsqwq@gmail.com>
Date:   Mon May 30 02:38:59 2022 +0800

    dynamic change utterances theme with coder theme (#676)

    * dynamic change utterances theme with coder theme

    * add myself into CONTRIBUTORS.md

commit bad470c59c5263124a4a95f60b9a8c3367c11ae6
Author: samsapti <sam@sapti.me>
Date:   Tue May 24 01:55:31 2022 +0200

    Update CONTRIBUTORS.md

commit b0e9a74bb5e019905b197d829fe6ae5576c15a7b
Author: samsapti <sam@sapti.me>
Date:   Tue May 24 01:50:15 2022 +0200

    Add macOS mask icon + web app manifest support
2022-05-29 16:12:52 -03:00
John Feminella
3762d3a24c Modularize <head> and baseof templates (#639)
* Add extension points for template customization

Today, if you use the hugo-coder template, you can't modify <head>
without having to write the entire template from scratch. This makes
small point modifications or adjustments impractical and means that
downstream consumers will quickly be out of sync with upstream
changes.

To remedy this, we split up the template into more modular extension
points. This commit adds one extension point to <body> for arbitrary
scripting and several more to <head> for different existing
touchpoints.

* Add John Feminella to CONTRIBUTORS.md

* Modularize home.html template

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2022-05-29 15:46:30 -03:00
Zhan Shuo
9ea82c5c82 dynamic change utterances theme with coder theme (#676)
* dynamic change utterances theme with coder theme

* add myself into CONTRIBUTORS.md
2022-05-29 15:38:59 -03:00
Luiz F. A. de Prá
86ea4eda54 Fix disableComments with utterances 2022-02-28 15:49:12 -03:00
Luiz F. A. de Prá
680c7ab860 Fix date i18n 2022-02-25 12:11:29 -03:00
mike
720271a5bf Add a license statement in the footer (#637)
* Add a license param in the config used in footer

Also adds initial EN and NL i18n statements referring to the license.

* Add Michiel to CONTRIBUTOR

* Add example text for i18n of `licensed_under`

* Add safeHTML filter to license value in the footer

Also updates the example config in the exampleSite config.toml to link
to Creative Commons.

* Fix separator dot in footer within License ifdef
2022-01-30 18:25:57 -03:00
Alphonse Mariya
d14dd837ec Use plural translation keys for taxonomies (#620) 2021-12-26 15:18:00 -03:00
Alphonse Mariya
b93ac81256 Remove hide configs (#618)
* Remove "hide" configurations

* Remove "footerContent"
2021-11-10 19:56:13 -03:00
Rabin Adhikari
0358105df2 Bump katex to 0.15.1 (#611)
* Bump katex to 0.13.18

* Bump katex to 0.15.1

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2021-11-02 16:30:33 -03:00
Alphonse Mariya
3c13225498 Remove support for MathJax (#613) 2021-11-02 15:49:58 -03:00
Piotr Orzechowski
427f124aed Add custom menu item param to set url function (#601) 2021-11-02 14:33:24 -03:00
Rabin Adhikari
307b21c5e0 Bump katex from 0.13.5 to 0.13.11 (#584)
See here for more details: https://github.com/KaTeX/KaTeX/compare/v0.13.5...v0.13.11
2021-07-13 22:18:07 -03:00
Vladislav Matus
621607f9ef Multiline info - enhancement (#578)
* Multiline info

* Vladislav Matus added as a contributor

Co-authored-by: Vladislav Matus <matusvla@fjfi.cvut.cz>
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2021-06-25 15:31:32 -03:00
Codruț Constantin Gușoi
af7360e89a Taxonomies list as a tag cloud (#557)
* Taxonomies list as a tag cloud

* Generate resources for demo preview
2021-05-06 10:37:55 -03:00
Rabin Adhikari
67f278f1b4 Bump katex ko 0.13.5 (#565)
* Bump katex ko 0.13.3

* Bump katex to 0.13.5
2021-05-06 10:00:30 -03:00
Evgeniy Maynagashev
002ebd46e4 Add CSP's connect-src directive to config (#547) (#548) 2021-03-29 10:53:59 -03:00
Luiz F. A. de Prá
982745144f Fix notice and taxonomies translations (#544)
* Fix missing translations for notices

* Fix taxonomy translations
2021-03-25 15:38:12 -03:00
Rabin Adhikari
1555abc641 Bump twemoji and katex to latest version (#532)
* Bump twemoji from 13.0.1 to 13.0.2

* Bump katex from 0.12.0 to 0.13.0
2021-03-25 10:06:54 -03:00
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
d34ad31cf6 update screenshot of the theme 2021-02-16 19:46:08 +01:00
8809093f97 Add posibility to change timeline title and to decide post type 2021-02-16 18:56:44 +01: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
4a0e45c6f9 Merge branch 'master' of https://github.com/luizdepra/hugo-coder into luizdepra-master 2021-01-27 19:41:22 +01:00
Codruț Constantin Gușoi
8384e09033 Adds anchors to all headings (#439) 2021-01-25 17:13:58 -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
Rabin Adhikari
94a11b8b15 Defer non-critical resources and use more sensible CDN provider (#489)
* Defer non-critical resources and use more sensible CDN provider

* Seems like defer doesn't work for css

* Delete vscode related files

* Remove comments from as per code review

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-14 13:25:48 -03:00
YUJI
101354bf84 Unify CDN sources (#484)
* Change CDN to cdnjs

* Update CONTRIBUTORS.md

* Update math.html
2020-11-23 10:06:24 -03:00
Clément Pannetier
c5fbd48e91 Update variables names to camelCase format for consistency (#473) 2020-11-04 14:28:31 -03:00
Luiz F. A. de Prá
acef79480d Change Colorscheme Toggle Button to be floating (#466)
* Moved colour scheme toggle and squashed commits (#433)

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

* Fix toggle button code

* Add built CSS files

Co-authored-by: Jian Liew <jianloongliew@gmail.com>
2020-10-28 21:37:28 -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
Ellison
3723e9b2b9 Add goatcounter analytics support (#430)
* adding goatcounter analytics support

* Update CONTRIBUTORS.md
2020-10-07 11:53:36 -03:00
Luiz F. A. de Prá
5b7a49c087 Fix nav urls with safeURL filter 2020-09-30 09:36:11 -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
Carlo Lobrano
4403db5c2c Fix Plausible script (#402)
- use endpoint plausible.js in place of index.js
- use ASCII quotes

closes #388
2020-09-10 10:13:28 -03:00
Lorenzo Cameroni
b60a1c42eb Translation of series (#390) 2020-08-24 11:16:41 -03:00
Arunvel Sriram
ba1028a9d0 Add support for utterrances label (#384)
* Support utterrances label

* Update CONTRIBUTORS.md

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-08-11 16:13:01 -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
Robert
87f9e89048 Prefix term with taxonomy title (#369)
* Prefix term with taxonomy title

Fix list layout to properly prefix a term with the taxonomy title.

* Replace taxonomy with term kind in title

* Set minimal version for updated taxonomy kinds

* Set minimal version for updated taxonomy kinds

* Update CONTRIBUTORS.md
2020-07-26 20:33:41 -03:00
Clément Pannetier
9d1ba9d21d Utterances commenting system name corrected (#342) 2020-05-25 10:41:38 -03:00
Khosrow Moossavi
8ec09e5d1a Fall back to index if translation for the page doesn't exist (#313)
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
2020-04-26 09:32:52 -03:00
a98a6fedb1 Merge github.com:luizdepra/hugo-coder and add myself to contributer list
Conflicts:
	layouts/partials/footer.html
2020-04-11 15:26:05 +02:00