kkga / ter Goto Github PK
View Code? Open in Web Editor NEWA tiny wiki-style site generator with Zettelkasten flavor.
Home Page: https://ter.kkga.me
License: MIT License
A tiny wiki-style site generator with Zettelkasten flavor.
Home Page: https://ter.kkga.me
License: MIT License
To avoid having duplicate titles in the feed.
For clean separation of concerns, it could be nice to decouple the content from the site generation code, in so we could just put .ter/
and docs/
subdirectories into a repository, and have that handled by the ter
CLI.
In a further step, one could also consider to decouple the presentation layer ("theme") from the site generator.
How could these separations achieved, and which good examples are known from Deno land, where this works well?
2022-02-22-page-title.md
: 2022-02-22
should be used for page date if no date
key is defined in frontmatter.
/feed.xml
, /blog/feed.xml
, etc
render and serve 404.md from content directory, if it exists
Either automatically read .ter/views/footer.eta
or add a config option like https://github.com/AnzenKodo/dblog#configuration
The page
displays as
in Signal. Which led me to the discovery of:
Line 71 in 33436ca
The syntax highlighting marks the redundant $
character in blue.
Is there a possibility for Ter to be translated to other languages? I can try to translate it to Portuguese, if at all possible.
This is an awesome project!
I am wondering whether it is possible to add Katex support.
After some research, I found out it may be done through changing the marker
renderer markedjs/marked#1538 (comment).
Now I am stuck on finding a katex binding on deno for translating const katex = require('katex')
.
I am not familiar with deno. Any help will be appreciated :)
If I name my folder in Vietnamese, I'd build two different folder . For example, "Việt Nam" would be "Viet-Nam" and the original name. However, the index web page will link to the url point at "Viet-Nam" folder while "Việt Nam" folder is where all content are built . Accessing url at "Việt Nam" return 404 even if that folder exist
Would be cool to have some syntax highlighting out of the box matching the whole theme.
When considering to visit a link, sometimes the mouse curser hovers above it for longer than one, one-and-a-half seconds.
As the consideration of the user continues, there could be a visual response that fades-in a page preview card.
This way the user might receive more useful information to decide, if it is worth visiting that page.
When running from the default Deno version installed by the setup-deno
action, the deploy action fails with:
error: The source code is invalid, as it does not match the expected hash in the lock file.
Specifier: https://esm.sh/[email protected]/jsx-runtime
Lock file: /home/runner/work/trg/trg/deno.lock
Error: Process completed with exit code 10.
as seen in
Pinning Deno in the workflow run to the latest available version, which was working locally, helped to mitigate the issue in my fork.
- name: Setup Deno
- uses: denoland/[email protected]
+ uses: denoland/setup-deno@v1
+ with:
+ deno-version: "1.34.3"
Reference:
e.g. hidden: true
in frontmatter. Lets you have unlisted pages that are not indexed.
Needs to render the pages, but remove from index lists.
Currently, pages are sorted by date. Can you add an option to set it to sort by page name?
Hello, is there any problem with the generation of the rss feed? It keeps showing my this: XML Parsing Error: mismatched tag. Expected: .
Could it be an error on my config?
The site (https://ter.deno.dev/) looks really good 😍.
Especially the font choices.
I was also thinking of making something similar to this, but since this one exists, I'll be using this instead. Thanks.
Clicking a link can sometimes make me leave the page, when I just wanted to explore the site.
Would it be possible to find a non-intrusive, conventional indicator for differentiating internal and external links?
I'm getting
wiki (main) » deno run -A --unstable https://deno.land/x/ter/main.ts ~/Sites/wiki
error: Uncaught SyntaxError: The requested module 'https://esm.sh/@twind/[email protected]/colors' does not provide an export named 'mauve'
mauve as neutral,
^
at <anonymous> (https://deno.land/x/[email protected]/deps.ts:69:3)
Hi!
Can you implement sitemap to this project? I'm not familiar with Deno so I don't know how.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.