diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-31 16:10:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-05-31 16:10:50 +0300 |
commit | e726014585409acacef2e79a8d83a55a9e47ecb6 (patch) | |
tree | b0d2e8fc7129edcbfeb45f72f71f695a5b369bd8 /_posts/2021-04-10-collapsible.md | |
parent | posts: permalinks without date (diff) | |
download | jekyll-theme-e726014585409acacef2e79a8d83a55a9e47ecb6.tar.gz jekyll-theme-e726014585409acacef2e79a8d83a55a9e47ecb6.zip |
add more examples, update README
Diffstat (limited to '_posts/2021-04-10-collapsible.md')
-rw-r--r-- | _posts/2021-04-10-collapsible.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/_posts/2021-04-10-collapsible.md b/_posts/2021-04-10-collapsible.md new file mode 100644 index 0000000..17b82a3 --- /dev/null +++ b/_posts/2021-04-10-collapsible.md @@ -0,0 +1,22 @@ +--- +title: Collapsible snippets +excerpt: > + Snippets can be hidden in collapsible panels. +snippets_root_directory: snippets +snippets_language: c++ +snippets_collapsible: true +snippets: + hello: + - hello.hpp + - hello.cpp + world: + - world.hpp + - world.cpp +--- +Just set a front matter value, and voilĂ ! + +{% include snippets/section.html section_id='hello' %} + +This is another set of snippets: + +{% include snippets/section.html section_id='world' %} |