153 Commits (b6a89e63700e27534df2226d2b8bd6063a03cf26)

Author SHA1 Message Date
Óscar f8cce3001c
feat: introduce skins to customise the theme (#105) 2 years ago
welpo 7ccd71736e
feat: add 2 interactive image shortcodes
- `image_hover` changes image on mouse hover.

- `image_toggler` swaps image on click.
2 years ago
welpo e3ee95d718
💄 style: redesign block quotes 2 years ago
welpo 521a05b97f
📝 docs: improve Code tags example 2 years ago
welpo edcfa359ef
feat: global/individual toggle for KaTeX and copy button
Allow KaTeX and copy button to be enabled globally or for individual posts.
2 years ago
Óscar 5cdc18e688
feat: add backlinks to footnotes (#101) 2 years ago
welpo a1ceb74785
💄 style: improve footnotes and `<hr>` styling
Fixes multiple footnotes having a horizontal line above each.
2 years ago
welpo 6b00aae20e
📝 docs: add Isso comments mention 2 years ago
welpo a201c05823
📝 docs: mention support for Isso comments 2 years ago
welpo 9a98789922
feat: add support for Isso comments 2 years ago
welpo b6f7f802b4
💄 docs: add code type to codeblock 2 years ago
welpo f859113c81
📝 docs: add Hyvor Talk comments mention 2 years ago
welpo 5d99da2cd0
📝 docs: remove `updated` date from examples 2 years ago
welpo f5e9ad8c8a
✏️ fix: replace "y" with "i" 2 years ago
welpo 31fee59eb2
📝 docs: update for Hyvor Talk support 2 years ago
welpo 7924e8206c
feat: add support for Hyvor Talk comments 2 years ago
welpo 5214dd3560
📝 docs: remove first header 2 years ago
welpo 05a6d15455
feat: add quick navigation buttons
💄 style(dark): change inline code background

♻️ refactor: simplify comment system logic
2 years ago
welpo 5993e950c7
feat: add support for giscus and utterances 2 years ago
welpo 19d120019b
feat: add support for giscus & utterances comments 2 years ago
welpo 33cfe77344
📝 docs: add code language to bash code blocks 2 years ago
welpo dcbb4c5290
📝 docs: remove `updated` date from example 2 years ago
welpo 1cd34b528e
📝 docs: improve KaTeX documentation 2 years ago
welpo 139ca042f4
📝 docs: set proper `updated` date 2 years ago
welpo 2dec139e41
feat: add copy button to code blocks 2 years ago
welpo fa5e21feea
💬 docs: translate 'Usage' header 2 years ago
welpo fd50204e32
feat: add full-width image option to shortcodes
Closes #85
2 years ago
welpo 41c44d3d84
📝 docs: remove atom feed filter in script 2 years ago
welpo 8b7f53e3ca
📝 docs: remove unnecessary date 2 years ago
welpo c7a411e157
📝 docs: add quotation marks to quotes 2 years ago
welpo ab29511d5e
feat: add multilingual quote shortcode 2 years ago
welpo f657010be4
️ docs: revert script changes 2 years ago
welpo 44980f1418
📝 docs: include layout features in font subset 2 years ago
welpo fa9229377d
feat: add multi-language support 2 years ago
welpo e316dc25ab
📝 docs: rephrase last sentence 2 years ago
welpo 47caa99e0c
📝 docs: rephrase description 2 years ago
welpo 3389638b06
✏️ docs: close codeblock 2 years ago
welpo 60680fad37
📝 docs: update URL 2 years ago
welpo 358e78d25a
📝 fix: remove extra backtick 2 years ago
welpo a5981e6fdd
🐛 fix: remove flashing from header text (Firefox)
Loads a subset of the sans-serif font for the header.

Fixes #75
2 years ago
welpo 1efb0330e3
🐛 fix: remove flash when navigating in dark-mode
The `initialize-theme.js` script takes care of the following:

  1. If there is a stored theme value in the localStorage, set the theme
 based on that value.
  2. If there is no stored theme value, check the  user's system
  preference (dark or light) and set the theme accordingly.

The new `main.js` takes care of the actual theme switching and listening
to system preference changes (if the user has not manually set a theme).

Now the icons are stored in CSS, and are set according to the current
theme. This allows for having different icons that dynamically switch.

Additionally, wraps social and navigation elements in ul/li.

Fixes #76
2 years ago
welpo 79f8559a3a
📝 docs: stylise KaTeX 2 years ago
welpo e422c405cb
📝 docs: lowercase 'tabi' 2 years ago
welpo 7543f03e12
📝 docs: mention perfect Lighthouse score 2 years ago
welpo b841969a8f
feat(shortcodes): update image path retrieval and dimensions in shortcodes
- Use `get_url` function to generate correct image paths
- Retrieve image dimensions with `get_image_metadata` function
- Update shortcodes: dimmable_image, dual_theme_image, and invertible_image

These changes reduce layout shifts.
2 years ago
welpo a2ea8c3f88
📝 docs: update projects 2 years ago
welpo b5bc0d44db
📝 docs: update description 2 years ago
welpo dcf1af5ec5
🐛 fix: remove double equals in updated field 2 years ago
welpo f9335b3fa4
feat: add KaTeX support 2 years ago
welpo 4d18be3a83
📝 fix: clarify requirements for A+ Observatory score 2 years ago
welpo 65a3fcebba
📝 fix: clarify requirements for A+ Observatory score 2 years ago
welpo 2a681f005f
📝 docs: replace "last lines" to "last directive" 2 years ago
welpo bfda1df9f3
📝 docs: use hierarchical headings 2 years ago
welpo 27dc4b9a96
🔥 refactor: remove unused `section_title` variable 2 years ago
welpo 7532e0ab12
feat: add anchor header links on hover
Closes #64
2 years ago
welpo 64449d5d9f
🚚 refactor: move blog posts `blog` section 2 years ago
welpo de46a24d37
♻️ refactor: rename extra.desc to extra.header 2 years ago
welpo 9b680b0da7
📝 docs: set consistent paths for imgs 2 years ago
welpo bd72fb84be
🔥 refactor: remove extra last_updated date 2 years ago
welpo abfe2f9dc8
✏️ fix: update year to current year 2 years ago
welpo 31ea93bbbe
♻️ refactor: use native `updated` field 2 years ago
welpo ed47f2580b
feat: add 'Last updated' extra tag 2 years ago
welpo eb60527bfb
📝 docs: change 'Usage' section styling 2 years ago
welpo b3dc5396b4
feat: add dual image support for switching themes 2 years ago
welpo 2c4b64481c
📝 docs: add closing shortcode tag to references() 2 years ago
welpo 4e4021da5d
feat: format references with custom shortcode
Uses hanging indent for a References section.
2 years ago
welpo 69d4985fc5
📝 docs: replace `test` tag with `showcase` 2 years ago
welpo 73a563872e
✏️ docs: fix typos 2 years ago
welpo d7caa7af5f
feat: allow customizable secure headers (CSP) 2 years ago
welpo f4cd6e6a92
💄 style: update footnote styling 2 years ago
welpo 2f07137cca
📝 docs: use markdown to showcase theme's capabilities 2 years ago
welpo 83e211a18d
📝 docs: js size has grown :( 2 years ago
welpo 799b31d403
✏️ fix: minor typo 2 years ago
welpo bd8dd87cd5
feat: add dimmable-image shortcode for dark theme
Reduces contrast and brightness of images when the dark theme is active.
Useful when invertable-image is not appropriate (photographs, paintings,
colour drawings…)
2 years ago
welpo 2b861ea940
📝 style: mention all table colours change, not just header 2 years ago
welpo 7a69759112
🍱 improvement: use webp instead of png 2 years ago
welpo f555d34207
🐛 fix: set main image path relative to base_url 2 years ago
welpo 394479d777
📝 style: showcase tables & invertable images 2 years ago
welpo f2cd044096
💄 style: set tab to 4 spaces; remove newlines 2 years ago
welpo f6cd7d3cf2
🍱 docs: change the codeblock example 2 years ago
welpo d412eae7df
💄 style: set Cascadia Code as code font
Modifies the markdown file to showcase the font's ligatures.
2 years ago
welpo 9f412205b3
💄 style: move quote author to quote block 2 years ago
welpo 2f4695dd0b
feat: showcase invertable image 2 years ago
welpo 6783ff6e49
🚚 style: move main image to static path 2 years ago
welpo 067bc6ba25
🐛 fix: set absolute path to main image
Otherwise it would fail to load when changing page.
2 years ago
welpo fd7a9da61c
🍱 style: increase contrast and saturation 2 years ago
welpo c71065d756
🍱 style: smaller home image; different circle crop 2 years ago
welpo e2edab51b7
💄 style: set local main image; no border-radius 2 years ago
welpo f1317e398b
🍱 style: add local main image
Created with app Dollify.
2 years ago
welpo 48d10f59a5
💄 style: add link to Zola's site
Just to show it's possible to use markdown on homepage.
2 years ago
welpo fcc7a31270
💄 style: change posts' dates to show off Archive 2 years ago
Óscar 0068912163
Merge branch 'main' into fix/style 2 years ago
welpo 31f70fffaf 💬 fix: capitalise Archive title 2 years ago
serginogal 3434cbc926 feat: add archive screen 2 years ago
Sergi Nogal 40017f069f
Merge pull request #14 from welpo/feature/add-md-support-to-index
Feature/add md support to index
2 years ago
serginogal c29697c421 💄 feat: change markdown description style 2 years ago
welpo 32d4a9358c feat: set Table of Contents per page, not globally 2 years ago
welpo cc93f9fb7f ✏️ fix: use Sentence case in Projects title 2 years ago
welpo 2cef2e5502 🐛 fix: add end-of-file newline 2 years ago
welpo 32ca1d3e9e 🍱 fix: update theme screenshot in /projects 2 years ago