diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-07-23 10:29:05 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-07-23 10:31:58 -0700 |
commit | 44cf2a3c16e2dbe68f6c78bcc3a6bbe4c88eeb91 (patch) | |
tree | e3524b6c3338d01f4ad24af274e6edfc4d200a91 /source/.well-known | |
parent | 740b9301747a5a401cd9c3a6f2a80b3d510dd5f9 (diff) | |
download | my_new_personal_website-44cf2a3c16e2dbe68f6c78bcc3a6bbe4c88eeb91.tar.xz my_new_personal_website-44cf2a3c16e2dbe68f6c78bcc3a6bbe4c88eeb91.zip |
pyblog: make HTML postprocessing extensible
Previously there's only one postprocessing function `number_code_lines`,
which directly reads an HTML file, and after processing, writes
back. Now the reading and writing is handled by a dedicated dispatcher
`postprocess_html_file`, which can call multiple postprocessors that
operates on a soup object.
Diffstat (limited to 'source/.well-known')
0 files changed, 0 insertions, 0 deletions