Skip to content

Commit c8ba2da

Browse files
committed
working on next post
1 parent f86e8b0 commit c8ba2da

File tree

4 files changed

+20
-8
lines changed

4 files changed

+20
-8
lines changed

content/pages/12-meta/01-change-log.markdown

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ inception in December 2012. You can view detailed changes via the
1414

1515

1616
## 2017
17+
### June
18+
* Updates to [Twilio](/twilio.html) and [Pelican](/pelican.html) pages
19+
with more resources.
20+
1721
### May
1822
* New [Falcon](/falcon.html) page to round out web frameworks pages.
1923
* Major updates to the [WebSockets page](/websockets.html) with new Python

content/posts/170531-static-sites-pelican.markdown renamed to content/posts/170605-static-sites-pelican.markdown

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ title: Generating Static Websites with Pelican, Jinja2 and Markdown
22
slug: generating-static-websites-pelican-jinja2-markdown
33
meta: Learn how to generate static websites with Python, the Pelican static site generator, Jinja2 and Markdown.
44
category: post
5-
date: 2017-05-31
6-
modified: 2017-05-31
7-
headerimage: /img/170531-static-sites-pelican/header.jpg
5+
date: 2017-06-05
6+
modified: 2017-06-05
7+
headerimage: /img/170605-static-sites-pelican/header.jpg
88
headeralt: Pelican, Jinja2 and Markdown logos.
99

1010

@@ -62,7 +62,7 @@ Start by creating a new virtual environment for your project.
6262
python3 -m venv
6363
```
6464

65-
<img src="/img/170531-static-sites-pelican/activate-virtualenv.png" width="100%" class="technical-diagram img-rounded" style="border:1px solid #ccc" alt="Create and activate the Python virtual environment.">
65+
<img src="/img/170605-static-sites-pelican/activate-virtualenv.png" width="100%" class="technical-diagram img-rounded" style="border:1px solid #ccc" alt="Create and activate the Python virtual environment.">
6666

6767
Install the appropriate dependencies after your virtualenv is activated.
6868
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
173173

174174

175175
## 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.
179180

180181
Therefore I recommend skipping the Fabric file and running commands
181182
directly with Python 3.
@@ -192,12 +193,19 @@ application bound to port 8000.
192193
python -m http.server 8005
193194
```
194195

196+
## Create Content
197+
198+
195199

196200
## Edit Configuration
197201
Change the time zone to your zone. Wikipedia has
198202
[a handy look up table of valid time zones values](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones).
199203

200204

205+
## Modify the Theme
206+
207+
208+
201209
## What's next?
202210
You just generated your first [Pelican](/pelican.html) static website using
203211
[Markdown](/markdown.html) and [Jinja2](/jinja2.html). Next you can
@@ -215,6 +223,6 @@ on Twitter
215223
or [@mattmakai](https://twitter.com/mattmakai).
216224

217225
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)
219227
and submit a pull request.
220228

static/img/170531-static-sites-pelican/activate-virtualenv.png renamed to static/img/170605-static-sites-pelican/activate-virtualenv.png

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)