Commit Graph

305 Commits

Author SHA1 Message Date
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
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
DhammaCharts
d261655d96 remove unnecessary ternary 2022-06-02 07:49:09 +01:00
DhammaCharts
c0800a8749 change baseURL back to original 2022-06-02 07:45:44 +01:00
DhammaCharts
ac0dd50c04 uncomment window.Million 2022-06-01 21:30:40 +01:00
DhammaCharts
e809896338 increase scale 2022-06-01 21:22:31 +01:00
DhammaCharts
19606ba63d add www. 2022-06-01 21:19:03 +01:00
DhammaCharts
1e237ef677 change baseURL 2022-06-01 20:15:44 +01:00
DhammaCharts
5a1fbc9374 Improve graph display, options and ability to have a global graph on the home page, local graphs on subpage. 2022-06-01 13:49:27 +01:00
Aiden Bai
a1293f820a
Prerender latex 2022-05-29 20:40:44 -07:00
Jacky Zhao
84c6e1efed
Merge pull request #138 from aidenybai/add-footer-config 2022-05-28 23:27:54 -07:00
Aiden Bai
8673a7bc3d
Add option to toggle footer 2022-05-28 22:52:18 -07:00
Jacky Zhao
775a1b2490
Merge pull request #137 from aidenybai/fix-non-spa-routing 2022-05-27 19:21:05 -07:00
Aiden Bai
006b74ec6f
Fix formatting 2022-05-27 18:45:42 -07:00
Aiden Bai
8aba612a00
Fix non-spa fallback 2022-05-27 18:42:01 -07:00
Jacky Zhao
cbc2bea413
Merge pull request #136 from aidenybai/custom-progress-bar-color 2022-05-27 18:32:49 -07:00
Aiden Bai
ae240ff82c
Remove redundant CSS rule 2022-05-27 18:31:36 -07:00
Jacky Zhao
ba586adc76
Merge pull request #135 from aidenybai/bump-million 2022-05-27 17:14:55 -07:00
Aiden Bai
159deabfe1
Bump to 1.9.6 2022-05-27 16:14:17 -07:00