Table of Contents
Features and components that don't use any JS
Static features do not require JavaScript. Static components are implemented using only HTML and CSS!
By adding the key header
under extra
in the page metadata, a header image can be specified for the post. This image will be used both on the portfolio entries list and in the page itself.
Example:
[extra]
header = "../static.jpg"
Note that this is not required. If you take a look at the sample blog post, you can see that it renders and looks just fine without the header photo.
Each header is exponentially smaller than the previous header.
Heading 1
Some textHeading 2
Some more textHeading 3
Here's some textHeading 4
And more textHeading 5
Look at all this text!Heading 6
The default typeface chosen follows the advice of the best font is the one you don't notice. This, however, can be easily changed by modifying the base.html
and base.scss
files.
Here's some bold text, some italic text, and some bold and italic text.
JavaScript:
function add(x, y) {
return x + y;
}
Markdown:
# Code block inception
Markdown *within* markdown!
...and many more!
Based off of Google's Material Icons.
<!-- Icon shortcode -->
- {{ icon(id="waving_hand") }} Hello world!
- {{ icon(id="check") }} All done.
- {{ icon(id="shopping_basket") }} Check out?
You found me, hi there!
Markdown also works in accordions.
<!-- Use the accordion shortcode to create accordions. -->
{% accordion(summary="Hello World!") %}
You found me, hi there!
**Markdown** also works in *accordions*. {{ icon(id="style") }}
{% end %}