narusemotoki / replacer

This is plugin of Pelican. You can replace a text of a generated HTML.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is plugin of Pelican. You can replace a text of a generated HTML. You can write replacing rule in your pelicanconf.py.

Example

This example is replacing from '<table border="1" class="docutils">' to '<table class="table table-striped table-bordered table-hover">'.

REPLACES = (
    (u'<table border="1" class="docutils">', u'<table class="table table-striped table-bordered table-hover">'),
)

About

This is plugin of Pelican. You can replace a text of a generated HTML.

License:GNU Affero General Public License v3.0


Languages

Language:Python 100.0%