Commit Graph

23 Commits

Author SHA1 Message Date
Rico Ullmann 583c09285b
header.html: fix some issues with script src parameters 2023-01-06 21:32:15 +01:00
Rico Ullmann 514eabf49d
header.html: grab local copy of MathJax.js 2023-01-05 23:48:48 +01:00
Rico Ullmann 1237910613
header.html: remove crossorigin="anonymous" from katex ressources
this is not required as we're delivering these ressources from our local system.
2023-01-05 23:43:50 +01:00
Rico Ullmann bd95ccd516
header.html: service katex locally
update to 0.16.4
2023-01-05 23:35:24 +01:00
Rico Ullmann 37f660ebbd
remove useCDN option 2023-01-05 23:31:01 +01:00
Samuel Proulx 3fa25abce4
Add mathjax and katex support (#75)
* Add mathjax and katex support

* update readme
2022-12-29 17:22:53 +05:30
Ahmed Alsuwaidi 5fbc45536a Added <script> tag support to customJS
Added a "readmore" class to the read more links to enable finegrained css
2022-03-03 23:03:05 +05:30
MBK 0293190e3a
fix for dark/light mode toggle when not using CDN (#42)
* fix for dark/light mode toggle when not using CDN

* fix for dark/light mode when not using CDN

Authored-by: Marek Bukala-Karbownik <marek.karbownik@lib.uni.lodz.pl>
2022-02-03 11:13:40 +05:30
Harrison Sand 8e4cb8c738 Add dark mode toggle 2021-09-24 19:38:28 +02:00
Aron Gergely dd1612c482 cache busting for custom CSS, update readme 2021-06-09 14:04:21 +05:30
Aron Gergely 27307e797f add cache busting for CSS files via Hugo Pipes 2021-06-09 14:04:21 +05:30
David Wittman 117808b653 Improve meta description
Rather than use the same description on every page, prefer the post
summary if it's available and only use .Params.description on the root
page.

This mimics the behavior of the [opengraph internal
template](https://github.com/gohugoio/hugo/blob/master/tpl/tplimpl/embedded/templates/opengraph.html#L2)
for the `og:description` tag.
2021-05-22 21:38:59 +05:30
David Wittman 1f47eeb7be Add support for meta descriptions
The meta description tag is _allegedly_ important for SEO, and it
can improve the page's summary in Google results.
2021-05-22 20:56:11 +05:30
Athul Cyriac Ajay 02b2654b93 Removed Unwanted OG Tags
There were extra OG tags added as a mistake. Hugo already has a good inbuilt partial for Meta stuf
2021-01-17 18:35:22 +05:30
Francis Barton 8a286dd90d
Fix typo (ref -> href) (#17)
Thanks @VictorBersy https://github.com/athul/archie/pull/15#issuecomment-714503130
2020-11-07 09:40:30 +05:30
dadosch 2edf7ab84b
Option to use local font files instead of Google fonts, combined option for CDN use (#16)
* option to use local font files instead of GoogleFonts, combined config for CDN use

* set new combined config in exampleSite config

* fix path to fonts when hugo is serving in a subdirectory

* update README for new option

* switch to Fira Sans
2020-10-20 23:33:23 +05:30
Francis Barton 525bcfcd21
Add custom CSS option - fixes issue #14
Borrowed some code from https://github.com/gadenbuie/garrickadenbuie-com/blob/main/layouts/partials/head.html and blended it in. I hope the syntax is still valid and makes sense. I'm not sure if it ought to say `if isset .Site.Params "customCSS"` but I left it as `customcss` as you suggested.
2020-10-04 17:11:49 +01:00
athul 43f1da624e Better OG Descp 2020-06-24 13:35:48 +05:30
athul 03a155de82 Better Seo and Images 2020-06-24 13:27:58 +05:30
athul a8fce7c6f4 Dark Mode Support 2020-04-16 12:50:38 +05:30
athul dd1c9af419 Add exampleSite and footer updates 2020-04-11 01:11:05 +05:30
athul 58d02550f1 CSS updates 2020-04-09 12:06:48 +05:30
athul 3c737553b6 Init 2020-04-09 00:14:29 +05:30