summaryrefslogtreecommitdiff
path: root/layouts
AgeCommit message (Collapse)Author
2024-06-11Save link index in mapNicholas Johnson
This removes the need to recount.
2024-06-11Work around slices bug in Hugo v0.114.0 or newerNicholas Johnson
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
2024-05-27Add trailing forward slash for consistencyv1.3.2Nicholas Johnson
2024-05-26Remove extra css subdirectoryv1.3.1Nicholas Johnson
2024-05-20Create custom 404 page for HTMLv1.3.0Nicholas Johnson
In Gemini, the equivalent status code is 51. It does not return a response body, so no equivalent page was created for Gemini.
2024-05-20Fix Gemini incorrectly rendering (un)ordered listsNicholas Johnson
2024-05-02Give rationale for bold/italics codev1.2.5Nicholas Johnson
2024-05-02Improve bold/italics regexNicholas Johnson
2024-05-02Improve commentsNicholas Johnson
2024-05-02Correct heading regexNicholas Johnson
2024-05-02Don't match newlines in link regexNicholas Johnson
2024-02-04Fix end of comment delimiterv1.2.3Nicholas Johnson
The incorrect delimiter was commenting out subsequent regex rules, making it so they never got applied.
2024-02-04Add missing multiline regex option for ol'sNicholas Johnson
2024-01-01Add missing asterisk for unordered listsv1.2.2Nicholas Johnson
2023-12-31Convert Markdown's ol to gemtext's ulv1.2.0Nicholas Johnson
2023-12-31Add support for alternative heading syntaxv1.1.0Nicholas Johnson
2023-12-02Add titles to linksNicholas Johnson
2023-12-02Don't add rel="noreferrer" to non-web linksNicholas Johnson
2023-12-02Add referrerpolicy="noreferrer" to imagesNicholas Johnson
2023-12-02Lazy load inline imagesNicholas Johnson
2023-11-03Make layout spacing consistentv1.0.8Nicholas Johnson
2023-11-03Use superscripted reference numbers for linksNicholas Johnson
The implementation is ugly, but I couldn't find another way to accomplish this.
2023-10-15Convert Atom feed dates to UTCv1.0.7Nicholas Johnson
Atom feed dates reported as UTC were not necessarily UTC. The entry archetype converts from local to UTC by default, but the user may override that behavior.
2023-10-15Convert archetype dates to UTCNicholas Johnson
For privacy reasons, user time zones are not recorded at the moment they are created by an archetype. Without knowing the time zone offset, the true date is ambiguous. To correct this, all dates are converted to UTC.
2023-09-28Trick browsers into not requesting absent faviconv1.0.5Nicholas Johnson
2023-09-09Add brackets around link index numbersNicholas Johnson
2023-08-30Fix logo spacingv1.0.1Nicholas Johnson
2023-08-25Correctly handle absent journal entriesNicholas Johnson
2023-08-25Correctly handle absent navlinksNicholas Johnson
2023-08-25Simplify link reference printing logicNicholas Johnson
2023-08-25Simplify journal entry printing logicNicholas Johnson
2023-08-25Make copyright notice mandatoryNicholas Johnson
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.
2023-08-25Make logo requiredNicholas Johnson
Pages look ugly without a logo. This also makes templates simpler.
2023-08-25Fix Gemini taxonomy spacingNicholas Johnson
2023-08-25Simplify term entry printing logicNicholas Johnson
2023-08-25Fix Gemini term spacingNicholas Johnson
2023-08-25Fix spacing heading spacing for single.gmiNicholas Johnson
2023-08-25Fix single page Gemini metadata spacingNicholas Johnson
2023-08-25Make index variables in index.html mandatoryNicholas Johnson
The variables are mandatory in Gemini. HTML should mirror that.
2023-08-25Fix single.gmi reference spacingNicholas Johnson
2023-08-25Make single.html more readableNicholas Johnson
2023-08-25Fix </main> spacing in single.htmlNicholas Johnson
2023-08-25Fix index.gmi spacingNicholas Johnson
Index-related variables are made non-optional. This makes the code cleaner.
2023-08-25Fix Gemini footer spacingNicholas Johnson
2023-08-25Fix Gemini header spacingNicholas Johnson
2023-08-25chomp() user contentNicholas Johnson
User content may contain newlines at the end of files, which create problems for spacing in Gemini.
2023-08-25Remove old nicksphere referenceNicholas Johnson
2023-08-25Fix <article> spacingNicholas Johnson
2023-08-25Prefer right-aligned whitespace eliminationNicholas Johnson
2023-08-25Remove EOLs in embedded layoutsNicholas Johnson