bundle exec jekyll serve
Used theme
More separator
This post has a manual excerpt <!--more-->
set after the second paragraph. The following YAML Front Matter has also be applied:
excerpt_separator: "<!--more-->"
Links
This theme supports link posts, made famous by John Gruber. To use, just add link: http://url-you-want-linked
to the post's YAML front matter and you're done.
Quotes
Only one thing is impossible for God: To find any sense in any copyright law on the planet.
Notice
When using Kramdown {: .notice}
can be added after a sentence to assign the .notice
to the <p></p>
element.
Changes in Service: We just updated our privacy policy here to better service our customers. We recommend reviewing the changes. {: .notice}
Primary Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--primary}
Info Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--info}
Warning Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--warning}
Danger Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--danger}
Success Notice: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. {: .notice--success}
Want to wrap several paragraphs or other elements in a notice? Using Liquid to capture the content and then filter it with markdownify
is a good way to go.
{% raw %}{% capture notice-2 %}
#### New Site Features
* You can now have cover images on blog pages
* Drafts will now auto-save while writing
{% endcapture %}{% endraw %}
<div class="notice">{% raw %}{{ notice-2 | markdownify }}{% endraw %}</div>
{% capture notice-2 %}
New Site Features
- You can now have cover images on blog pages
- Drafts will now auto-save while writing {% endcapture %}
Or you could skip the capture and stick with straight HTML.
<div class="notice">
<h4>Message</h4>
<p>A basic message.</p>
</div>
Message
A basic message.
Last modified
last_modified_at: 2016-03-09T16:20:02-05:00