feat: legacy import — packs, examples, lab, themes, docs, lineage
Import from agentic-semantic-web/ into restructured repo: - 7 packs (apache, caddy, flask, hugo, nginx, pandoc, python) - shared error pages (403-503) - 17 lab experiments (boilerplate, charts, misc) - 31 example pages (charts, components, content, layout, vault) - 2 themes (garden, trentuna stub) - 4 docs (llms.txt, vocabulary, philosophy, agent-directive) - lineage.md (Pico/Open Props/Charts.css history) - Hugo mounts for lab/ and examples/ All agentic.css references updated to asw.css. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e9895cf90d
commit
86464f3e21
100 changed files with 14700 additions and 4 deletions
28
packs/hugo/layouts/_default/baseof.html
Normal file
28
packs/hugo/layouts/_default/baseof.html
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.Language.LanguageCode | default "en" }}">
|
||||
<head>
|
||||
{{- partial "head.html" . -}}
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<a href="{{ .Site.BaseURL }}"><strong>{{ .Site.Title }}</strong></a>
|
||||
{{- range .Site.Menus.main }}
|
||||
<a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{- end }}
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
{{- block "main" . }}{{- end }}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<small>
|
||||
<a href="{{ "/" | relURL }}">{{ .Site.Title }}</a>
|
||||
· {{ now.Year }}
|
||||
{{- with .Site.Params.description }} · {{ . }}{{- end }}
|
||||
</small>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
39
packs/hugo/layouts/_default/list.html
Normal file
39
packs/hugo/layouts/_default/list.html
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
{{ define "main" }}
|
||||
<section>
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{- with .Description }}<p>{{ . }}</p>{{- end }}
|
||||
</header>
|
||||
|
||||
{{- if .IsHome }}
|
||||
{{- partial "tag-nav.html" . }}
|
||||
{{- end }}
|
||||
|
||||
<section data-layout="grid">
|
||||
{{- range .Pages }}
|
||||
<article>
|
||||
<header>
|
||||
<h3>
|
||||
<a href="{{ .RelPermalink }}" data-wikilink>{{ .Title }}</a>
|
||||
</h3>
|
||||
{{- if not .Date.IsZero }}
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "Jan 2, 2006" }}</time>
|
||||
{{- end }}
|
||||
</header>
|
||||
|
||||
{{- with .Summary }}
|
||||
<p>{{ . }}</p>
|
||||
{{- end }}
|
||||
|
||||
{{- with .GetTerms "tags" }}
|
||||
<footer>
|
||||
{{- range . }}
|
||||
<a href="{{ .Permalink }}" data-tag="{{ .Name }}">{{ .Name }}</a>
|
||||
{{- end }}
|
||||
</footer>
|
||||
{{- end }}
|
||||
</article>
|
||||
{{- end }}
|
||||
</section>
|
||||
</section>
|
||||
{{ end }}
|
||||
36
packs/hugo/layouts/_default/single.html
Normal file
36
packs/hugo/layouts/_default/single.html
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{{ define "main" }}
|
||||
<article>
|
||||
<header>
|
||||
<h1>{{ .Title }}</h1>
|
||||
|
||||
{{- if not .Date.IsZero }}
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Format "January 2, 2006" }}</time>
|
||||
{{- end }}
|
||||
|
||||
{{- with .Description }}
|
||||
<p>{{ . }}</p>
|
||||
{{- end }}
|
||||
|
||||
{{- with .GetTerms "tags" }}
|
||||
<nav data-role="tag-cloud" aria-label="Tags">
|
||||
{{- range . }}
|
||||
<a href="{{ .Permalink }}" data-tag="{{ .Name }}">{{ .Name }}</a>
|
||||
{{- end }}
|
||||
</nav>
|
||||
{{- end }}
|
||||
</header>
|
||||
|
||||
{{ .Content }}
|
||||
|
||||
{{- if .PrevInSection }}
|
||||
<footer>
|
||||
{{- with .PrevInSection }}
|
||||
<a href="{{ .RelPermalink }}" rel="prev" data-wikilink>← {{ .Title }}</a>
|
||||
{{- end }}
|
||||
{{- with .NextInSection }}
|
||||
<a href="{{ .RelPermalink }}" rel="next" data-wikilink>{{ .Title }} →</a>
|
||||
{{- end }}
|
||||
</footer>
|
||||
{{- end }}
|
||||
</article>
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue