Something went wrong. Try again.
Monorepo for Tangled — https://tangled.org forked from tangled.org/core
Something went wrong. Try again.
HTML
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" lang="$lang$" xml:lang="$lang$"$if(dir)$ dir="$dir$"$endif$> <head> <meta charset="utf-8" /> <meta name="generator" content="pandoc" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> $for(author-meta)$ <meta name="author" content="$author-meta$" /> $endfor$
$if(date-meta)$ <meta name="dcterms.date" content="$date-meta$" /> $endif$
$if(keywords)$ <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> $endif$
$if(description-meta)$ <meta name="description" content="$description-meta$" /> $endif$
<title>$pagetitle$ - Tangled docs</title>
<style> $styles.css()$ </style>
$for(css)$ <link rel="stylesheet" href="$css$" /> $endfor$
$for(header-includes)$ $header-includes$ $endfor$
<link rel="preload" href="/static/fonts/InterVariable.woff2" as="font" type="font/woff2" crossorigin />
</head> <body class="bg-white dark:bg-gray-900 min-h-screen flex flex-col min-h-screen"> $for(include-before)$ $include-before$ $endfor$
$if(toc)$ <!-- mobile topbar toc --> <details id="mobile-$idprefix$TOC" role="doc-toc" class="md:hidden bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-700 z-50 space-y-4 group px-6 py-4"> <summary class="cursor-pointer list-none text-sm font-semibold select-none flex gap-2 justify-between items-center dark:text-white"> $if(toc-title)$$toc-title$$else$Table of Contents$endif$ <span class="group-open:hidden inline">${ menu.svg() }</span> <span class="hidden group-open:inline">${ x.svg() }</span> </summary> ${ table-of-contents:toc.html() } </details> <!-- desktop sidebar toc --> <nav id="$idprefix$TOC" role="doc-toc" class="hidden md:block fixed left-0 top-0 w-80 h-screen bg-gray-50 dark:bg-gray-800 border-r border-gray-200 dark:border-gray-700 overflow-y-auto p-4 z-50"> $if(toc-title)$ <h2 id="$idprefix$toc-title" class="text-lg font-semibold mb-4 text-gray-900">$toc-title$</h2> $endif$ ${ table-of-contents:toc.html() } </nav> $endif$
<div class="$if(toc)$md:ml-80$endif$ flex-1 flex flex-col"> <main class="max-w-4xl w-full mx-auto p-6 flex-1"> $if(top)$ $-- only print title block if this is NOT the top page $else$ $if(title)$ <header id="title-block-header" class="mb-8 pb-8 border-b border-gray-200 dark:border-gray-700"> <h1 class="text-4xl font-bold mb-2 text-black dark:text-white">$title$</h1> $if(subtitle)$ <p class="text-xl text-gray-500 dark:text-gray-400 mb-2">$subtitle$</p> $endif$ $for(author)$ <p class="text-sm text-gray-500 dark:text-gray-400">$author$</p> $endfor$ $if(date)$ <p class="text-sm text-gray-500 dark:text-gray-400">Updated on $date$</p> $endif$ $if(abstract)$ <div class="mt-6 p-4 bg-gray-50 rounded-lg"> <div class="text-sm font-semibold text-gray-700 uppercase mb-2">$abstract-title$</div> <div class="text-gray-700">$abstract$</div> </div> $endif$ $endif$ </header> $endif$ <article class="prose dark:prose-invert max-w-none"> $body$ </article> </main> <nav id="sitenav" class="border-t border-gray-200 dark:border-gray-700 bg-gray-50 dark:bg-gray-800 "> <div class="max-w-4xl mx-auto px-8 py-4"> <div class="flex justify-between gap-4"> <span class="flex-1"> $if(previous.url)$ <span class="text-xs text-gray-500 dark:text-gray-400 uppercase block mb-1">Previous</span> <a href="$previous.url$" accesskey="p" rel="previous">$previous.title$</a> $endif$ </span> <span class="flex-1 text-right"> $if(next.url)$ <span class="text-xs text-gray-500 dark:text-gray-400 uppercase block mb-1">Next</span> <a href="$next.url$" accesskey="n" rel="next">$next.title$</a> $endif$ </span> </div> </div> </nav> </div> $for(include-after)$ $include-after$ $endfor$ </body></html>