aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts/2021-04-09-test-post3.md
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-04-10 00:54:33 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-04-10 00:54:33 +0300
commitd190b28f88637b7e4e2569e423a70daca9ae025b (patch)
tree9cdf16e648b16018cfa599cb10383964b90741d4 /_posts/2021-04-09-test-post3.md
parentworkflows/jekyll: fix action usage (diff)
downloadjekyll-theme-d190b28f88637b7e4e2569e423a70daca9ae025b.tar.gz
jekyll-theme-d190b28f88637b7e4e2569e423a70daca9ae025b.zip
add snippets example
Diffstat (limited to '')
-rw-r--r--_posts/2021-04-09-test-post3.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/_posts/2021-04-09-test-post3.md b/_posts/2021-04-09-test-post3.md
index 340fc56..a1ca425 100644
--- a/_posts/2021-04-09-test-post3.md
+++ b/_posts/2021-04-09-test-post3.md
@@ -1,7 +1,13 @@
---
title: Test post 3
excerpt: >
- This is test post #3.
+ This is test post #3. With snippets!
+snippets_root_directory: snippets
+snippets_language: c++
+snippets:
+ hello:
+ - snippet.hpp
+ - snippet.cpp
---
Aenean ex ipsum, feugiat vel tortor sit amet, dictum facilisis dui.
Pellentesque commodo leo at eros elementum porta.
@@ -14,3 +20,5 @@ Nullam eget tortor nisl.
Class aptent taciti sociosqu ad litora torquent per conubia nostra, per
inceptos himenaeos.
Pellentesque posuere nunc a purus eleifend pulvinar.
+
+{% include snippets/section.html section_id='hello' %}