Thank you for using the theme. If you want to see an example post go here. Download the theme
Mathjax
To use mathjax, simply put your math between \\(...\\)
for inline code and between $$...$$
for free standing code. IMPORTANT do not include the back ticks!
\\(ax^2 + bx + c = 0\\)
yields \(z = x + y\) And $$ ax^2 + bx + c = 0 $$
gives.
$$ ax^2 + bx + c = 0 $$
Callout
This theme supports 7 callout colors. To make a callout block, start with 3 colons, the name of type of callout you want to use followed by three closing colons.
::: callout-pink
Your text
:::
Standard Collout
put by the colon callout.
Yellow Callout
This is a yellow callout. Put callout-yellow by the colon
Green Callout
This is a green callout. Put callout-green by the colon
Pink Callout
This is a pink callout. Put callout-pink by the colon
purple Callout
This is a purple callout. Put callout-purple by the colon
Blue Callout
This is a purple callout. Put callout-purple by the colon
Warning
This is a red callout. Put warning by the colon
Shortcode
{% Image "Image URL", "Image description" %}
This short code will make your images load faster and is responsive. You can use it in your markdown instead of[Image Description](image url)
.
Hyvor
You must have a Hyvor account to use this feature. In sr/_includes/layouts open post.njk and look for
<!--- Change ID number to your Hyvor Website ID. Remove comment line to use Hyvor
<div id="hyvor-talk-view"></div>
<script type="text/javascript">
var HYVOR_TALK_WEBSITE = IDNUMBER; // DO NOT CHANGE THIS
var HYVOR_TALK_CONFIG = {
url: '{% set absolutePostUrl %}{{ site.url }}{{ post.url | url }}{% endset %}',
id: '{{page.id}}'
};
</script>
<script async type="text/javascript" src="//talk.hyvor.com/web-api/embed"></script>
-->
Delete the comment out code (the <! and ---- and -->). Change IDNUMBER
to your Website ID from Hyvor.
NetlifyCMS
- Set up a netlify account if you do not already have one and add your repository to it, Here is a step by step guide
- In src>admin open config.yml in a text editor. Change the repo (repository) to your repository.
- In Netlify you will need to add github in identity>registrations
Final remarks
I am very new to 11ty and this is my first theme. If you notice any mistakes please feel free to open an issue.
If you have questions or advice donβt hesitate to talk to me on twiiter.
Thank you π