Michael's Motive
Welcome to the source code to my website.
This, like most software nowadays, will never be done.
To see what I'm working on or planning at any time check here
Build
- Set the environment variable
EDITOR
=code
- Install Ruby
- Install Node.js
npm i -g spellchecker-cli
gem i bundler jekyll
bundle
bundle exec jekyll serve [--drafts] [--livereload]
Pre Commit
mdl .
deadlink
spellchecker -f _posts -l en-CA -d dictionary.txt -q --no-suggestions
cat dictionary.txt | sort > dictionary.txt
Writing
bundle exec jekyll draft "My new draft"
bundle exec jekyll publish _drafts/my-new-draft.md
Helper Aliases
Should I add a package.json
and make these scripts in it?
draft <title> <folder>
=>bundle exec jekyll draft "<title>" && mv _drafts/<title>.md _drafts/<folder>/<title>.md
publish <folder> <title>
=>bundle exec jekyll publish _drafts/<folder>/<title>.md
Resources
- Emoji Cheat Sheet
- Thesaurus
- Adjectives
- Google Lighthouse
- Google Analytics
- Jekyll Front Matter
- Liquid Documentation
- McMaster
- GitHub Pages Dependencies
- Markdown Tables
- Minima Theme
- Chirpy Theme - Might switch to
- Jekyll Site Tips
Website To Do List
- Misc
- SEO Optimization https://jsinibardy.com/optimize-seo-jekyll
- Comment section: https://lobste.rs/
- Static site host since GitHub pages can't use unsupported jekyll plugins. Use action to build and push to a
docs
branch / use netlify or similar - Review all jekyll mention @ tags with friends for permission and their preference of social media / account
- Setup an email newsletter: <buttondown.email> ? for those who don't want to use an RSS reader
- Create a stats page: https://sylhare.github.io/2021/05/26/Generate-jekyll-blog-stats.html
- Standard file names and directories: lowercase with hypens or underscores?
- Add reading and tv show and movie cataloging?
- Look
- Table of Contents for longer posts https://www.aleksandrhovhannisyan.com/blog/jekyll-table-of-contents/
- Search bar
- Time to read on blog posts
- Tag posts
- Image viewer - Make a liquid function to make inserting image with caption easy and the same all over the site
- Image Gallery https://dmnfarrell.github.io/software/jekyll-galleries for art.md
- Image Carousel
- If a base image path is defined in the frontmatter use that
- 3D model viewer https://github.com/srichs/ThreeDJekyll https://tonybox.net/posts/simple-stl-viewer/
- Add friend directory, so in a post I can just say their name like everyone knows them and hovering or clicking the link will give a quick introduction to them
- Show last modified date: https://dev-yakuza.posstree.com/en/jekyll/jekyll-last-modified-at/
- Archive view of posts by month and year like https://boonepeter.github.io/archive/
- Clickable Post Header Links
- Sticky Nav BarEx: https://powers-hell.com/
- This site is sick! Steal ideas from its design 😌
- https://powers-hell.com/2021/07/25/build-a-jekyll-development-environment-with-vs-code-remote-containers/
- https://typefully.com/DanHollick clean site
- Add footnotes section ability
- Performance
- Uglify / Minify generated HTML, CSS, JS
- Compress and resize images to reduce load time and bandwidth
- Search Engine Verification
- Script that finds files in the
/assets/
directory that aren't used in production or in drafts - Archive information (prone to deletion) I'm referencing to in my links: Amazon products, etc.
- Song links: youtube, youtube music, spotify?
- Only build and publish when the
_posts
orassets
directory contents have changed - Set a base assets folder, so images can be referenced with relative ease