1.0.3 • Published 3 years ago
@cxss/hgfy v1.0.3
hgyf
hugofuckyourself, a static site generator.
- Templating engine
- i18n & Sass support
- Auto-refresh with
chokidar
&browser-sync
Example
~content/posts/en/2021-01-01-blog-post.md
+++
parent="post.html"
title="Example"
date=2021-01-01T15:13:56Z
+++
An example of what's possible with __hgfy__!.
~templates/post.html
+++
parent="root.html"
+++
<h1>{{ site::title }}</h1>
<article>
<h1>{{ child::data.title }}</h1>
<h2>Written at {{ child::data.date | date }} by {{ site::author }}</h2>
<pre>{{ child::content | md5 }}</pre>
<div class="post">
{{ child::content | markdown }}
</div>
</article>