Commit Graph

322 Commits

Author SHA1 Message Date
Geoffrey Garrett
443bb3b709
style: fixed tab styling in config 2022-06-30 09:54:04 +02:00
Geoffrey Garrett
496c2cd11f
Merge branch 'hugo' into hugo 2022-06-30 09:36:02 +02:00
Jacky Zhao
0896814959 docs: remove test image from hosting 2022-06-29 17:35:29 -07:00
Jacky Zhao
8b2fba895a feat: image scaling (closes #131) 2022-06-29 17:34:05 -07:00
Jacky Zhao
e884f4927f fix: anchor formatting (closes #141) 2022-06-29 17:17:53 -07:00
Geoffrey Garrett
4514b00d81 Merge remote-tracking branch 'origin/hugo' into hugo 2022-06-30 02:03:56 +02:00
Jacky Zhao
2b0482ae4c docs: fix page weight 2022-06-29 17:03:41 -07:00
Geoffrey Garrett
e7fdcc6852 fix(code title): small fix for SPA 2022-06-30 02:03:33 +02:00
Jacky Zhao
8a100edeb8 docs: polish and update 2022-06-29 16:57:36 -07:00
Jacky Zhao
200c605142 feat: enable raw html by default (fixes #143) 2022-06-29 16:16:06 -07:00
Jacky Zhao
f2078ee621 fix: prefix images with base url for non-root quartz 2022-06-29 16:15:40 -07:00
Geoffrey Garrett
d91d5f98b2
Merge branch 'jackyzha0:hugo' into hugo 2022-06-30 00:59:34 +02:00
Geoffrey Garrett
cef9146371 style(syntax themes: head.html): modified templating for syntax theme 2022-06-30 00:40:20 +02:00
Geoffrey Garrett
ada0c74160 feat(syntax themes): support for independent syntax themes
Closes #149
2022-06-30 00:35:56 +02:00
Geoffrey Garrett
956d1c45f2 style(code titles): updated for independent syntax themes 2022-06-30 00:23:26 +02:00
Geoffrey Garrett
a3ddb1bde7 fix(code titles): fixed code titles with and without SPA 2022-06-29 22:39:01 +02:00
Geoffrey Garrett
8fdc927bab fix(code titles): fixes overflow issue 2022-06-29 22:13:17 +02:00
Geoffrey Garrett
29fa0bea1d fix(code block titles): fixed multiple titles added to a block 2022-06-29 17:54:19 +02:00
Jacky Zhao
916c51c19c
Merge pull request #150 from aidenybai/bump-million 2022-06-28 23:21:25 -07:00
Aiden Bai
67a7ba37e8
Bump million to 1.11.3 2022-06-28 21:43:28 -07:00
Geoffrey Garrett
6c096bf924 docs(code block titles): made docs concise 2022-06-29 06:02:32 +02:00
Geoffrey Garrett
e0567a592e style(code block titles): changed colors slightly 2022-06-29 06:01:06 +02:00
Geoffrey Garrett
eba33521ad docs(config): added code block title documentation 2022-06-28 22:14:07 +02:00
Geoffrey Garrett
dd37151e8b style(code title): changed default color styling 2022-06-28 21:16:55 +02:00
Geoffrey Garrett
f16b31dae0 Merge remote-tracking branch 'origin/hugo' into hugo 2022-06-28 20:26:06 +02:00
Geoffrey Garrett
a312e6bb88 style: removed accidentally included comments 2022-06-28 20:24:52 +02:00
Geoffrey Garrett
7a13df5543
Merge branch 'jackyzha0:hugo' into hugo 2022-06-28 20:19:35 +02:00
Geoffrey Garrett
25084b82b0 docs(favicon): corrected code block title and added relevant linenostart 2022-06-28 20:17:12 +02:00
Geoffrey Garrett
2685fabd8f feat(config example): added enableCodeBlockTitle key 2022-06-28 20:12:37 +02:00
Geoffrey Garrett
53c3f479c6 docs(code block titles): added titles for all configuration code blocks 2022-06-28 20:10:44 +02:00
Geoffrey Garrett
7fd830f838 fix(code title): corrected accidental omission of code-title.js 2022-06-28 20:07:42 +02:00
Geoffrey Garrett
d0902f382c docs(code block titles): set enableCodeBlockTitle to true as default 2022-06-28 20:06:25 +02:00
Geoffrey Garrett
3e13cb2258 style(code title): reduced font size slightly 2022-06-28 20:03:24 +02:00
Geoffrey Garrett
32269c9b7a docs(config.yaml): set code block linenos to false where unnecessary 2022-06-28 20:00:44 +02:00
Geoffrey Garrett
d982d4d91b docs(config.yaml): fixed a typo 2022-06-28 19:57:40 +02:00
Geoffrey Garrett
715aff9533 feat(code block titles): adds ability to define code block titles for Chroma
If a user provides a title as an argument to a code block, it will be
added as a child `div.code-title` to `div.highlight`, inserted before
`div.chroma`.

- Included default styling (`code-title.scss`) adapted
from `syntax.scss`.
- Added this as a function rendered in the
`partials/head.html` inside the `render()` function, *if*
`enableCodeBlockTitle=true` in the `data/config.yaml`.
2022-06-28 19:56:20 +02:00
Jacky Zhao
72941965ab
Merge pull request #146 from geoffreygarrett/hugo 2022-06-27 16:27:57 -07:00
Geoffrey Garrett
b732293f65 fix(head.html): Adds robustness to config.yaml favicon definitions
Initially assumed that `href` definitions should have `/...` as their
pattern, and `baseURL` would always end with `/`, however the omission
of `/` as the prefix of the former and suffix of the latter
simultaneously, would result in broken favicon paths. Final comment:
`..///...` is not breaking, which is worst case scenario with this fix.
2022-06-28 01:21:22 +02:00
Geoffrey Garrett
7070a1992a docs(config.md): Fixed multi-favicon examples and general favicon explanation throughout 2022-06-28 01:15:33 +02:00
Geoffrey Garrett
997937af5a docs(config.md): Added short explainer on favicons 2022-06-28 00:45:48 +02:00
Geoffrey Garrett
a334b45b17 docs(content/notes/config.md): Adds documentation for the new favicon support 2022-06-27 22:05:35 +02:00
Geoffrey Garrett
473ea2c66f feat(layouts/partials/head.html): Adds general favicon support with dict and string input format 2022-06-27 22:04:32 +02:00
Jacky Zhao
34b0353797
Merge pull request #140 from DhammaCharts/hugo 2022-06-07 08:43:52 -07:00
DhammaCharts
52a185f73b change enableGlobalGraph to false 2022-06-06 16:49:01 +01:00
DhammaCharts
69c74ca6b5 minor adjustment 2022-06-06 16:48:16 +01:00
DhammaCharts
ab809249c8
Update layouts/partials/head.html
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-06-06 16:42:53 +01:00
DhammaCharts
84c75d0546
Merge branch 'hugo' into hugo 2022-06-06 12:56:47 +01:00
Jacky Zhao
dbd4fb7595
Merge pull request #139 from aidenybai/prerender-latex 2022-06-03 10:59:18 -07:00
DhammaCharts
a275123be2 better font behaviour 2022-06-02 08:35:28 +01:00
DhammaCharts
c88f31c364 change to object destructuring for drawGraph() arguments 2022-06-02 08:16:02 +01:00