Rebuilding This Blog with Pelican
Here's a simple blog that says I'm using Pelican to rebuild the blog. I'll see you later about the feelings of returning to blogging.
Jekyll is no longer used, mainly because it does not want to install too many development environments on the computer. And Github Pages is not going to upgrade Jekyll, and I'm going to have to upgrade it, too much trouble.
Pelican's benefits are very simple, it's easy to generate static pages, and I'll use Python.
Pelican has a lot of use on the Internet, and here it is mainly a special place.
First, pictures and so on, and so on, and so on, and so on and so forth. pelicanconf.py Inner Settings STATIC_PATHS:
STATIC_PATHS = [
'images',
]
And in Markdown, the reference to the picture requires this:

Then Favicon, I set it up and put favicon.ico Put it on./content/extra/ Under the heading:
STATIC_PATHS = [
'images',
'extra',
]
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/CNAME': {'path': 'CNAME'},
}
Obviously, mine. extra It's still on the list. CNAME and rebots.txt They're gonna put them all when they're made. output The root of the directory.
By runningpelican contentIt's easy to be here. output It produces all static pages, which can be released by git updating to Github Pages. Because I used Jekyll before, so I deleted all the original files. In addition, the work of the blog, Pelican, needs to be stored in a separate warehouse.
In addition, Pelican can change the subject and can use the website.Pelican ThemesFind your favorite theme. When I finish this, I'll get to the subject.
That's about it.