Skip to content

Commit

Permalink
move to new hyde
Browse files Browse the repository at this point in the history
  • Loading branch information
novel committed Apr 30, 2016
1 parent 1ba9c93 commit 5b1234a
Show file tree
Hide file tree
Showing 11 changed files with 39 additions and 175 deletions.
6 changes: 3 additions & 3 deletions Makefile
@@ -1,4 +1,4 @@
HYDE?= hyde.py
HYDE?= hyde
TIDY?= tidy -qe
FIND?= find
ADDRESS?= 127.0.0.1
Expand All @@ -7,7 +7,7 @@ clean:
rm -fr deploy

generate: clean
${HYDE} -g -s .
${HYDE} -s . gen

validate: generate
@for html in `${FIND} deploy -name "*.html"|xargs`; do \
Expand All @@ -16,7 +16,7 @@ validate: generate
done

serve: generate
${HYDE} -a ${ADDRESS} -w -k -s .
${HYDE} -s . serve -a ${ADDRESS}

upload: generate
./upload.sh
15 changes: 0 additions & 15 deletions content/.htaccess

This file was deleted.

9 changes: 5 additions & 4 deletions content/about/about.html
@@ -1,7 +1,8 @@
{% extends "_page.html" %}
{%hyde
title: "About"
%}
---
extends: _page.html
title: About
---

{% block article %}

# About
Expand Down
10 changes: 4 additions & 6 deletions content/index.html
@@ -1,9 +1,7 @@
{% extends "skeleton/_body.html" %}
{%hyde
title: "Home"
created: 2009-02-01 18:09:05
listing: True
%}
---
extends: skeleton/_body.html
title: Home
---

{% block extra_js %}
<script type="text/javascript"
Expand Down
File renamed without changes.
File renamed without changes.
9 changes: 5 additions & 4 deletions content/projects/projects.html
@@ -1,7 +1,8 @@
{% extends "_page.html" %}
{%hyde
title: "Projects"
%}
---
extends: _page.html
title: Projects
---

{% block article %}

[TOC]
Expand Down
9 changes: 5 additions & 4 deletions content/writings/writings.html
@@ -1,7 +1,8 @@
{% extends "_page.html" %}
{%hyde
title: "Writings"
%}
---
extends: _page.html
title: Writings
---

{% block article %}

Time to time I write about UNIX-like systems and software. I'm interested
Expand Down
2 changes: 1 addition & 1 deletion layout/skeleton/_body.html
@@ -1,5 +1,5 @@
{% extends "skeleton/_base.html" %}
{% block title %}{{site.name}} :: {{page.title}} {% endblock %}
{% block title %}{{site.name}} :: {{resource.meta.title}} {% endblock %}
{% block content %}
{% block context_nav %}{% endblock %}
{% block sitenav %}
Expand Down
138 changes: 0 additions & 138 deletions settings.py

This file was deleted.

16 changes: 16 additions & 0 deletions site.yaml
@@ -0,0 +1,16 @@
mode: development
media_root: media
media_url: /media
base_url: /
plugins:
- hyde.ext.plugins.meta.MetaPlugin
- hyde.ext.plugins.meta.AutoExtendPlugin
- hyde.ext.plugins.meta.SorterPlugin
- hyde.ext.plugins.meta.TaggerPlugin
- hyde.ext.plugins.text.SyntextPlugin
- hyde.ext.plugins.text.TextlinksPlugin

context:
data:
site:
name: Roman Bogorodskiy

0 comments on commit 5b1234a

Please sign in to comment.