50 lines
3.7 KiB
Plaintext
50 lines
3.7 KiB
Plaintext
Tasks:
|
|
✔ Move all the scss into the new theme. @done (5/31/2020, 3:26:30 AM)
|
|
✔ Move the image shortcode into the new theme. @done (5/31/2020, 5:08:44 AM)
|
|
✔ Recreate the fonts scss file and apply it. @done (5/31/2020, 5:06:58 AM)
|
|
✔ Download and create the monospace font. @done (5/31/2020, 5:06:59 AM)
|
|
✔ Remove any unneccessary additions from old theme (custom css, prism etc). @done (6/1/2020, 4:27:36 AM)
|
|
✔ Configure autoprefixer. @done (6/1/2020, 4:13:55 AM)
|
|
✔ Add animate on scroll to the bundle. @done (6/1/2020, 4:51:38 AM)
|
|
✔ Configure purgecss with aos library. @done (6/1/2020, 5:36:38 AM)
|
|
✔ Document purgecss with multiple paths @done (6/2/2020, 3:46:41 AM)
|
|
✔ Change font to Liberv2. @done (6/2/2020, 3:46:49 AM)
|
|
✔ Change main font weight using variables rather than font file. @done (6/2/2020, 3:46:51 AM)
|
|
✔ Fix table and bootstrap issues with monospace font. @done (6/2/2020, 3:47:27 AM)
|
|
✔ Create a gulpfile to build the search index. @done (6/3/2020, 4:05:01 AM)
|
|
☐ Add matomo to project.
|
|
☐ Using archetypes.
|
|
✔ Theme similar to forestry. @done (6/14/2020, 2:49:09 AM)
|
|
☐ Document making bavbar active (goes in the header.html or navbar) <https://discourse.gohugo.io/t/another-way-to-make-a-menu-item-active/17029/21> make sure in config.toml the url ends in /.
|
|
|
|
Theme:
|
|
✔ Colour scheme (forestry) @done (6/9/2020, 12:24:25 PM)
|
|
✔ Choose a Colour @done (6/9/2020, 12:24:26 PM)
|
|
✔ Change link colour @done (6/9/2020, 12:24:25 PM)
|
|
✔ Change post info colour @done (6/12/2020, 9:55:06 PM)
|
|
✔ Info, warning admonitions (using colour scheme) @done (6/9/2020, 12:24:29 PM)
|
|
✔ Post layout @done (6/12/2020, 9:55:05 PM)
|
|
✔ TOC @done (6/9/2020, 12:24:31 PM)
|
|
✔ Create a series admonition as a shortcode - use yellow. Include this in any series posts. @done (6/14/2020, 2:48:59 AM)
|
|
|
|
Search:
|
|
✔ Search bar like Font awesome @done (6/9/2020, 12:24:33 PM)
|
|
✔ Have search auto run whenever a button is pressed @done (6/7/2020, 5:38:31 PM)
|
|
|
|
Gulp:
|
|
☐ Change lunr insert - should insert the whole script html with a dummy tag that it can use to find.
|
|
✔ Using <https://stackoverflow.com/questions/23247642/modify-file-in-place-same-dest-using-gulp-js-and-a-globbing-pattern> and <https://www.npmjs.com/package/gulp-replace> to handle hashed images. @done (6/4/2020, 1:28:15 AM)
|
|
Notes:
|
|
✔ If you are not using Hugo, you could use the above to dynamically reference images in your html, and use gulp to replace them with the images bundled with webpack. Name the images the same as they're referenced, then replace any `<img src="">` with the bundled image in the html. You can get the mapping from the output from webpack, using the unique image name as the key.. You can then use gulp to minimise or resize the images. @done (6/4/2020, 1:28:13 AM)
|
|
✔ Hugo will bundle your images into their own folders. You can use gulp to find images in your `./posts` (or even the whole project), and resize/minimise them. @done (6/4/2020, 1:23:48 AM)
|
|
✔ Document everything in notes @done (6/3/2020, 7:20:55 PM)
|
|
✔ Have search job save to a file. @done (6/3/2020, 7:20:55 PM)
|
|
✔ Document yarn automatically resolving modules locally for commands you give it (running gulp it will automaitcally find it). @done (6/3/2020, 1:21:46 AM)
|
|
✔ Document javascript exports using ES6. @done (6/3/2020, 1:21:47 AM)
|
|
✔ Using the cjs extension for gulpfile.or using type: module in package.json. @done (6/3/2020, 1:21:48 AM)
|
|
Notes:
|
|
✔ When can we use require vs import? @done (6/3/2020, 1:21:49 AM)
|
|
|
|
Hugo:
|
|
✔ Add 3 image locations to documentation (./static/images, ./theme/static/dist, ./content) @done (6/4/2020, 1:30:34 AM)
|