Edge Case: Nested and Mixed Lists
Nested and mixed lists are an interesting beast. It’s a corner case to make sure that
- Lists within lists do not break the ordered list numbering order
- Your list styles go deep enough.
Ordered – Unordered – Ordered
- ordered item
- ordered item
- unordered
- unordered
- ordered item
- ordered item
- ordered item
- ordered item
Ordered – Unordered – Unordered
- ordered item
- ordered item
- unordered
- unordered
- unordered item
- unordered item
- ordered item
- ordered item
Unordered – Ordered – Unordered
- unordered item
- unordered item
- ordered
- ordered
- unordered item
- unordered item
- unordered item
- unordered item
Unordered – Unordered – Ordered
- unordered item
- unordered item
- unordered
- unordered
- ordered item
- ordered item
- unordered item
- unordered item
Task Lists
- Finish my changes
- Push my commits to GitHub
- Open a pull request
Edge Case: Post with multiline excerpt
Et ex ullamco duis don’t combine these words quis laborum sunt sint. Nisi et Lorem reprehenderit cupidatat. Aliqua fugiat aliquip officia culpa elit. Adipisicing do eu duis aute et aute amet anim ut cillum aliqua. Aliqua adipisicing occaecat et ullamco fugiat.
Example content
Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Sed posuere consectetur est at lobortis. Cras mattis consectetur purus sit amet fermentum.
Curabitur blandit tempus porttitor. Nullam quis risus eget urna mollis ornare vel eu leo. Nullam id dolor id nibh ultricies vehicula ut id elit.
Exclude Post from Search Index
This post should not appear in the search index because it has the following YAML Front Matter:
search: false
Note: search: false
only works to exclude posts when using Lunr as a search provider.
{: .notice–info}
To exclude files when using Algolia as a search provider add an array to algolia.files_to_exclude
in your _config.yml
. For more configuration options be sure to check their full documentation.
algolia:
# Exclude more files from indexing
files_to_exclude:
- index.html
- index.md
- excluded-file.html
- _posts/2017-11-28-post-exclude-search.md
- subdirectory/*.html
Gemified Theme -- Alpha Release
Jekyll themes distributed as Ruby gems are finally here to make installing and upgrading much easier. Gone are the days of forking a repo just to “install it”. Or dealing with merge conflicts when pulling in upstream commits to “upgrade it”.
If you’re interested in testing out Minimal Mistakes as a gemified theme read on. There are a few caveats though:
- Support for a theme
assets
folder was recently added to Jekyll core, but has yet to be released or rolled into thegithub-pages
gem. Meaning you can’t use Minimal Mistakes as a Ruby gem there just yet… locally served or self-hosted installs should be fine if you don’t mind using a pre-release version of Jekyll. - Windows users can’t currently use themes packaged as gems due to a bug with file paths in Jekyll core. This is being worked on so hopefully a fix is on the way soon.
Fine with all that? Great. Let’s continue.
Gemified Theme -- Beta Release
Hot on the heels of Jekyll v3.3.0 is a beta release of Minimal Mistakes… as a gemified theme.
minimal-mistakes-jekyll
can only be used with Jekyll proper. If you’re hosting on GitHub Pages or using that gem the theme won’t work. 3rd party themes haven’t been white-listed so it’s a no go for now.
Fine with all that? Great. Let’s continue.
If you’re migrating a site already using Minimal Mistakes and haven’t customized any of the _includes
, _layouts
, _sass
partials, or assets
this should be quick and painless.
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick Start
Create a new post
$ hexo new "My New Post"
More info: Writing
Run server
$ hexo server
More info: Server
Generate static files
$ hexo generate
More info: Generating
Deploy to remote sites
$ hexo deploy
More info: Deployment