Commit Graph

52 Commits

Author SHA1 Message Date
Oliver Booth cf615e1e81
fix: fix already-formatted <mark>
no really, I hate this.
2023-08-10 22:48:32 +01:00
Oliver Booth 086a8a665c
feat: capture ctrl+u for git repo redirect 2023-08-10 22:48:08 +01:00
Oliver Booth cf2a5c2ffb
feat: add kb shortcut detection 2023-08-10 22:47:28 +01:00
Oliver Booth e939174040
refactor: delegate timestamp render to UI class 2023-08-10 16:21:35 +01:00
Oliver Booth b4c991e44f
docs: add @param to UI methods 2023-08-10 16:18:52 +01:00
Oliver Booth ab5277bacb
refactor: delegate card creation to UI class 2023-08-10 16:18:24 +01:00
Oliver Booth 5bb6463a4b
fix: use manual Prism highlighting 2023-08-10 16:16:29 +01:00
Oliver Booth 4244f9f014
fix: add disqus comment counter after posts have loaded 2023-08-10 16:14:48 +01:00
Oliver Booth 506347ce9c
feat: add pre-formatted date "dddd, d MMMM yyyy HH:mm" 2023-08-10 15:32:34 +01:00
Oliver Booth d67955f28a
refactor: allow localised element query 2023-08-10 15:31:51 +01:00
Oliver Booth 94a1ee00e1
refactor: render bootstrap tooltips from UI class 2023-08-10 15:31:17 +01:00
Oliver Booth 28f310e315
feat: render TeX from UI class 2023-08-10 15:28:53 +01:00
Oliver Booth f3ad04ff1f
feat: add disqus comment count injection to asp page 2023-08-10 15:15:36 +01:00
Oliver Booth 42af5ebcdd
refactor: delegate refresh to UI class 2023-08-10 15:15:06 +01:00
Oliver Booth 522caa6add
refactor: remove now-redundant @ts-ignore 2023-08-10 15:13:20 +01:00
Oliver Booth 217c1d660e
feat: use Handlebars to render template excerpt card 2023-08-10 14:36:51 +01:00
Oliver Booth 3868fcbaa8
feat: add pre-humanized timestamp to api schema 2023-08-10 14:34:52 +01:00
Oliver Booth 9ef9e6ca2c
fix: amend cb331ff54f 2023-08-10 14:32:56 +01:00
Oliver Booth 085bdafda2
feat: move some UI stuff to UI class 2023-08-10 14:19:11 +01:00
Oliver Booth f989b4c02f
refactor: use readonly fields in Author 2023-08-10 14:18:29 +01:00
Oliver Booth cb331ff54f
refactor: use - not _ for id word splitter 2023-08-10 14:08:22 +01:00
Oliver Booth 20656e74e8
refactor: remove redundant function 2023-08-10 04:57:17 +01:00
Oliver Booth 95dd7e51e5
perf: add dynamic fetch of blog posts to speed up page load 2023-08-10 04:56:12 +01:00
Oliver Booth e64d8b47b8
feat: add support for Discord-style timestamps 2023-08-10 01:49:09 +01:00
Oliver Booth 7279c448da
fix: don't display line numbers for one-line blocks 2023-08-10 00:29:51 +01:00
Oliver Booth 4e032c3aa5
refactor: render katex in delegate. window.onload is redundant 2023-08-09 23:20:35 +01:00
Oliver Booth e3b40a94c0
style: add abbr styling 2023-08-09 23:16:52 +01:00
Oliver Booth 290d261771
style: use lighter background to reduce ghost images in eyesight 2023-08-09 23:16:34 +01:00
Oliver Booth 42d1115df4
style: nest article blockquote 2023-08-09 23:14:54 +01:00
Oliver Booth 2d64bccc50
feat: enable bs tooltips for all elements with title attr 2023-08-08 21:05:09 +01:00
Oliver Booth 0120ac6dee
style: remove padding from :last-child of alert 2023-08-08 21:04:50 +01:00
Oliver Booth 3c62a42d32
fix: revert markdig escape for <mark> tags 2023-08-08 02:11:12 +01:00
Oliver Booth ea656f6513
feat: use bs-tooltip for img title 2023-08-08 02:10:42 +01:00
Oliver Booth 6583a8eba6
feat: add line numbers to prism blocks 2023-08-08 02:10:17 +01:00
Oliver Booth 204269396e
feat: use KaTeX to render math exprs 2023-08-08 02:08:50 +01:00
Oliver Booth 2df24a99e7
feat: add bs tooltips 2023-08-08 02:08:18 +01:00
Oliver Booth 79a45643cb
fix: remove incorrect background colour for codeblocks 2023-08-08 01:29:37 +01:00
Oliver Booth 80e0f04e93
style: add codeblock marking 2023-08-08 01:28:26 +01:00
Oliver Booth 852df0acf2
style: remove css line counter 2023-08-08 01:28:02 +01:00
Oliver Booth 6b864d5ab3
style: scale blog card on hover 2023-08-08 01:26:49 +01:00
Oliver Booth 8f345e493a
style: add rounded author pfp 2023-08-08 01:26:33 +01:00
Oliver Booth 3ec44a59b4
style: center non-text article elements 2023-08-08 01:26:24 +01:00
Oliver Booth 5b524337ca
style: add blockquote styling 2023-08-08 01:23:42 +01:00
Oliver Booth 81cd1dcf1d
style: remove hljs selectors 2023-08-08 01:23:02 +01:00
Oliver Booth 8768a90d48
fix: force disqus to use dark theme 2023-08-08 01:21:15 +01:00
Oliver Booth c62a939f2e
style: max-width:700px for .container 2023-08-08 01:19:54 +01:00
Oliver Booth 1377ed012c
feat: add prism lib assets 2023-08-08 01:19:38 +01:00
Oliver Booth b9e7e938ba
refactor: remove references to hljs 2023-08-08 01:17:23 +01:00
Oliver Booth 2aa218d105
feat: add source image assets 2023-08-06 16:05:44 +01:00
Oliver Booth ba8e186cb5
style: don't trim padding for formatted pre code 2023-08-06 15:56:38 +01:00