Rename to heckweasel.
This commit is contained in:
parent
727b2b9309
commit
f448a1f1ee
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2018,2019 Cas Rusnov
|
Copyright (c) 2023 Cas Rusnov
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
include pixywerk2/defaults/*.yaml
|
include heckweasel/defaults/*.yaml
|
|
@ -1,5 +1,5 @@
|
||||||
# Pixywerk #
|
# Heckweasel #
|
||||||
|
|
||||||
PixyWerk2 is a site compiler engineered like a metadata-based CMS with a template rendering system. Underneath it uses
|
Heckweasel is a site compiler engineered like a metadata-based CMS with a template rendering system. Underneath it uses
|
||||||
Jinja2 templates to provide programmability, and a structured metadata system, along with processors to convert
|
Jinja2 templates to provide programmability, and a structured metadata system, along with processors to convert
|
||||||
user-friendly files such as Markdown and RST into HTML with templates.
|
user-friendly files such as Markdown and RST into HTML with templates.
|
||||||
|
|
4
TODO.md
4
TODO.md
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
* Smart CSS things (fill in the processors)
|
* Smart CSS things (fill in the processors)
|
||||||
* Project global defines, parameters.
|
* Project global defines, parameters.
|
||||||
* pre- and post-scripts that will be run from __main__, either some shipped with pixywerk or project-level.
|
* pre- and post-scripts that will be run from __main__, either some shipped with heckweasel or project-level.
|
||||||
* Library of template modules? ATOM et al.
|
* Library of template modules? ATOM et al.
|
||||||
* Some off the shelf website templates and a template manager.
|
* Some off the shelf website templates and a template manager.
|
||||||
* Live refreshing server thing which maps a pixywerk tree into a web server's memory and updates on change.
|
* Live refreshing server thing which maps a heckweasel tree into a web server's memory and updates on change.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Project Layout #
|
# Project Layout #
|
||||||
|
|
||||||
It is recommended that in general your project for PixyWerk2 site be layed out like:
|
It is recommended that in general your project for Heckweasel site be layed out like:
|
||||||
```
|
```
|
||||||
project_top/
|
project_top/
|
||||||
Makefile - Convenient for building your site
|
Makefile - Convenient for building your site
|
||||||
|
@ -21,7 +21,7 @@ site. Something as simple as:
|
||||||
|
|
||||||
```
|
```
|
||||||
build: src/templates/* src/*
|
build: src/templates/* src/*
|
||||||
python -mpixywerk2 src publish
|
python -mheckweasel src publish
|
||||||
```
|
```
|
||||||
|
|
||||||
## src/ ##
|
## src/ ##
|
||||||
|
@ -68,4 +68,4 @@ A simple default.jinja2 example:
|
||||||
|
|
||||||
## publish/ ##
|
## publish/ ##
|
||||||
|
|
||||||
This is arbitrary, and will be created by pixywerk at build time, but it will be the root path that should be published to your web server.
|
This is arbitrary, and will be created by heckweasel at build time, but it will be the root path that should be published to your web server.
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
build: src/templates/* src/* src/images/*
|
|
||||||
python -mpixywerk2 src publish
|
|
|
@ -1,4 +0,0 @@
|
||||||
# Pixywerk.com Example #
|
|
||||||
|
|
||||||
This is an example blog system with the features most blogs would have (posts, tag cloud, atom/rss feeds,
|
|
||||||
index with images).
|
|
|
@ -1,31 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 My first post</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
<header><img src="images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>Pixywerk2 My first post</h1></header>
|
|
||||||
<article>
|
|
||||||
<img src="../images/20190415-0.jpg" class="featured">
|
|
||||||
<div class="byline">
|
|
||||||
<p>Author: Cas Rusnov</p>
|
|
||||||
<p>Published: 2019-05-14T06:44:41.240513+00:00
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<p>This is an example post!</p>
|
|
||||||
<p>yo fresh</p>
|
|
||||||
<p>There are many posts like it but this one is mine.</p>
|
|
||||||
</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>Github<img src="images/link-box-variant.svg"></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>
|
|
|
@ -1,14 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
||||||
|
|
||||||
<title>Pixywerk2 RSS Feed</title>
|
|
||||||
<subtitle>Website Compiler</subtitle>
|
|
||||||
<link href="https://pixywerk.com//atom.xml" rel="self" />
|
|
||||||
<link href="https://pixywerk.com/" />
|
|
||||||
<id>urn:uuid:2cbb1961-b1ca-3b73-a6ce-d2e2feae9ab4</id>
|
|
||||||
<updated>2021-02-05T04:45:24.766181+00:00</updated>
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</feed>
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
|
@ -1,349 +0,0 @@
|
||||||
@font-face {
|
|
||||||
font-family: 'Expletus Sans';
|
|
||||||
src: url('fonts/ExpletusSans-Bold.woff2') format('woff2'),
|
|
||||||
url('fonts/ExpletusSans-Bold.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Expletus Sans';
|
|
||||||
src: url('fonts/ExpletusSans-BoldItalic.woff2') format('woff2'),
|
|
||||||
url('fonts/ExpletusSans-BoldItalic.woff') format('woff');
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Expletus Sans';
|
|
||||||
src: url('fonts/ExpletusSans-Italic.woff2') format('woff2'),
|
|
||||||
url('fonts/ExpletusSans-Italic.woff') format('woff');
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Expletus Sans';
|
|
||||||
src: url('fonts/ExpletusSans-Medium.woff2') format('woff2'),
|
|
||||||
url('fonts/ExpletusSans-Medium.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Expletus Sans';
|
|
||||||
src: url('fonts/ExpletusSans-MediumItalic.woff2') format('woff2'),
|
|
||||||
url('fonts/ExpletusSans-MediumItalic.woff') format('woff');
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Expletus Sans';
|
|
||||||
src: url('fonts/ExpletusSans-Regular.woff2') format('woff2'),
|
|
||||||
url('fonts/ExpletusSans-Regular.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Expletus Sans';
|
|
||||||
src: url('fonts/ExpletusSans-SemiBold.woff2') format('woff2'),
|
|
||||||
url('fonts/ExpletusSans-SemiBold.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Expletus Sans';
|
|
||||||
src: url('fonts/ExpletusSans-SemiBoldItalic.woff2') format('woff2'),
|
|
||||||
url('fonts/ExpletusSans-SemiBoldItalic.woff') format('woff');
|
|
||||||
font-style: italic;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Teko';
|
|
||||||
src: url('fonts/Teko-Bold.woff2') format('woff2'),
|
|
||||||
url('fonts/Teko-Bold.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 700;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Teko Light';
|
|
||||||
src: url('fonts/Teko-Light.woff2') format('woff2'),
|
|
||||||
url('fonts/Teko-Light.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 300;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Teko Medium';
|
|
||||||
src: url('fonts/Teko-Medium.woff2') format('woff2'),
|
|
||||||
url('fonts/Teko-Medium.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 500;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Teko';
|
|
||||||
src: url('fonts/Teko-Regular.woff2') format('woff2'),
|
|
||||||
url('fonts/Teko-Regular.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 400;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
@font-face {
|
|
||||||
font-family: 'Teko SemiBold';
|
|
||||||
src: url('fonts/Teko-SemiBold.woff2') format('woff2'),
|
|
||||||
url('fonts/Teko-SemiBold.woff') format('woff');
|
|
||||||
font-style: regular;
|
|
||||||
font-weight: 600;
|
|
||||||
}
|
|
||||||
|
|
||||||
body { margin: 0; font-family: Teko; font-size: 24pt; }
|
|
||||||
h1, h2, h3, h4 { font-family: 'Expletus Sans'; font-weight: 700 }
|
|
||||||
h1 { font-size: 150%; border-bottom: solid 1px black; }
|
|
||||||
h2 { font-size: 125%; }
|
|
||||||
h3 { font-size: 115%; }
|
|
||||||
h4 { font-size: 100%; }
|
|
||||||
|
|
||||||
.container {
|
|
||||||
height: 100%;
|
|
||||||
width: 100%;
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: 220px auto auto;
|
|
||||||
grid-template-rows: auto auto auto auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
header {
|
|
||||||
border: 0;
|
|
||||||
padding-left: 20px;
|
|
||||||
height: 60px;
|
|
||||||
grid-column: 1 / 4;
|
|
||||||
background: black;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
header h1 { font-size: 18pt; border: none}
|
|
||||||
|
|
||||||
nav {
|
|
||||||
grid-row: 2 / 5;
|
|
||||||
grid-column: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul {
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul li {
|
|
||||||
list-style-type: none;
|
|
||||||
padding: 1px 20px 1px 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul li:hover {
|
|
||||||
background: black;
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul li:hover img {
|
|
||||||
filter: invert(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul li a {
|
|
||||||
color: black;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul li:hover a:hover {
|
|
||||||
color: white;
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
|
|
||||||
nav ul li a:visited {
|
|
||||||
color: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
article {
|
|
||||||
grid-row: 2 / 5;
|
|
||||||
grid-column: 2 / 4;
|
|
||||||
margin: 0 20px 0 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
footer {
|
|
||||||
font-size: 12pt;
|
|
||||||
grid-column: 1 / 4;
|
|
||||||
grid-row: 5;
|
|
||||||
background: black;
|
|
||||||
color: white;
|
|
||||||
padding-top: 10px;
|
|
||||||
padding-left: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post div.featured {
|
|
||||||
max-height: 250px;
|
|
||||||
max-width: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
padding: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post div.featured img.featured {
|
|
||||||
max-width: initial;
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post div.featured h1 {
|
|
||||||
position: absolute;
|
|
||||||
bottom: 0px;
|
|
||||||
left: 0;
|
|
||||||
color: white;
|
|
||||||
border: 0;
|
|
||||||
padding: 10px 30px 10px 30px;
|
|
||||||
background: rgba(0,0,0,0.5);
|
|
||||||
margin-top: 0.5em;
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
font-variant: small-caps;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post div.byline {
|
|
||||||
margin-left: 30px;
|
|
||||||
font-size: 0.75em;
|
|
||||||
line-height: 0.75em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post div.article {
|
|
||||||
margin-left: 30Px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.post div.article p {
|
|
||||||
margin-top: 0.5em;
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.postgrid {
|
|
||||||
display: grid;
|
|
||||||
grid-template-columns: minmax(300px, 33%) minmax(300px, 33%) minmax(300px, 33%);
|
|
||||||
margin-bottom: 30px;
|
|
||||||
column-gap: 10px;
|
|
||||||
row-gap: 10px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.postgrid-item {
|
|
||||||
height: 200px;
|
|
||||||
max-height: 200px;
|
|
||||||
max-width: 100%;
|
|
||||||
overflow: hidden;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.postgrid-item a img.featured {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.postgrid-item a div {
|
|
||||||
position: absolute;
|
|
||||||
left: 0;
|
|
||||||
bottom: 0;
|
|
||||||
color: white;
|
|
||||||
border: 0;
|
|
||||||
padding: 10px 30px 10px 30px;
|
|
||||||
background: rgba(0,0,0,0.5);
|
|
||||||
margin-top: 0.5em;
|
|
||||||
margin-bottom: 0.5em;
|
|
||||||
font-variant: small-caps;
|
|
||||||
}
|
|
||||||
|
|
||||||
pre { line-height: 125%; margin: 0; }
|
|
||||||
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
|
|
||||||
span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
|
|
||||||
td.linenos pre.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
|
|
||||||
span.linenos.special { color: #000000; background-color: #ffffc0; padding: 0 5px 0 5px; }
|
|
||||||
.hll { background-color: #ffffcc }
|
|
||||||
.c { color: #008800; font-style: italic } /* Comment */
|
|
||||||
.err { border: 1px solid #FF0000 } /* Error */
|
|
||||||
.k { color: #AA22FF; font-weight: bold } /* Keyword */
|
|
||||||
.o { color: #666666 } /* Operator */
|
|
||||||
.ch { color: #008800; font-style: italic } /* Comment.Hashbang */
|
|
||||||
.cm { color: #008800; font-style: italic } /* Comment.Multiline */
|
|
||||||
.cp { color: #008800 } /* Comment.Preproc */
|
|
||||||
.cpf { color: #008800; font-style: italic } /* Comment.PreprocFile */
|
|
||||||
.c1 { color: #008800; font-style: italic } /* Comment.Single */
|
|
||||||
.cs { color: #008800; font-weight: bold } /* Comment.Special */
|
|
||||||
.gd { color: #A00000 } /* Generic.Deleted */
|
|
||||||
.ge { font-style: italic } /* Generic.Emph */
|
|
||||||
.gr { color: #FF0000 } /* Generic.Error */
|
|
||||||
.gh { color: #000080; font-weight: bold } /* Generic.Heading */
|
|
||||||
.gi { color: #00A000 } /* Generic.Inserted */
|
|
||||||
.go { color: #888888 } /* Generic.Output */
|
|
||||||
.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
|
|
||||||
.gs { font-weight: bold } /* Generic.Strong */
|
|
||||||
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
|
|
||||||
.gt { color: #0044DD } /* Generic.Traceback */
|
|
||||||
.kc { color: #AA22FF; font-weight: bold } /* Keyword.Constant */
|
|
||||||
.kd { color: #AA22FF; font-weight: bold } /* Keyword.Declaration */
|
|
||||||
.kn { color: #AA22FF; font-weight: bold } /* Keyword.Namespace */
|
|
||||||
.kp { color: #AA22FF } /* Keyword.Pseudo */
|
|
||||||
.kr { color: #AA22FF; font-weight: bold } /* Keyword.Reserved */
|
|
||||||
.kt { color: #00BB00; font-weight: bold } /* Keyword.Type */
|
|
||||||
.m { color: #666666 } /* Literal.Number */
|
|
||||||
.s { color: #BB4444 } /* Literal.String */
|
|
||||||
.na { color: #BB4444 } /* Name.Attribute */
|
|
||||||
.nb { color: #AA22FF } /* Name.Builtin */
|
|
||||||
.nc { color: #0000FF } /* Name.Class */
|
|
||||||
.no { color: #880000 } /* Name.Constant */
|
|
||||||
.nd { color: #AA22FF } /* Name.Decorator */
|
|
||||||
.ni { color: #999999; font-weight: bold } /* Name.Entity */
|
|
||||||
.ne { color: #D2413A; font-weight: bold } /* Name.Exception */
|
|
||||||
.nf { color: #00A000 } /* Name.Function */
|
|
||||||
.nl { color: #A0A000 } /* Name.Label */
|
|
||||||
.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
|
|
||||||
.nt { color: #008000; font-weight: bold } /* Name.Tag */
|
|
||||||
.nv { color: #B8860B } /* Name.Variable */
|
|
||||||
.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
|
|
||||||
.w { color: #bbbbbb } /* Text.Whitespace */
|
|
||||||
.mb { color: #666666 } /* Literal.Number.Bin */
|
|
||||||
.mf { color: #666666 } /* Literal.Number.Float */
|
|
||||||
.mh { color: #666666 } /* Literal.Number.Hex */
|
|
||||||
.mi { color: #666666 } /* Literal.Number.Integer */
|
|
||||||
.mo { color: #666666 } /* Literal.Number.Oct */
|
|
||||||
.sa { color: #BB4444 } /* Literal.String.Affix */
|
|
||||||
.sb { color: #BB4444 } /* Literal.String.Backtick */
|
|
||||||
.sc { color: #BB4444 } /* Literal.String.Char */
|
|
||||||
.dl { color: #BB4444 } /* Literal.String.Delimiter */
|
|
||||||
.sd { color: #BB4444; font-style: italic } /* Literal.String.Doc */
|
|
||||||
.s2 { color: #BB4444 } /* Literal.String.Double */
|
|
||||||
.se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
|
|
||||||
.sh { color: #BB4444 } /* Literal.String.Heredoc */
|
|
||||||
.si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */
|
|
||||||
.sx { color: #008000 } /* Literal.String.Other */
|
|
||||||
.sr { color: #BB6688 } /* Literal.String.Regex */
|
|
||||||
.s1 { color: #BB4444 } /* Literal.String.Single */
|
|
||||||
.ss { color: #B8860B } /* Literal.String.Symbol */
|
|
||||||
.bp { color: #AA22FF } /* Name.Builtin.Pseudo */
|
|
||||||
.fm { color: #00A000 } /* Name.Function.Magic */
|
|
||||||
.vc { color: #B8860B } /* Name.Variable.Class */
|
|
||||||
.vg { color: #B8860B } /* Name.Variable.Global */
|
|
||||||
.vi { color: #B8860B } /* Name.Variable.Instance */
|
|
||||||
.vm { color: #B8860B } /* Name.Variable.Magic */
|
|
||||||
.il { color: #666666 } /* Literal.Number.Integer.Long */
|
|
||||||
|
|
||||||
div.code {
|
|
||||||
font-size: 0.5em;
|
|
||||||
border: 1px black solid;
|
|
||||||
padding: 1em;
|
|
||||||
margin: 0 1em 0 1em;
|
|
||||||
}
|
|
Binary file not shown.
Before Width: | Height: | Size: 446 KiB |
Binary file not shown.
Before Width: | Height: | Size: 133 KiB |
Binary file not shown.
Before Width: | Height: | Size: 72 KiB |
|
@ -1 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M19,3H5A2,2 0 0,0 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5A2,2 0 0,0 19,3M13.94,14.81L11.73,17C11.08,17.67 10.22,18 9.36,18C8.5,18 7.64,17.67 7,17C5.67,15.71 5.67,13.58 7,12.26L8.35,10.9L8.34,11.5C8.33,12 8.41,12.5 8.57,12.94L8.62,13.09L8.22,13.5C7.91,13.8 7.74,14.21 7.74,14.64C7.74,15.07 7.91,15.47 8.22,15.78C8.83,16.4 9.89,16.4 10.5,15.78L12.7,13.59C13,13.28 13.18,12.87 13.18,12.44C13.18,12 13,11.61 12.7,11.3C12.53,11.14 12.44,10.92 12.44,10.68C12.44,10.45 12.53,10.23 12.7,10.06C13.03,9.73 13.61,9.74 13.94,10.06C14.57,10.7 14.92,11.54 14.92,12.44C14.92,13.34 14.57,14.18 13.94,14.81M17,11.74L15.66,13.1V12.5C15.67,12 15.59,11.5 15.43,11.06L15.38,10.92L15.78,10.5C16.09,10.2 16.26,9.79 16.26,9.36C16.26,8.93 16.09,8.53 15.78,8.22C15.17,7.6 14.1,7.61 13.5,8.22L11.3,10.42C11,10.72 10.82,11.13 10.82,11.56C10.82,12 11,12.39 11.3,12.7C11.47,12.86 11.56,13.08 11.56,13.32C11.56,13.56 11.47,13.78 11.3,13.94C11.13,14.11 10.91,14.19 10.68,14.19C10.46,14.19 10.23,14.11 10.06,13.94C8.75,12.63 8.75,10.5 10.06,9.19L12.27,7C13.58,5.67 15.71,5.68 17,7C17.65,7.62 18,8.46 18,9.36C18,10.26 17.65,11.1 17,11.74Z" /></svg>
|
|
Before Width: | Height: | Size: 1.4 KiB |
|
@ -1 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="24" height="24" viewBox="0 0 24 24"><path d="M2,5V13H4V11H10L12,9L10,7H4V5H2M20,5V7H12L14,9L12,11H20V13H22V5H20M12,13C12,13 10,15.17 10,16.5A2,2 0 0,0 12,18.5A2,2 0 0,0 14,16.5C14,15.17 12,13 12,13Z" /></svg>
|
|
Before Width: | Height: | Size: 448 B |
|
@ -1,56 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 Home</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="./css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<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">
|
|
||||||
|
|
||||||
<div class="postgrid-item">
|
|
||||||
|
|
||||||
<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>
|
|
|
@ -1,44 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 My first post</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="./css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<header><img src="./images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>
|
|
||||||
Pixywerk
|
|
||||||
</h1></header>
|
|
||||||
|
|
||||||
|
|
||||||
<article class="post">
|
|
||||||
<div class="featured">
|
|
||||||
<h1>My first post</h1>
|
|
||||||
<img src="images/20190415-0.jpg" class="featured">
|
|
||||||
</div>
|
|
||||||
<div class="byline">
|
|
||||||
<p>Author: Cas Rusnov<br>
|
|
||||||
Published: 2019-05-16T05:37:20.372795+00:00
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="article">
|
|
||||||
<p>This is an example post!</p>
|
|
||||||
<p>yo fresh</p>
|
|
||||||
<p>There are many posts like it but this one is mine.</p>
|
|
||||||
</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>
|
|
|
@ -1,43 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 Another example post!</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="./css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<header><img src="./images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>
|
|
||||||
Pixywerk
|
|
||||||
</h1></header>
|
|
||||||
|
|
||||||
|
|
||||||
<article class="post">
|
|
||||||
<div class="featured">
|
|
||||||
<h1>Another example post!</h1>
|
|
||||||
<img src="images/2019-05-16.png" class="featured">
|
|
||||||
</div>
|
|
||||||
<div class="byline">
|
|
||||||
<p>Author: Cas Rusnov<br>
|
|
||||||
Published: 2019-05-17T01:36:35.179351+00:00
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="article">
|
|
||||||
<h1>Greetings humans!</h1>
|
|
||||||
<p>This is yet another example post! halelujah!</p>
|
|
||||||
</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>
|
|
|
@ -1,31 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 My first post</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
<header><h1>Pixywerk2 My first post</h1></header>
|
|
||||||
<article>
|
|
||||||
<img src="../images/20190415-0.jpg" class="featured">
|
|
||||||
<div class="byline">
|
|
||||||
<p>Author: Cas Rusnov</p>
|
|
||||||
<p>Published: 2019-04-16T01:42:27.156392+00:00
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<p>This is an example post!</p>
|
|
||||||
<p>yo fresh</p>
|
|
||||||
<p>There are many posts like it but this one is mine.</p>
|
|
||||||
</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>Github<img src="images/link-box-variant.svg"></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>
|
|
|
@ -1,46 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 My first post</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<header><img src="../images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>
|
|
||||||
Pixywerk
|
|
||||||
</h1></header>
|
|
||||||
|
|
||||||
|
|
||||||
<article class="post">
|
|
||||||
<div class="featured">
|
|
||||||
<h1>My first post</h1>
|
|
||||||
<img src="../images/20190415-0.jpg" class="featured">
|
|
||||||
</div>
|
|
||||||
<div class="byline" style="width: 100%">
|
|
||||||
<p>Author: Cas Rusnov<br>
|
|
||||||
Published: 2019-05-20T01:56:41.720834+00:00
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="article">
|
|
||||||
<p>This is an example post!</p>
|
|
||||||
<p>yo fresh</p>
|
|
||||||
<p>There are many posts like it but this one is mine.</p>
|
|
||||||
</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>
|
|
|
@ -1,45 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 Another example post!</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<header><img src="../images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>
|
|
||||||
Pixywerk
|
|
||||||
</h1></header>
|
|
||||||
|
|
||||||
|
|
||||||
<article class="post">
|
|
||||||
<div class="featured">
|
|
||||||
<h1>Another example post!</h1>
|
|
||||||
<img src="../images/2019-05-16.png" class="featured">
|
|
||||||
</div>
|
|
||||||
<div class="byline" style="width: 100%">
|
|
||||||
<p>Author: Cas Rusnov<br>
|
|
||||||
Published: 2019-05-20T02:09:55.805659+00:00
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="article">
|
|
||||||
<h1>Greetings humans!</h1>
|
|
||||||
<p>This is yet another example post! halelujah!</p>
|
|
||||||
</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>
|
|
|
@ -1,111 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 Code Test Post</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<header><img src="../images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>
|
|
||||||
Pixywerk
|
|
||||||
</h1></header>
|
|
||||||
|
|
||||||
|
|
||||||
<article class="post">
|
|
||||||
<div class="featured">
|
|
||||||
<h1>Code Test Post</h1>
|
|
||||||
<img src="../images/2019-05-19.png" class="featured">
|
|
||||||
</div>
|
|
||||||
<div class="byline" style="width: 100%">
|
|
||||||
<p>Author: Cas Rusnov<br>
|
|
||||||
Published: 2019-05-20T06:31:37.352443+00:00
|
|
||||||
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="article">
|
|
||||||
|
|
||||||
<p>This is a code test post! Let's format some code!!</p>
|
|
||||||
|
|
||||||
|
|
||||||
<div class="code">
|
|
||||||
Some python code:
|
|
||||||
<div class="highlight"><pre><span></span><span class="sd">"""Package configuration."""</span>
|
|
||||||
<span class="kn">from</span> <span class="nn">setuptools</span> <span class="kn">import</span> <span class="n">find_packages</span><span class="p">,</span> <span class="n">setup</span>
|
|
||||||
|
|
||||||
<span class="n">LONG_DESCRIPTION</span> <span class="o">=</span> <span class="s2">"""Pixywerk 2 is a filesystem based static site generator."""</span>
|
|
||||||
|
|
||||||
<span class="n">INSTALL_REQUIRES</span> <span class="o">=</span> <span class="p">[</span><span class="s2">"yaml-1.3"</span><span class="p">,</span> <span class="s2">"markdown"</span><span class="p">,</span> <span class="s2">"jstyleson"</span><span class="p">,</span> <span class="s2">"jinja2"</span><span class="p">,</span> <span class="s2">"pygments"</span><span class="p">]</span>
|
|
||||||
|
|
||||||
<span class="c1"># Extra dependencies</span>
|
|
||||||
<span class="n">EXTRAS_REQUIRE</span> <span class="o">=</span> <span class="p">{</span>
|
|
||||||
<span class="c1"># Test dependencies</span>
|
|
||||||
<span class="s2">"tests"</span><span class="p">:</span> <span class="p">[</span>
|
|
||||||
<span class="s2">"black"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"bandit>=1.1.0"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"flake8>=3.2.1"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"mypy>=0.470"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"prospector[with_everything]>=0.12.4"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"pytest-cov>=1.8.0"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"pytest-xdist>=1.15.0"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"pytest>=3.0.3"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"sphinx_rtd_theme>=0.1.6"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"sphinx-argparse>=0.1.15"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"Sphinx>=1.4.9"</span><span class="p">,</span>
|
|
||||||
<span class="p">]</span>
|
|
||||||
<span class="p">}</span>
|
|
||||||
|
|
||||||
<span class="n">SETUP_REQUIRES</span> <span class="o">=</span> <span class="p">[</span><span class="s2">"pytest-runner>=2.7.1"</span><span class="p">,</span> <span class="s2">"setuptools_scm>=1.15.0"</span><span class="p">]</span>
|
|
||||||
<span class="n">setup</span><span class="p">(</span>
|
|
||||||
<span class="n">author</span><span class="o">=</span><span class="s2">"Cassowary Rusnov"</span><span class="p">,</span>
|
|
||||||
<span class="n">author_email</span><span class="o">=</span><span class="s2">"rusnovn@gmail.com"</span><span class="p">,</span>
|
|
||||||
<span class="n">classifiers</span><span class="o">=</span><span class="p">[</span>
|
|
||||||
<span class="s2">"Development Status :: 1 - Pre-alpha"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"Environment :: Console"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"License :: OSI Approved :: MIT"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"Operating System :: POSIX :: Linux"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"Programming Language :: Python :: 3.6"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"Programming Language :: Python :: 3.7"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"Programming Language :: Python :: 3 :: Only"</span><span class="p">,</span>
|
|
||||||
<span class="s2">"Topic :: Software Development :: Libraries :: Python Modules"</span><span class="p">,</span>
|
|
||||||
<span class="p">],</span>
|
|
||||||
<span class="n">description</span><span class="o">=</span><span class="s2">"A filesystem-based website generator / CMS"</span><span class="p">,</span>
|
|
||||||
<span class="c1"># entry_points={</span>
|
|
||||||
<span class="c1"># 'console_scripts': [</span>
|
|
||||||
<span class="c1"># 'cookbook = spicerack.cookbook:main',</span>
|
|
||||||
<span class="c1"># ],</span>
|
|
||||||
<span class="c1"># },</span>
|
|
||||||
<span class="n">include_package_data</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
|
|
||||||
<span class="n">extras_require</span><span class="o">=</span><span class="n">EXTRAS_REQUIRE</span><span class="p">,</span>
|
|
||||||
<span class="n">install_requires</span><span class="o">=</span><span class="n">INSTALL_REQUIRES</span><span class="p">,</span>
|
|
||||||
<span class="n">keywords</span><span class="o">=</span><span class="p">[</span><span class="s2">"cms"</span><span class="p">,</span> <span class="s2">"website"</span><span class="p">,</span> <span class="s2">"compiler"</span><span class="p">],</span>
|
|
||||||
<span class="n">license</span><span class="o">=</span><span class="s2">"MIT"</span><span class="p">,</span>
|
|
||||||
<span class="n">long_description</span><span class="o">=</span><span class="n">LONG_DESCRIPTION</span><span class="p">,</span>
|
|
||||||
<span class="n">name</span><span class="o">=</span><span class="s2">"pixywerk2"</span><span class="p">,</span>
|
|
||||||
<span class="n">packages</span><span class="o">=</span><span class="n">find_packages</span><span class="p">(</span><span class="n">exclude</span><span class="o">=</span><span class="p">[</span><span class="s2">"*.tests"</span><span class="p">,</span> <span class="s2">"*.tests.*"</span><span class="p">]),</span>
|
|
||||||
<span class="n">platforms</span><span class="o">=</span><span class="p">[</span><span class="s2">"GNU/Linux"</span><span class="p">],</span>
|
|
||||||
<span class="n">setup_requires</span><span class="o">=</span><span class="n">SETUP_REQUIRES</span><span class="p">,</span>
|
|
||||||
<span class="n">use_scm_version</span><span class="o">=</span><span class="kc">True</span><span class="p">,</span>
|
|
||||||
<span class="n">url</span><span class="o">=</span><span class="s2">"https://git.antpanethon.com/cas/pixywerk2"</span><span class="p">,</span>
|
|
||||||
<span class="n">zip_safe</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span>
|
|
||||||
<span class="p">)</span>
|
|
||||||
</pre></div>
|
|
||||||
|
|
||||||
</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>
|
|
|
@ -1,134 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 </title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="./css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<header><img src="./images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>Pixywerk2 </h1></header>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
<ul>
|
|
||||||
|
|
||||||
<li>{'file_path': 'atom.xml', 'file_name': 'atom.xml', 'mtime': 1558060013.0402112, 'ctime': 1558060013.0482113, 'size': 1209, 'ext': '.xml'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'index.thtml', 'file_name': 'index.thtml', 'mtime': 1558317628.2501144, 'ctime': 1558317628.2501144, 'size': 602, 'ext': '.thtml'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'setup.py', 'file_name': 'setup.py', 'mtime': 1558332717.6640935, 'ctime': 1558332717.6640935, 'size': 1847, 'ext': '.py'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'recurse.thtml', 'file_name': 'recurse.thtml', 'mtime': 1561830991.2152739, 'ctime': 1561830991.223274, 'size': 72, 'ext': '.thtml'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'posts/post-2019-04-15.thtml', 'file_name': 'post-2019-04-15.thtml', 'mtime': 1557985040.3647952, 'ctime': 1558317401.7208338, 'size': 106, 'ext': '.thtml'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'posts/post-2019-05-16.another-post.thtml', 'file_name': 'post-2019-05-16.another-post.thtml', 'mtime': 1558318195.8056588, 'ctime': 1558318195.8056588, 'size': 79, 'ext': '.thtml'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'posts/post-2019-05-19.thtml', 'file_name': 'post-2019-05-19.thtml', 'mtime': 1558333897.3524435, 'ctime': 1558333897.3524435, 'size': 181, 'ext': '.thtml'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/main.css', 'file_name': 'main.css', 'mtime': 1558333943.9771295, 'ctime': 1558333943.9771295, 'size': 5589, 'ext': '.css'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-Bold.woff', 'file_name': 'Teko-Bold.woff', 'mtime': 1557719150.1630452, 'ctime': 1557719150.1630452, 'size': 111224, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-Bold.woff2', 'file_name': 'Teko-Bold.woff2', 'mtime': 1557719150.8430567, 'ctime': 1557719150.8430567, 'size': 77468, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-Light.woff', 'file_name': 'Teko-Light.woff', 'mtime': 1557719150.863057, 'ctime': 1557719150.863057, 'size': 108568, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-Light.woff2', 'file_name': 'Teko-Light.woff2', 'mtime': 1557719151.4950676, 'ctime': 1557719151.4950676, 'size': 75476, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-Medium.woff', 'file_name': 'Teko-Medium.woff', 'mtime': 1557719151.5150678, 'ctime': 1557719151.5150678, 'size': 115388, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-Medium.woff2', 'file_name': 'Teko-Medium.woff2', 'mtime': 1557719152.1750789, 'ctime': 1557719152.1750789, 'size': 80216, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-Regular.woff', 'file_name': 'Teko-Regular.woff', 'mtime': 1557719152.1950793, 'ctime': 1557719152.1950793, 'size': 115048, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-Regular.woff2', 'file_name': 'Teko-Regular.woff2', 'mtime': 1557719152.8550904, 'ctime': 1557719152.8550904, 'size': 80188, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-SemiBold.woff', 'file_name': 'Teko-SemiBold.woff', 'mtime': 1557719152.8750906, 'ctime': 1557719152.8750906, 'size': 117184, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/Teko-SemiBold.woff2', 'file_name': 'Teko-SemiBold.woff2', 'mtime': 1557719153.5591023, 'ctime': 1557719153.5591023, 'size': 81756, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Regular.ttf', 'file_name': 'ExpletusSans-Regular.ttf', 'mtime': 1304492400.0, 'ctime': 1557720047.6432533, 'size': 55052, 'ext': '.ttf'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Italic.ttf', 'file_name': 'ExpletusSans-Italic.ttf', 'mtime': 1304492400.0, 'ctime': 1557720047.6472535, 'size': 37344, 'ext': '.ttf'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Medium.ttf', 'file_name': 'ExpletusSans-Medium.ttf', 'mtime': 1304492400.0, 'ctime': 1557720047.6472535, 'size': 66676, 'ext': '.ttf'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-MediumItalic.ttf', 'file_name': 'ExpletusSans-MediumItalic.ttf', 'mtime': 1304492400.0, 'ctime': 1557720047.6512535, 'size': 62900, 'ext': '.ttf'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-SemiBoldItalic.ttf', 'file_name': 'ExpletusSans-SemiBoldItalic.ttf', 'mtime': 1304492400.0, 'ctime': 1557720047.6552536, 'size': 46812, 'ext': '.ttf'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-SemiBold.ttf', 'file_name': 'ExpletusSans-SemiBold.ttf', 'mtime': 1304492400.0, 'ctime': 1557720047.6552536, 'size': 65520, 'ext': '.ttf'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Bold.ttf', 'file_name': 'ExpletusSans-Bold.ttf', 'mtime': 1304492400.0, 'ctime': 1557720047.6592536, 'size': 60784, 'ext': '.ttf'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-BoldItalic.ttf', 'file_name': 'ExpletusSans-BoldItalic.ttf', 'mtime': 1304492400.0, 'ctime': 1557720047.6632538, 'size': 45072, 'ext': '.ttf'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Bold.woff', 'file_name': 'ExpletusSans-Bold.woff', 'mtime': 1557720055.5434017, 'ctime': 1557720055.5434017, 'size': 28176, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Bold.woff2', 'file_name': 'ExpletusSans-Bold.woff2', 'mtime': 1557720055.6754043, 'ctime': 1557720055.6754043, 'size': 20628, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-BoldItalic.woff', 'file_name': 'ExpletusSans-BoldItalic.woff', 'mtime': 1557720055.6794043, 'ctime': 1557720055.6794043, 'size': 21016, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-BoldItalic.woff2', 'file_name': 'ExpletusSans-BoldItalic.woff2', 'mtime': 1557720055.767406, 'ctime': 1557720055.767406, 'size': 15356, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Italic.woff', 'file_name': 'ExpletusSans-Italic.woff', 'mtime': 1557720055.7754061, 'ctime': 1557720055.7754061, 'size': 19132, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Italic.woff2', 'file_name': 'ExpletusSans-Italic.woff2', 'mtime': 1557720055.8514075, 'ctime': 1557720055.8514075, 'size': 14248, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Medium.woff', 'file_name': 'ExpletusSans-Medium.woff', 'mtime': 1557720055.8554077, 'ctime': 1557720055.8554077, 'size': 31592, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Medium.woff2', 'file_name': 'ExpletusSans-Medium.woff2', 'mtime': 1557720056.0074105, 'ctime': 1557720056.0074105, 'size': 22784, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-MediumItalic.woff', 'file_name': 'ExpletusSans-MediumItalic.woff', 'mtime': 1557720056.0154107, 'ctime': 1557720056.0154107, 'size': 27148, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-MediumItalic.woff2', 'file_name': 'ExpletusSans-MediumItalic.woff2', 'mtime': 1557720056.1594133, 'ctime': 1557720056.1594133, 'size': 19972, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Regular.woff', 'file_name': 'ExpletusSans-Regular.woff', 'mtime': 1557720056.1674135, 'ctime': 1557720056.1674135, 'size': 26540, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-Regular.woff2', 'file_name': 'ExpletusSans-Regular.woff2', 'mtime': 1557720056.291416, 'ctime': 1557720056.291416, 'size': 19844, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-SemiBold.woff', 'file_name': 'ExpletusSans-SemiBold.woff', 'mtime': 1557720056.2954159, 'ctime': 1557720056.2954159, 'size': 31536, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-SemiBold.woff2', 'file_name': 'ExpletusSans-SemiBold.woff2', 'mtime': 1557720056.459419, 'ctime': 1557720056.459419, 'size': 22784, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-SemiBoldItalic.woff', 'file_name': 'ExpletusSans-SemiBoldItalic.woff', 'mtime': 1557720056.4634192, 'ctime': 1557720056.4634192, 'size': 22556, 'ext': '.woff'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'css/fonts/ExpletusSans-SemiBoldItalic.woff2', 'file_name': 'ExpletusSans-SemiBoldItalic.woff2', 'mtime': 1557720056.563421, 'ctime': 1557720056.563421, 'size': 16484, 'ext': '.woff2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'test/test.thtml', 'file_name': 'test.thtml', 'mtime': 1558064341.65635, 'ctime': 1558064341.65635, 'size': 115, 'ext': '.thtml'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'images/placeholder', 'file_name': 'placeholder', 'mtime': 1555378617.4188664, 'ctime': 1555378617.4188664, 'size': 0, 'ext': ''}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'images/20190415-0.jpg', 'file_name': '20190415-0.jpg', 'mtime': 1555379532.14708, 'ctime': 1555379532.14708, 'size': 73996, 'ext': '.jpg'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'images/link-box-variant.svg', 'file_name': 'link-box-variant.svg', 'mtime': 1557815009.004399, 'ctime': 1557815052.4972086, 'size': 1402, 'ext': '.svg'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'images/pipe-leak.svg', 'file_name': 'pipe-leak.svg', 'mtime': 1557897588.8718655, 'ctime': 1557897849.3715317, 'size': 448, 'ext': '.svg'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'images/2019-05-16.png', 'file_name': '2019-05-16.png', 'mtime': 1558057040.7048073, 'ctime': 1558057040.7048073, 'size': 457198, 'ext': '.png'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'images/2019-05-19.png', 'file_name': '2019-05-19.png', 'mtime': 1558331552.2705755, 'ctime': 1558331552.2705755, 'size': 135915, 'ext': '.png'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'templates/default.jinja2', 'file_name': 'default.jinja2', 'mtime': 1558317843.4078112, 'ctime': 1558317843.4078112, 'size': 1444, 'ext': '.jinja2'}</li>
|
|
||||||
|
|
||||||
<li>{'file_path': 'templates/post.jinja2', 'file_name': 'post.jinja2', 'mtime': 1558498337.0504873, 'ctime': 1558498337.0504873, 'size': 646, 'ext': '.jinja2'}</li>
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</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>
|
|
|
@ -1,59 +0,0 @@
|
||||||
"""Package configuration."""
|
|
||||||
from setuptools import find_packages, setup
|
|
||||||
|
|
||||||
LONG_DESCRIPTION = """Pixywerk 2 is a filesystem based static site generator."""
|
|
||||||
|
|
||||||
INSTALL_REQUIRES = ["yaml-1.3", "markdown", "jstyleson", "jinja2", "pygments"]
|
|
||||||
|
|
||||||
# Extra dependencies
|
|
||||||
EXTRAS_REQUIRE = {
|
|
||||||
# Test dependencies
|
|
||||||
"tests": [
|
|
||||||
"black",
|
|
||||||
"bandit>=1.1.0",
|
|
||||||
"flake8>=3.2.1",
|
|
||||||
"mypy>=0.470",
|
|
||||||
"prospector[with_everything]>=0.12.4",
|
|
||||||
"pytest-cov>=1.8.0",
|
|
||||||
"pytest-xdist>=1.15.0",
|
|
||||||
"pytest>=3.0.3",
|
|
||||||
"sphinx_rtd_theme>=0.1.6",
|
|
||||||
"sphinx-argparse>=0.1.15",
|
|
||||||
"Sphinx>=1.4.9",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
|
|
||||||
SETUP_REQUIRES = ["pytest-runner>=2.7.1", "setuptools_scm>=1.15.0"]
|
|
||||||
setup(
|
|
||||||
author="Cassowary Rusnov",
|
|
||||||
author_email="rusnovn@gmail.com",
|
|
||||||
classifiers=[
|
|
||||||
"Development Status :: 1 - Pre-alpha",
|
|
||||||
"Environment :: Console",
|
|
||||||
"License :: OSI Approved :: MIT",
|
|
||||||
"Operating System :: POSIX :: Linux",
|
|
||||||
"Programming Language :: Python :: 3.6",
|
|
||||||
"Programming Language :: Python :: 3.7",
|
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
||||||
],
|
|
||||||
description="A filesystem-based website generator / CMS",
|
|
||||||
# entry_points={
|
|
||||||
# 'console_scripts': [
|
|
||||||
# 'cookbook = spicerack.cookbook:main',
|
|
||||||
# ],
|
|
||||||
# },
|
|
||||||
include_package_data=True,
|
|
||||||
extras_require=EXTRAS_REQUIRE,
|
|
||||||
install_requires=INSTALL_REQUIRES,
|
|
||||||
keywords=["cms", "website", "compiler"],
|
|
||||||
license="MIT",
|
|
||||||
long_description=LONG_DESCRIPTION,
|
|
||||||
name="pixywerk2",
|
|
||||||
packages=find_packages(exclude=["*.tests", "*.tests.*"]),
|
|
||||||
platforms=["GNU/Linux"],
|
|
||||||
setup_requires=SETUP_REQUIRES,
|
|
||||||
use_scm_version=True,
|
|
||||||
url="https://git.antpanethon.com/cas/pixywerk2",
|
|
||||||
zip_safe=False,
|
|
||||||
)
|
|
|
@ -1,30 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 {{ metadata.title }}</title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="{{metadata.relpath}}/css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
{% block header %}
|
|
||||||
<header><img src="{{metadata.relpath}}/images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>{% block headertitle %}Pixywerk2 {{ metadata.title }}{% endblock %}</h1></header>
|
|
||||||
{% endblock %}
|
|
||||||
{% block content %}
|
|
||||||
<article>
|
|
||||||
{{ content }}
|
|
||||||
</article>
|
|
||||||
{% endblock %}
|
|
||||||
{% block nav %}
|
|
||||||
<nav><ul>
|
|
||||||
<li>Documentation</li>
|
|
||||||
<li>Blog</li>
|
|
||||||
<li><a href="https://git.antpantheon.com/cas/pixywerk2">Gitea<img src="{{metadata.relpath}}/images/link-box-variant.svg"></a></li>
|
|
||||||
<li><a href="https://www.github.com/chaomodus/pixywerk2">Github<img src="{{metadata.relpath}}/images/link-box-variant.svg"></a></li>
|
|
||||||
</ul></nav>
|
|
||||||
{% endblock %}
|
|
||||||
{% block footer %}
|
|
||||||
<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>
|
|
||||||
{% endblock %}
|
|
||||||
</div>
|
|
||||||
</body>
|
|
||||||
</html>
|
|
|
@ -1,23 +0,0 @@
|
||||||
{% extends "default.jinja2" %}
|
|
||||||
{% block headertitle %}
|
|
||||||
Pixywerk
|
|
||||||
{% endblock %}
|
|
||||||
{% block content %}
|
|
||||||
<article class="post">
|
|
||||||
<div class="featured">
|
|
||||||
<h1>{{ metadata.title }}</h1>
|
|
||||||
<img src="{{metadata.relpath}}/{{metadata.featured}}" class="featured">
|
|
||||||
</div>
|
|
||||||
<div class="byline" style="width: 100%">
|
|
||||||
<p>Author: {{ metadata.author }}<br>
|
|
||||||
Published: {{ get_time_iso8601(metadata.stat.ctime) }}
|
|
||||||
{% if metadata.stat.mtime-metadata.stat.ctime > 512 %}
|
|
||||||
Updated: {{ get_time_iso8601(metadata.stat.mtime) }}
|
|
||||||
{% endif %}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
<div class="article">
|
|
||||||
{{content}}
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
{% endblock %}
|
|
|
@ -1,31 +0,0 @@
|
||||||
<html>
|
|
||||||
<head>
|
|
||||||
<title>Pixywerk2 </title>
|
|
||||||
<link rel="stylesheet" type="text/css" href="../css/main.css">
|
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<div class="container">
|
|
||||||
|
|
||||||
<header><img src="../images/pipe-leak.svg" style="filter: invert(1); height: 2em; float: left; margin: 2px; padding: 0"><h1>Pixywerk2 </h1></header>
|
|
||||||
|
|
||||||
|
|
||||||
<article>
|
|
||||||
test test/test.thtml
|
|
||||||
<img src="../images/pipe-leak.svg">
|
|
||||||
</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>
|
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
"author": "Cas Rusnov",
|
|
||||||
"author_email": "pixywerk2@gmail.com",
|
|
||||||
"uuid-oid-root": "pixywerk.com/",
|
|
||||||
"site_root": "https://pixywerk.com/",
|
|
||||||
"subtitle": "Website Compiler"
|
|
||||||
}
|
|
|
@ -1,33 +0,0 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
|
|
||||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
|
||||||
|
|
||||||
<title>{{ metadata.title }}</title>
|
|
||||||
<subtitle>{{ metadata.subtitle }}</subtitle>
|
|
||||||
<link href="{{ metadata.site_root }}/{{ metadata.file_name }}" rel="self" />
|
|
||||||
<link href="{{ metadata.site_root }}" />
|
|
||||||
<id>urn:uuid:{{ metadata.uuid }}</id>
|
|
||||||
<updated>{{ get_time_iso8601(metadata['build-time']) }}</updated>
|
|
||||||
|
|
||||||
{% set posts = get_file_list('post-*.thtml', sort_order='file_name', reverse=True) %}
|
|
||||||
{% for post in posts %}
|
|
||||||
{% set post_meta = get_file_metadata(post['file_path']) %}
|
|
||||||
<entry>
|
|
||||||
<title>{{ post_meta.title }}</title>
|
|
||||||
<link href="{{ metadata.site_root }}/{{post_meta.file_path}}" />
|
|
||||||
<id>urn:uuid:{{ post_meta.uuid }}</id>
|
|
||||||
<updated>{{ get_time_iso8601(post_meta.stat.mtime) }}</updated>
|
|
||||||
<summary>{{post_meta.summary }}</summary>
|
|
||||||
<!-- this would be the snippet, more than summary chunk -->
|
|
||||||
<!-- <content type="xhtml"> -->
|
|
||||||
<!-- <div xmlns="http://www.w3.org/1999/xhtml"> -->
|
|
||||||
<!-- <p>{{ post_meta.summary }}</p> -->
|
|
||||||
<!-- </div> -->
|
|
||||||
<!-- </content> -->
|
|
||||||
<author>
|
|
||||||
<name>{{ post_meta.author }}</name>
|
|
||||||
<email>{{ post_meta.author_email }}</email>
|
|
||||||
</author>
|
|
||||||
</entry>
|
|
||||||
{% endfor %}
|
|
||||||
</feed>
|
|
|
@ -1,4 +0,0 @@
|
||||||
{
|
|
||||||
"type": "templatable",
|
|
||||||
"title": "Pixywerk2 RSS Feed"
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue