Commit Graph

98 Commits

Author SHA1 Message Date
0cac61966f Merge branch 'luizdepra-m' 2022-06-04 18:28:25 +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
Mark Wood
25b7af3317 Remove obsolete meta language tag (#662)
* Remove obsolete meta language tag

* Add myself to the contributors file

Co-authored-by: Mark W <mark@digitalnotions.net>
2022-03-02 10:12:02 -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
Carmine Carlo
750ff9a602 Add jsdelivr to scriptsrc for Katex (#636) 2022-01-17 12:08:53 -03:00
CarpeFridiem
263be7cebc Table Style Parity (#626)
* Table Style Parity

* Update assets/scss/_base_dark.scss

* Add Contributor and Made Release

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2021-11-23 11:03:49 -03:00
Simon Pai
1cdbe4f14a Fix customJS and customCSS feature (#606)
* Fix customJS function

In the current state the customJS feature doesn't work, because an asset will only be generated to `/public` when `.RelPermalink` is used as mentioned in the [document](https://gohugo.io/hugo-pipes/introduction/#asset-publishing).

* Update CONTRIBUTORS.md

* Fix customCSS as well
2021-11-02 14:48:03 -03:00
Luiz F. A. de Prá
ee806a669f Fixed code block background color (#596) 2021-11-02 14:15:50 -03:00
Michael Weiss
6581e860bd German Translations (#598)
* Update de.toml

* Update CONTRIBUTORS.md
2021-09-23 10:31:58 -03:00
Jakub
afa17c8989 Long title covers menu (#574)
* modified margin for .container class

* modified navigation list and menu button so it is relative to title

* added kuba86 as contributor

* generate CSS files

* remove margin-top from menu-button to align with title inside navigation

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2021-06-25 15:58:16 -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
Kirill Feoktistov
4bb81da844 Fixing darkModeToggle listener (#577)
If hideColorSchemeToggle is true, darkModeToggle will not be rendered and adding a listener to a non-existing object will cause error.
2021-06-25 15:27:13 -03:00
Roberto Gongora
a08139227c Update es.toml (#559)
* Update es.toml

Added missing i18n tags to the Spanish translation.

* Update CONTRIBUTORS.md
2021-04-24 19:42:40 -03:00
Tobias Lindberg
b01e7d5ef1 updating swedish translation (#551)
updating myself in CONTRIBUTORS.md
2021-04-01 17:06:07 -03:00
Luiz F. A. de Prá
7ec46861e3 Merge go modules (#543)
* Add support for using as a Hugo module (#534)

* Add support for using as a Hugo module

Fixes #502

* Don't need/want the theme directory with modules

* Fix go.{mod,sum} files

* Set go version and hugo version everywhere

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

* Remove hugo mod from exampleSite and Netlify build

* Bump hugo version

* Move env vars inside netlify.toml

Co-authored-by: Edward Muller <edward_muller@icloud.com>
2021-03-25 14:23:50 -03:00
cuso4-5h2o
68580148a3 Add the color-scheme meta tag (#523)
* Add the color-scheme meta tag

* Update CONTRIBUTORS.md
2021-02-26 14:37:45 -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
4a0e45c6f9 Merge branch 'master' of https://github.com/luizdepra/hugo-coder into luizdepra-master 2021-01-27 19:41:22 +01:00
PanZiwei
9bfd70ec83 Update CONTRIBUTORS.md (#516)
Fix the typo for the link.
2021-01-26 10:01:14 -03:00
PanZiwei
28ab4ab45c Add theme badge for hugo-coder (#513)
* Update README.md

Add theme budge for hugo-coder

* Update CONTRIBUTORS.md

Update contributors
2021-01-25 17:18:56 -03:00
tianheg
2ae5eec336 fix word (#507)
* fix word

* Update CONTRIBUTORS.md

add @tianheg (my name)
2021-01-25 16:34:49 -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
Peter Duchnovsky
74d160b325 Self hosting of forkawesome and normalize.css (#497)
* Self hosting of forkawesome and normalize.css

* make release

* updated contributors
2021-01-22 13:21:01 -03:00
Felix
0fcb42508d Update zh-cn.toml (#500)
* Update zh-cn.toml

* Update zh-cn.toml

* Update CONTRIBUTORS.md
2021-01-21 11:54:27 -03:00
Codruț Constantin Gușoi
5653386d41 Details cursor (#499)
* Style summary cursor

* Update contributor website link
2021-01-21 11:31:42 -03:00
JaeSang Yoo
f4c5ce9052 Add i18n support for Korean (#487)
* feat(i18n): Add Korean translation

* Add Korean translation (based on English version)

Signed-off-by: JaeSang Yoo <jsyoo5b@gmail.com>

* chore: Append contributor list

Signed-off-by: JaeSang Yoo <jsyoo5b@gmail.com>
2020-12-09 13:58:14 -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
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
Arafat Hasan Jenin
aa1b91b5f8 Update Bangla Translation (#461)
* Bengali translation added

* Update Bangla Translation

* Update Bangla Translation

* posts added to Bangla translation
2020-10-28 10:12:19 -03:00
MineCola
9704f2106c Add zh-tw translation (#444)
* Add zh-tw translation

* Add contributors for translation zh-tw
2020-10-19 17:13:21 -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
Hussaini Zulkifli
e230ea2ee6 Translate to Malay (#423) 2020-10-01 11:15:18 -03:00
Rabin Adhikari
95fa5d7108 Use min version of fork-awesome (#421)
* Use min version of fork-awesome

* Update CONTRIBUTORS.md
2020-09-30 09:01:25 -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
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
Daniel Monteiro
94b5957f6d Typo fix (#405)
* Typo fix

* Contributors addition
2020-09-17 21:50:28 -03:00
Jared Sturdy
eb4db54a05 [bugfix] wrap long post title (#401)
* [bugfix] Fix line wrapping for list items

Long post titles will be wrapped in their own column, rather than
flowing under the date column (see #385).

* [assets] update assets for long post titles
2020-09-10 10:41:09 -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
Robert
0678ffe608 Create nl.toml (#368)
* Create nl.toml

* Update CONTRIBUTORS.md
2020-07-21 12:02:38 -03:00
Alexandr
f46d1e2c3e Fix RU translation of reading_time variable (#363)
Co-authored-by: Pakhomov Aleksandr <Aleksandr.Pakhomv@sbb.ch>
2020-07-09 10:17:41 -03:00
Rajiv Ranjan Singh
a6879a80a1 Update CONTRIBUTORS.md (#359) 2020-07-02 17:21:29 -03:00
Erno Salo
6f8f675f7e Add finnish translation (#340) (#341)
* Add finnish translation (#340)

* Update CONTRIBUTORS.md
2020-05-25 10:09:09 -03:00
Latiif alSharif
60f7098910 Add i18n for arabic (#336)
* Add Arabic i18n file.

Signed-off-by: latiif <latiif@mail.com>

* Add Latiif Alsharif to contributors

Signed-off-by: latiif <latiif@mail.com>
2020-05-18 11:41:27 -03:00