alpha
Login
or
Join now
evan.jarrett.net
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Monorepo for Tangled — https://tangled.org
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
core
/
appview
/
pages
/
at
missing-pathescape
4 folders
5 files
Evan Jarrett
appview/pages/blob: fix links missing pathEscape
5mo ago
be4e2262
legal
appview/pages: add a brand page Also some misc. changes to page layouts. Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
10 months ago
markup
appview/markup: add mermaid diagram rendering support Add MermaidJS diagram rendering for markdown content (READMEs, issues, PRs) using goldmark-mermaid with client-side rendering. Mermaid fenced code blocks are transformed to <pre class="mermaid"> elements, which MermaidJS picks up and renders in the browser. Changes: - Add go.abhg.dev/goldmark/mermaid dependency with client-side render mode - Add mermaid extender before highlighting in goldmark pipeline - Allow "mermaid" class on <pre> elements through bluemonday sanitizer - Conditionally load MermaidJS from CDN only on pages with diagrams - Add basic mermaid container styling with dark mode support - Add tests verifying mermaid blocks produce correct HTML output Closes https://tangled.org/tangled.org/core/issues/424 Signed-off-by: Nate Spilman <nate.spilman@gmail.com> Signed-off-by: Seongmin Lee <git@boltless.me>
5 months ago
repoinfo
revert "appview/pages: seo improvements, sitemap, schemae and more" This reverts commit 8fb22cb34756cc2930bb780548d45bde56cdbe65. Signed-off-by: oppiliappan <me@oppi.li>
6 months ago
templates
appview/pages/blob: fix links missing pathEscape Signed-off-by: Evan Jarrett <evan@evanjarrett.com>
5 months ago
cache.go
appview/pages: rework caching mechanism instead of loading all templates at once and storing into a map, we now memoize the results of `parse`. the first call to `parse` will require calculation but subsequent calls will be cached. this is simpler to reason about because the new execution model requires us to parse differently for each "base" template that is being used: - for timeline, it is necessary to parse with layouts/base - for repo-index, it is necessary to parse with layouts/base and layouts/repobase in that order the previous approach to loading also had a latent bug: all layouts were loaded atop each other in alphabetical order (order of iteration over the filesystem), and therefore it was not possible to selectively parse and execute templates on a subset of layouts. Signed-off-by: oppiliappan <me@oppi.li>
11 months ago
funcmap.go
appview: new landing page Signed-off-by: oppiliappan <me@oppi.li>
5 months ago
funcmap_test.go
appview/pages: get avatar cid to bust cache Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>
7 months ago
htmx.go
appview: pages: Add HXRefresh helper function.
1 year ago
pages.go
appview/signup: redirect forms on home page to signup page Signed-off-by: oppiliappan <me@oppi.li>
5 months ago