aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default
Commit message (Collapse)AuthorAge
* Move taxonomy and term layouts to layouts/_defaultNicholas Johnson3 days
| | | | | | | | | | | | | | | | | | | Hugo's template system was reimplemented in Hugo version 0.146.0. "We [the Hugo developers] have aimed to maintain as much backward compatibility as possible by mapping "old to new," but some reported breakages have occurred." Reference: https://gohugo.io/templates/new-templatesystem-overview/ The "mapping "old to new,"" is not yet documented, but moving the taxonomy and term layouts to layouts/_default seems to be sufficient to properly generate this theme on Hugo versions later than 0.146.0. To retain backward compatibility with older Hugo versions, the other recommended changes to the layouts directory are not made. Reference: https://gohugo.io/templates/new-templatesystem-overview/#changes-to-the-layouts-folder
* Add non-breaking spaces to improve text flowNicholas Johnson2025-02-06
| | | | | | | | | The spaces directly following emojis must be non-breaking because having emojis alone on their own line is ugly and visually confusing. The spaces within pageinfo "segments" must be non-breaking because splitting dates and read times across multiple lines is ugly and visually confusing.
* Map ref numbers to their superscripts using dictNicholas Johnson2024-11-22
| | | | | This removes the extra iterations over reference numbers caused by using the replace function.
* Change CSS styling for external linksNicholas Johnson2024-11-08
|
* Add "external" to rel attribute for external linksNicholas Johnson2024-11-08
|
* Remove incorrect safeHTML callNicholas Johnson2024-11-08
|
* Stop safeHTML overuse in emojis for readabilityNicholas Johnson2024-11-08
|
* Replace replaceRE with TrimSuffix for readabilityNicholas Johnson2024-11-08
|
* Set Gemini protocolNicholas Johnson2024-11-08
| | | | | This avoids littering the gemtext templates with regex to change the protocol.
* Disable HTML renderer for Gemini output formatNicholas Johnson2024-11-07
| | | | This avoids littering the gemtext templates with "safeHTML".
* Convert remaining tabs to spacesNicholas Johnson2024-11-07
|
* Fix bug in bold/italics regexNicholas Johnson2024-08-16
| | | | Bold/italics regex must not match greedily.
* Remove accidentally-introduced extra newlineNicholas Johnson2024-07-04
|
* Revert "Don't add rel="noreferrer" to non-web links"2024.06.28Nicholas Johnson2024-06-28
| | | | | | | | This reverts commit f34e453196b85e756b16f5ff668d15c2462948e6778657907ff52821d360309b. Adding rel="noreferrer" to non-http-prefixed links was believed to be a noop, but this overlooks relative links. For privacy reasons, relative links must not send referrer headers.
* Correct reference index counting2024.06.18Nicholas Johnson2024-06-18
|
* Save link index in mapNicholas Johnson2024-06-11
| | | | This removes the need to recount.
* Work around slices bug in Hugo v0.114.0 or newerNicholas Johnson2024-06-11
| | | | | | | I used a slice of maps instead of a slice of slices, as recommended in the Hugo issue tracking the bug: https://github.com/gohugoio/hugo/issues/11131#issuecomment-1601769489
* Fix Gemini incorrectly rendering (un)ordered listsNicholas Johnson2024-05-20
|
* Give rationale for bold/italics code2024.05.02Nicholas Johnson2024-05-02
|
* Improve bold/italics regexNicholas Johnson2024-05-02
|
* Improve commentsNicholas Johnson2024-05-02
|
* Correct heading regexNicholas Johnson2024-05-02
|
* Don't match newlines in link regexNicholas Johnson2024-05-02
|
* Fix end of comment delimiter2024.02.04Nicholas Johnson2024-02-04
| | | | | The incorrect delimiter was commenting out subsequent regex rules, making it so they never got applied.
* Add missing multiline regex option for ol'sNicholas Johnson2024-02-04
|
* Add missing asterisk for unordered lists2024.01.01.1Nicholas Johnson2024-01-01
|
* Convert Markdown's ol to gemtext's ul2023.12.31Nicholas Johnson2023-12-31
|
* Add support for alternative heading syntax2023.12.29Nicholas Johnson2023-12-31
|
* Add titles to linksNicholas Johnson2023-12-02
|
* Don't add rel="noreferrer" to non-web linksNicholas Johnson2023-12-02
|
* Add referrerpolicy="noreferrer" to imagesNicholas Johnson2023-12-02
|
* Lazy load inline imagesNicholas Johnson2023-12-02
|
* Make layout spacing consistent2023.11.03Nicholas Johnson2023-11-03
|
* Use superscripted reference numbers for linksNicholas Johnson2023-11-03
| | | | | The implementation is ugly, but I couldn't find another way to accomplish this.
* Add brackets around link index numbersNicholas Johnson2023-09-09
|
* Simplify link reference printing logicNicholas Johnson2023-08-25
|
* Make copyright notice mandatoryNicholas Johnson2023-08-25
| | | | | | Requiring a copyright notice forces the user to make clear to readers what their rights are with the capsule/site content. This also makes templates simpler.
* Fix spacing heading spacing for single.gmiNicholas Johnson2023-08-25
|
* Fix single page Gemini metadata spacingNicholas Johnson2023-08-25
|
* Fix single.gmi reference spacingNicholas Johnson2023-08-25
|
* Make single.html more readableNicholas Johnson2023-08-25
|
* Fix </main> spacing in single.htmlNicholas Johnson2023-08-25
|
* Fix Gemini footer spacingNicholas Johnson2023-08-25
|
* Fix Gemini header spacingNicholas Johnson2023-08-25
|
* chomp() user contentNicholas Johnson2023-08-25
| | | | | User content may contain newlines at the end of files, which create problems for spacing in Gemini.
* Prefer right-aligned whitespace eliminationNicholas Johnson2023-08-25
|
* Remove EOLs in embedded layoutsNicholas Johnson2023-08-25
|
* Remove non-breakable spacesNicholas Johnson2023-08-25
|
* Rename links var to referencesNicholas Johnson2023-08-02
|
* Add multilingual support for single pagesNicholas Johnson2023-08-01
|