Major development update.
* Updated LICENSE, READMES/METADATA.md and TODO.md * Added example blog to examples/ * Added preliminary Pygments support for embedding code in pages. * Add preliminary Wordpress dump importer * Expansions to template_tools and metadata to support Blog use case.
This commit is contained in:
@ -1,13 +1,56 @@
|
||||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<link rel="stylesheet" type="text/css" href="css/main.css">
|
||||
<title>Pixywerk2 Home</title>
|
||||
<link rel="stylesheet" type="text/css" href="./css/main.css">
|
||||
</head>
|
||||
<body>
|
||||
<p>This is my index!!</p>
|
||||
<div class="container">
|
||||
|
||||
<header><img src="./images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>Pixywerk2 Home</h1></header>
|
||||
|
||||
|
||||
<article>
|
||||
<h1>Pixywerk 2</h1>
|
||||
<p>Pixywerk 2 is a simple static website compiler. It is primarily oriented around applying a tree-oriented metadata to each file, and complicated operations within the page templates.</p>
|
||||
<h2>Latest blog posts</h2>
|
||||
<div class="postgrid">
|
||||
|
||||
for i in posts[:5]:
|
||||
<div class="postgrid-item">
|
||||
|
||||
get metadata, fill in post image/text summary with link
|
||||
<a href="posts/post-2019-05-19.html">
|
||||
<img src="images/2019-05-19.png" class="featured">
|
||||
<div>Code Test Post</div></a>
|
||||
</div>
|
||||
|
||||
<div class="postgrid-item">
|
||||
|
||||
<a href="posts/post-2019-05-16.another-post.html">
|
||||
<img src="images/2019-05-16.png" class="featured">
|
||||
<div>Another example post!</div></a>
|
||||
</div>
|
||||
|
||||
<div class="postgrid-item">
|
||||
|
||||
<a href="posts/post-2019-04-15.html">
|
||||
<img src="images/20190415-0.jpg" class="featured">
|
||||
<div>My first post</div></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
<nav><ul>
|
||||
<li>Documentation</li>
|
||||
<li>Blog</li>
|
||||
<li><a href="https://git.antpantheon.com/cas/pixywerk2">Gitea<img src="./images/link-box-variant.svg"></a></li>
|
||||
<li><a href="https://www.github.com/chaomodus/pixywerk2">Github<img src="./images/link-box-variant.svg"></a></li>
|
||||
</ul></nav>
|
||||
|
||||
|
||||
<footer>Copyright © 2019 by Cas Rusnov <a rel="license" href="http://creativecommons.org/licenses/by/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by/4.0/80x15.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
|
||||
</footer>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user