UNPKG

create-modulo

Version:

Starter projects for Modulo.html - Ready for all uses - Markdown-SSG / SSR / API-backed SPA

63 lines (56 loc) 1.8 kB
<script src=Modulo.html></script><template type=f> <!-- Remember to list all pages and articles here, so they show in the top bar (and/or article list), and also are picked up by "buildall" command: --> <ContentList command="buildall"> index.html, Homepage app-example.html, App Example articles/index.html, Articles </ContentList> <ContentList -name=articlelist -load=md command="buildall"> articles/lorem-ipsum-1.html articles/lorem-ipsum-2.html </ContentList> <!-- Include the meta content in head.html --> <Include> <meta name="charset" charset="utf8" /> <meta name="content-type" http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="robots" content="index, follow" /> <style> :root { --color: WhiteSmoke; --fg: #050510; --fg-shading: #05051020; --bg: #ffffffbb; --page-width: 1000px; } @media (prefers-color-scheme: dark) { :root { --color: #05051020; --fg: WhiteSmoke; --fg-shading: #ffffff33; --bg: #000000bb; } } body { background: var(--bg); margin: 0; line-height: 1.5; } modulo-Editor { /* (Tweak to built-in editor) */ background: WhiteSmoke; display: block; } </style> </Include> <!-- Include main.js --> <Include> <script src="js/main.js.htm"></script> </Include> <!-- Components are registered in components/index.html --> <Library namespace="x" -src="components/" ></Library> <!-- Modulo management commands customized here --> <Library -src="scripts/artifacts.html"></Library>