forked from tangled.org/core
Monorepo for Tangled — https://tangled.org

include fonts in build

Changed files
+4 -1
appview
pages
templates
layouts
+1 -1
appview/pages/templates/layouts/footer.html
···
{{ define "layouts/footer" }}
<div class="w-full p-4 bg-white rounded-t">
<div class="container mx-auto text-center text-gray-600 text-sm">
-
<span class="font-semibold italic">tangled</span> &mdash; made by <a href="/@oppili.bsky.social">@oppili.bsky.social</a> and <a href="/@@icyphox.sh">@icyphox.sh</a>
</div>
</div>
{{ end }}
···
{{ define "layouts/footer" }}
<div class="w-full p-4 bg-white rounded-t">
<div class="container mx-auto text-center text-gray-600 text-sm">
+
<span class="font-semibold italic">tangled</span> &mdash; made by <a href="/@oppili.bsky.social">@oppili.bsky.social</a> and <a href="/@icyphox.sh">@icyphox.sh</a>
</div>
</div>
{{ end }}
+3
flake.nix
···
pushd source
cp -f ${htmx-src} appview/pages/static/htmx.min.js
cp -f ${lucide-src} appview/pages/static/lucide.min.js
${pkgs.tailwindcss}/bin/tailwindcss -i input.css -o appview/pages/static/tw.css
popd
'';
···
pushd source
cp -f ${htmx-src} appview/pages/static/htmx.min.js
cp -f ${lucide-src} appview/pages/static/lucide.min.js
+
mkdir -p appview/pages/static/fonts
+
cp -f ${ia-fonts-src}/"iA Writer Quattro"/Static/*.ttf appview/pages/static/fonts/
+
cp -f ${ia-fonts-src}/"iA Writer Mono"/Static/*.ttf appview/pages/static/fonts/
${pkgs.tailwindcss}/bin/tailwindcss -i input.css -o appview/pages/static/tw.css
popd
'';