shell
pip install hyde
shell
hyde create --name mysite
shell
hyde gen
yaml
---
title: My Hyde Website
author: John Doe
url: http://example.com
media_url: http://media.example.com
content_root: content
media_root: media
deploy_root: deploy
html
<!DOCTYPE html>
<html>
<head>
<title>{{ page.title }} - {{ site.title }}</title>
</head>
<body>
<header>
<h1>{{ site.title }}</h1>
</header>
<nav>
<ul>
{% for page in site.pages %}
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
{% endfor %}
</ul>
</nav>
<section>
{% block content %}{% endblock %}
</section>
<footer>
<p>© {{ site.author }}</p>
</footer>
</body>
</html>
markdown
---
title: About
url: about.html
---
markdown
{% extends "base.html" %}
{% block content %}
<h2>About</h2>
<p>This is the about page of my website.</p>
{% endblock %}
shell
hyde serve