Commit Graph

130 Commits

Author SHA1 Message Date
Jacky Zhao
96fd6a5d1e feat: image scaling (closes #131) 2022-06-29 17:34:05 -07:00
Jacky Zhao
37bd26bc86 fix: anchor formatting (closes #141) 2022-06-29 17:17:53 -07:00
Jacky Zhao
0a744d4451 fix: prefix images with base url for non-root quartz 2022-06-29 16:15:40 -07:00
Geoffrey Garrett
87e01d32a0 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
e42fd64f86 feat(layouts/partials/head.html): Adds general favicon support with dict and string input format 2022-06-27 22:04:32 +02:00
DhammaCharts
32354d4d9d minor adjustment 2022-06-06 16:48:16 +01:00
DhammaCharts
dcbce2bece Update layouts/partials/head.html
Co-authored-by: Jacky Zhao <j.zhao2k19@gmail.com>
2022-06-06 16:42:53 +01:00
DhammaCharts
ca6a6f67fa Merge branch 'hugo' into hugo 2022-06-06 12:56:47 +01:00
DhammaCharts
e9d9a6cfb9 change to object destructuring for drawGraph() arguments 2022-06-02 08:16:02 +01:00
DhammaCharts
2726835ea0 remove unnecessary ternary 2022-06-02 07:49:09 +01:00
DhammaCharts
47dae8a6d4 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
4c291a7d87 Prerender latex 2022-05-29 20:40:44 -07:00
Aiden Bai
fcfb6bf008 Add option to toggle footer 2022-05-28 22:52:18 -07:00
Aiden Bai
4eaa753e32 Fix formatting 2022-05-27 18:45:42 -07:00
Aiden Bai
ed17d678f6 Fix non-spa fallback 2022-05-27 18:42:01 -07:00
Aiden Bai
c1b8d1965b Add prefetch to graph 2022-05-27 08:40:00 -07:00
Jacky Zhao
0e454790e9 feat: recent posts section/partial 2022-05-23 22:25:13 -07:00
Jacky Zhao
b719568b2c fix: js not executing if spa disabled 2022-05-20 16:50:56 -04:00
Jacky Zhao
dd6440e153 fix: clean wikilinks and render latex in popover 2022-05-05 20:30:55 -04:00
Jacky Zhao
b61392bea6 fix: merge conf 2022-05-05 01:03:09 -04:00
Jacky Zhao
81f30fea4e feat: contextual backlinks (closes #106) 2022-05-05 00:58:50 -04:00
Aiden Bai
15f4fe4306 Fix latex 2022-05-04 08:10:59 -07:00
Aiden Bai
b5bf2152ac Support active node with other data at end of url 2022-05-03 10:38:41 -07:00
Aiden Bai
00dfceceac Merge 2022-05-03 10:18:41 -07:00
Aiden Bai
b218ce4c56 Rename API and generalize router API 2022-05-03 10:16:09 -07:00
Aiden Bai
3eb7297eaf Add future note about init function 2022-05-03 09:34:27 -07:00
Aiden Bai 白宇彤
fb867fedcf Merge branch 'hugo' into fix-popover 2022-05-03 09:33:00 -07:00
Aiden Bai
018c55bd99 Remove unnecessary 'url' argument in graph.html 2022-05-03 09:22:51 -07:00
Aiden Bai
322643335b Remove unnecessary 'url' argument in graph.html 2022-05-03 09:21:44 -07:00
Aiden Bai
8d105ce68f Remove unnecessary 'url' param in drawGraph 2022-05-03 09:20:01 -07:00
Aiden Bai
4525576341 Fix popover 2022-05-03 08:47:42 -07:00
Jacky Zhao
b78c02c6f3 Merge branch 'hugo' of https://github.com/jackyzha0/quartz into hugo 2022-05-03 10:44:56 -04:00
Jacky Zhao
516eeca853 cfg: make SPA optional 2022-05-03 10:43:22 -04:00
benbohmer
c9af35742b fix: keep / at end of URL to avoid redirects
Removed strings.TrimRight "/" in line 10 to keep the trailing slash at the end of URLs in regular links. This avoids having every single internal link being a 301 redirect.
2022-05-03 09:10:45 +02:00
Aiden Bai
81f9e295e4 Fix clarification comment 2022-05-02 09:10:40 -07:00
Aiden Bai
17b3039d64 Expand template 2022-05-02 09:05:02 -07:00
Aiden Bai
3f60ab4bbf Add clarification comments 2022-05-02 09:04:36 -07:00
Aiden Bai
b4675a9282 Add router 2022-05-01 22:06:33 -07:00
Jacky Zhao
5ef8a0c26f feat: copyable header anchors (fixes #86) 2022-04-30 13:10:12 -07:00
Jacky Zhao
5451e16dd8 fix: append trailing slash, fixes #111 2022-04-28 10:48:31 -07:00
Jacky Zhao
b3e699bbf6 fix: missing whitespace chomp in link render hook 2022-04-05 18:07:40 -07:00
Jacky Zhao
396efaadaa fix: wikilink patch not applying to transformed text like apostrophes 2022-04-05 14:14:19 -07:00
Jacky Zhao
23ecd06eef fix: wikilink image relURL for images with spaces 2022-04-05 14:08:36 -07:00
Jacky Zhao
cc9050b284 fix: wikilink-like text in code fences #95, #97 2022-04-05 13:47:24 -07:00
Jacky Zhao
d07d6ceec1 feat: wikilink img support 2022-04-05 12:47:28 -07:00
Jacky Zhao
3bcfa8936a feat: hide toc for short notes 2022-04-04 23:25:24 -07:00
meleu
864048f360 link to home goes to baseURL 2022-04-04 20:15:40 -03:00
meleu
89b9abc04e Merge branch 'jackyzha0:hugo' into patch-2 2022-04-03 22:14:12 -03:00
meleu
fc342fe8a3 add a collapsible ToC 2022-04-03 22:12:55 -03:00
Jacky Zhao
76c695af0e Merge pull request #88 from meleu/patch-2 2022-04-03 17:57:46 -07:00