Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
First version of plugin.
- Loading branch information
1 parent
94555d5
commit c94cff1
Showing
2 changed files
with
107 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
Nikola Metadata Upgrade (v7 to v8) | ||
================================== | ||
|
||
This is a plugin to upgrade metadata in `.meta` files from the old format | ||
(without descriptions) to the new reST-esque format. It only applies to users | ||
with two-file posts (`.meta` files alongside text) in the older format (up to 7 | ||
lines of text without any descriptions), used by Nikola before v8.0.0. If this | ||
is the case on your site, **you will be warned** by `nikola build` — otherwise, | ||
don’t install this plugin (it won’t do a thing anyway and will only waste disk | ||
space and load time). | ||
This is a plugin to upgrade old-style tags metadata (`draft`, `private`, `mathjax`) | ||
to new-style metadata, i.e. using the `status` and `has_math` metadata fields. The | ||
tags were used in Nikola v7 and earlier, and are no longer used by default in | ||
Nikola v8. If you are using them in your blog, **you will be warned** by | ||
`nikola build` — otherwise, don’t install this plugin (it won’t do a thing anyway | ||
and will only waste disk space and load time). | ||
|
||
The plugin adds the `nikola upgrade_metadata_v8` command. Remove the plugin | ||
manually after the upgrade. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters