You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -62,7 +62,7 @@ Start by creating a new virtual environment for your project.
62
62
python3 -m venv
63
63
```
64
64
65
-
<imgsrc="/img/170531-static-sites-pelican/activate-virtualenv.png"width="100%"class="technical-diagram img-rounded"style="border:1pxsolid#ccc"alt="Create and activate the Python virtual environment.">
65
+
<imgsrc="/img/170605-static-sites-pelican/activate-virtualenv.png"width="100%"class="technical-diagram img-rounded"style="border:1pxsolid#ccc"alt="Create and activate the Python virtual environment.">
66
66
67
67
Install the appropriate dependencies after your virtualenv is activated.
68
68
The text `(staticsite)` should be prepended to your command prompt. Install
@@ -173,9 +173,10 @@ Done: Processed 0 articles, 0 drafts, 0 pages and 0 hidden pages in 0.07 seconds
173
173
174
174
175
175
## Serve the site
176
-
A major issue with Fabric is that it is still only compatible with
177
-
Python 2.x. Python 3 support is supposed to come in Fabric 2, but
178
-
that is not yet released.
176
+
A major issue with Fabric is that it is
177
+
[still only compatible with Python 2.x](https://github.com/fabric/fabric/issues/1017).
178
+
Python 3 support is supposed to come in Fabric 2, but that has not yet
179
+
been released.
179
180
180
181
Therefore I recommend skipping the Fabric file and running commands
181
182
directly with Python 3.
@@ -192,12 +193,19 @@ application bound to port 8000.
192
193
python -m http.server 8005
193
194
```
194
195
196
+
## Create Content
197
+
198
+
195
199
196
200
## Edit Configuration
197
201
Change the time zone to your zone. Wikipedia has
198
202
[a handy look up table of valid time zones values](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
199
203
200
204
205
+
## Modify the Theme
206
+
207
+
208
+
201
209
## What's next?
202
210
You just generated your first [Pelican](/pelican.html) static website using
203
211
[Markdown](/markdown.html) and [Jinja2](/jinja2.html). Next you can
@@ -215,6 +223,6 @@ on Twitter
215
223
or [@mattmakai](https://twitter.com/mattmakai).
216
224
217
225
See something wrong in this blog post? Fork
218
-
[this page's source on GitHub](https://github.com/mattmakai/fullstackpython.com/blob/master/content/posts/170531-static-sites-pelican.markdown)
226
+
[this page's source on GitHub](https://github.com/mattmakai/fullstackpython.com/blob/master/content/posts/170605-static-sites-pelican.markdown)
0 commit comments