惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗
The Cloudflare Blog
D
DataBreaches.Net
J
Java Code Geeks
G
Google Developers Blog
L
LangChain Blog
N
Netflix TechBlog - Medium
Stack Overflow Blog
Stack Overflow Blog
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
小众软件
小众软件
量子位
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
博客园_首页
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
腾讯CDC

Pelican – A Python Static Site Generator

Pelican 4.12 released Pelican 4.11 released Pelican 4.10 released Pelican 4.9 released New Pelican Site, Docs Theme, and Discussions Pelican 4.8 released Pelican 4.7 released Pelican 4.6 released Migrating Plugins to New Organization Pelican 4.5 released Pelican Sprint — Fall 2019 Pelican 4.1 released Pelican 4.0 released Pelican 3.7 released Pelican 3.6 released Pelican 3.5 released Pelican 3.4 released Pelican 3.3 released Using Pelican with Heroku Pelican 3.2 released Pelican's Unified Codebase Pelican 3.1 released Pelican 3.0 released Pelican now has a blog of its own!
I18N Subsites plugin released
Ondřej Grove · 2014-02-05 · via Pelican – A Python Static Site Generator

Pelican has supported article and page translations since version 2.6. However, this functionality does not include translations of themes or the site name, something many have asked for.

The new I18N Subsites plugin makes it simple to:

  • override settings for each language, e.g. SITENAME or MENUITEMS
  • translate and localize themes using jinja2.ext.i18n
  • automatically create translated subsites such as http://example.com/fr/

The new plugin is available in the Pelican plugin repository.

A demo site has been put up to showcase the plugin. You can use the demo site source as a reference for using the plugin in your own site.

Although this plugin has been tested, it is quite possible that you will find some bugs or inconvenient behavior as it is very new. Do not hesitate to file an issue!

Finally, I would like to thank the Pelican developers for implementing and designing Pelican so well that making this plugin was straightforward, fast, and fun.