Commit Graph

48 Commits

Author SHA1 Message Date
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
Codruț Constantin Gușoi
733bc740c6 Fix darkModeToggle javascript error (#447) 2020-10-20 16:37:57 -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
Luiz F. A. de Prá
8523b3c90d Move tweemoji import 2020-09-30 09:16:54 -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
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
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
Clément Pannetier
d7447e55a9 Fix issue #296 (#318) 2020-04-26 19:19:35 -03:00
Clément Pannetier
99427568e9 Fix issue #314 (#317) 2020-04-26 19:17:55 -03:00
MaoMao
7724fa76ac Support SEO friendly meta tags (#300)
* Support two SEO friendly tags: <meta name="description"> and <meta name="keywords">.

* Support two SEO friendly tags: <meta name="description"> and <meta name="keywords">.
2020-04-26 19:09:55 -03:00
Clément Pannetier
e46c452344 update font awesome version (#304) 2020-04-13 11:44:53 -03:00
Paolo Mainardi
daeffaf258 Ensure text remains visible during webfont load (#269)
* Ensure text remains visible during webfont load

As specified here: https://web.dev/font-display/?utm_source=lighthouse&utm_medium=unknown#google-fonts

* Update CONTRIBUTORS.md
2020-02-16 19:11:47 -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
Eli W. Hunter
316835734f Add custom_scss (#244)
Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
2020-01-05 12:55:03 -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
José Mª Escartín
f6caaf0493 Update fontawesome to v5.11.2 in default layout. (#236) 2019-11-18 10:24:05 -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
43408807a5 update normalize version (#175)
* update normalize version

* update CONTRIBUTORS.md
2019-04-27 14:39:19 -03:00
Wataru Mizukami
ee65eab9fa updated fontawesome version (#174)
* updated fontawesome version

* Update CONTRIBUTORS.md
2019-04-26 09:25:08 -03:00
John Tobin
87879a726a Replace deprecated .Hugo with hugo. (#171)
* Add trailing slash to remove redirects.

When you request /tags/foo, the web server will redirect you to
/tags/foo/ so the browser needs to make two requests.  Add the trailing
slash in the link so that only one request is needed.

* Add trailing slash to remove redirects.

* Improve how trailing slash is added.

Co-Authored-By: tobinjt <johntobin@johntobin.ie>

* Improve how trailing slash is added.

Co-Authored-By: tobinjt <johntobin@johntobin.ie>

* Add John Tobin.

* Replace deprecated .Hugo with hugo.

Hugo 0.55 deprecates .Hugo and produces this warning:
"Page's .Hugo is deprecated and will be removed in a future release.
 Use the global hugo function."

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Bump version to brute-force figure out when "hugo" function was introduced because it is not documented.

* Update minimum required version.
2019-04-23 10:17:29 -03:00
d-dandrew
b535058204 Fix HTML lang attribute (#169)
* Fix #165

* use .Site.Language.Lang instead of .Site.LanguageCode according to hugo documentation

* add contributor D_DAndrew
2019-04-22 10:27:07 -03:00
Caspar Krieger
903cfa0443 Fix empty hrefs in 404 page (#162)
* Fix empty hrefs in 404 page

* Added self to contributors list per PR template
2019-03-20 10:33:46 -03:00
Thomas Vochten
e94774cf5d Fix HTML5 validation for Google Fonts (#151)
* Replaced "|" with encoded value "%7C" for HTML5 compatibility

* Appended to contributers file
2019-03-07 14:25:06 -03:00
Paul Lettington
a642817803 Fix <link/> tag for RSS feeds (#149) 2019-03-07 10:44:08 -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
Gabriel Monteiro Nepomuceno
4ff77035f6 Easy customize (#138)
* Making easy to customize listing

* adding styles to listing

* removing unintended changes

* correcting declaration

* including files for release

* changing url to be relative so it can work on localhost

* Including suggestions
2019-01-16 13:16:24 -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
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
Padraic Renaghan
9dc5dc0fd0 Crossorigin=Anonymous on theme css (#97)
* crossorigin on the theme stylesheet

* needed on custom stylesheet

* on the theme css link
2018-10-13 09:36:01 -03:00
Myles Johnson
ba59149678 Update FontAwesome (#83) 2018-09-16 18:11:42 -03:00
Luiz de Prá
a094f8fe7b Fix assets permalinks 2018-09-15 09:45:29 -03:00
Luiz F. A. de Prá
94656f4c79 Style refactor (#77)
* Change fonts

* Fix colors and sizes

* Fix link colors

* Fix headings and links

* Fix icon size
2018-09-14 09:02:58 -03:00
Chip Senkbeil
f83b230aa2 Updated favicon to support alternative file names and paths (#81) 2018-09-13 16:22:53 -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
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
Luiz F. A. de Prá
6e47762775 Add GoogleAnalytics 2018-03-02 17:10:45 -03:00
Luiz F. A. de Prá
4db982bb01 Initial files 2018-02-28 22:38:59 -03:00