summaryrefslogtreecommitdiff
path: root/layouts
AgeCommit message (Collapse)Author
2023-01-24Rewrite Gemini chunk and link parsing logicv0.3.0Nicholas Johnson
Improved the chunk-finding regex and added safeguards to prevent unintended behavior. Chunk rendering logic had a bug. If the pre-formatted text was identical to the regular text, it would be wrongly overwritten. To resolve this, the find-and-replace-style logic was removed. The new logic splits chunks into parts, renders them, then reassembles them in in order.
2023-01-23Fix italics/bold removal regex for Geminiv0.2.1Nicholas Johnson
2023-01-22Render files in chunks to ignore preformatted textv0.2.0Nicholas Johnson
2023-01-22Use (?m) flag instead of replacing \nNicholas Johnson
2023-01-22Add indentation for readabilityNicholas Johnson
2023-01-22Improve italics/bold text parsingNicholas Johnson
2023-01-21Simplify Gemini single page template link parsingv0.1.1Nicholas Johnson
2023-01-21Fix typoNicholas Johnson
2023-01-21Don't break space between emoji and link textNicholas Johnson
2023-01-21Fix newline after linksNicholas Johnson
2023-01-21Only print links header when there are linksNicholas Johnson
2023-01-21Implement Gemini template for inline web linksNicholas Johnson
2022-12-08Fix Gemini's link emojiNicholas Johnson
2022-12-08Replace emojis with emoji codesNicholas Johnson
2022-12-08Simplify copyright noticeNicholas Johnson
2022-12-08Make logo optionalNicholas Johnson
2022-12-08Don't assume contentDir is the defaultNicholas Johnson
2022-12-08Clarify page variableNicholas Johnson
2022-12-08Complete overhaul of the CSSNicholas Johnson
I made it as BEM-compliant as I could. Making it fully BEM-compliant is impossible since Hugo doesn't have HTML render hooks for certain tags.
2022-12-06Show page info by default on entries onlyNicholas Johnson
2022-11-10Replace emojis with the emojify processorNicholas Johnson
This increases code accessibility.
2022-11-09Remove Python scriptsNicholas Johnson
Using Hugo's configDir is more elegant. css/ was moved to assets so it isn't published when processing Gemini. Files in static/ are always published. Files in assets/ are only published when invoked in a template.
2022-11-09Add .txt extension to logo fileNicholas Johnson
2022-09-16Conditionally add page info to top of pageNicholas Johnson
2022-09-07Simplify URL in single.gmiNicholas Johnson
2022-09-06Allow link emojis to be turned off per-pageNicholas Johnson
2022-09-06Add missing link emoji for GeminiNicholas Johnson
2022-09-04Add more emojis to homepageNicholas Johnson
2022-09-03Give all pages an h1 heading based on their titleNicholas Johnson
2022-09-03Remove redundant regexNicholas Johnson
2022-09-03Flatten headings 4 through 6 for GeminiNicholas Johnson
The CSS styling reflects that the headings are flattened as well.
2022-09-03Fix spacingNicholas Johnson
2022-09-03Add link emoji to give links some styleNicholas Johnson
2022-08-27Replace site config var with local file templateNicholas Johnson
2022-08-07Add line break between "return to homepage" button and contentNicholas Johnson
2022-08-07Fix link conversionNicholas Johnson
2022-08-07Revert "Vanish HTML line breaks"Nicholas Johnson
This reverts commit 08712197aa459823cdb8c8dd06098133b2810a6f. For now, don't try to parse HTML tags with RegEx.
2022-08-07Fix extra header tag line that was accidentally addedNicholas Johnson
2022-08-07Vanish HTML line breaksNicholas Johnson
2022-08-07Make Gemini properly recognize Markdown's unordered lists that startNicholas Johnson
with '-'
2022-08-07Change return to homepage link from class to idNicholas Johnson
2022-08-07Space out nav links for mobile devicesNicholas Johnson
2022-08-06Fix logo overflowNicholas Johnson
2022-08-04Remove extra newlines from HTML outputNicholas Johnson
2022-08-04Adjust template spacing againNicholas Johnson
2022-08-04Adjust template spacingNicholas Johnson
2022-08-04Replace <content> tag with proper <main> tag and fix unintended tagNicholas Johnson
nesting
2022-08-04Set <html lang="en"> to improve screen reader compatibilityNicholas Johnson
2022-08-03Remove italic and bold Markdown from Gemini capsuleNicholas Johnson
Only removes asterisks, not underscores.
2022-08-01Don't HTML escape Gemini templatesNicholas Johnson