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
<?php | |
/** | |
* Plugin Name: Gulp Sitemap Generator | |
* Plugin URI: https://gladdy.uk/blog/2014/04/13/using-uncss-and-grunt-uncss-with-wordpress/ | |
* Description: Generate a JSON list of every page on a site so it can be used with Gulp and uncss. | |
* Author: Liam Gladdy | |
* Author URI: http://gladdy.co.uk | |
* Version: 1.0 | |
*/ |
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
The only requirements for popup footnotes in iBooks are: | |
* Ebook has to be an EPUB3 | |
* epub:type "noteref" and "footnote" | |
So you can link to a totally separate document, as you normally would for endnotes, | |
but include the attributes so the <a> link behaves differently in iBooks, instead triggering the popup. | |
Original reference link would look something like this (in a file called ch001.html): | |
<a epub:type="noteref" href="footnote.html#note1">1</a></div> |
src
├── layouts
│ └── default.html
├── pages
│ └── index.html
├── data
│ └── i18n
│ ├── cn.json
│ └── template.html
NewerOlder