-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathindex.html
104 lines (75 loc) · 2.67 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
===
title: Overview
subtitle: hyde in a nutshell
created: 2011-01-25 21:31:03
index: 1
===
§§ blurb
Hyde is a static website generator written in python. While Hyde took
life as [awesome Jekyll][Jekyll]'s [evil twin][], it has since been
completely consumed by [the dark side][python] and has an
[identity of its own][hydeid].
Hyde desires to fulfill the lofty goal of removing the
[pain points][static cons] involved in creating and maintaining
[static websites][static pros].
§§ /blurb
## Spotlight
* Support for powerful template languages like [Jinja2][] complemented
with custom tags and filters.
* Rich [object model][] and
overridable hierarchical [metadata][] thats available for use in
templates.
* Configurable [sorting, tagging and grouping][sorter] support.
* Extensible [plugin architecture][plugins] with text preprocessing and HTML
postprocessing support for complex content transformations.
* Instant preview using built-in [webserver][server] that regenerates
content if needed.
## Install
Hyde is available on [pypi][].
※ install.html as install
{{ install.blurb }}
You can find more detailed documentation in the
[installation section][install].
## Run
After installation is successful, creating & generating your website is
extremely simple.
To create a new hyde website:
~~~sh~~~
hyde -s /path/to/your/site create
~~~~~~~~
To generate the website:
~~~sh~~~
cd /path/to/your/site
hyde gen
~~~~~~~~
※ server.html as server
{{ server.blurb }}
For all the supported options, read the
[command line documentation][commandline] or run `hyde -h`.
## Your first hyde website
Hyde uses the `basic` layout to generate your website by default. When you
view your generated website, you will see the following dummy pages:
{% import "macros.j2" as macros %}
{{ macros.render_ember(basic_template) }}
You can now continue to edit the content, layout and styles to customize it to
your needs. Please see the [templating guide][templ] to get more information.
## Source
Hyde is [socially coded][hyde]. Feel free to [fork][forking].
[hydeid]: http://groups.google.com/group/hyde-dev/web/hyde-1-0
[Jekyll]: http://jekyllrb.com
[evil twin]: http://ringce.com/blog/2009/introducing_hyde
[Jinja2]: {{ links.jinja2 }}
[object model]: [[templates/#variables]]
[hyde]: https://github.com/hyde/hyde
[install]: [[install.html]]
[metadata]: [[plugins/metadata.html]]
[plugins]: [[plugins]]
[python]: http://python.org
[server]: [[server.html]]
[sorter]: [[plugins/sorter.html]]
[static cons]: [[static/#cons]]
[static pros]: [[static/#pros]]
[forking]: [[contribute.html]]
[commandline]: [[commands.html]]
[pypi]: http://pypi.python.org/pypi/hyde
[templ]: [[templates]]