aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/snippets/section.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-23 16:52:53 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-23 16:56:55 +0300
commitc8bbc25228a7d199ca6868db7375f1661c3ef6e4 (patch)
treeb6b3c84795e441c05cc2d2a7fbbbfc34a492b377 /_includes/snippets/section.html
parentindex.html: reuse page.title (diff)
downloadjekyll-theme-c8bbc25228a7d199ca6868db7375f1661c3ef6e4.tar.gz
jekyll-theme-c8bbc25228a7d199ca6868db7375f1661c3ef6e4.zip
_includes: move everything to jekyll-theme/
Diffstat (limited to '_includes/snippets/section.html')
-rw-r--r--_includes/snippets/section.html25
1 files changed, 0 insertions, 25 deletions
diff --git a/_includes/snippets/section.html b/_includes/snippets/section.html
deleted file mode 100644
index cbb778f..0000000
--- a/_includes/snippets/section.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{% if page.snippets_collapsible %}
-<div class="panel-group" id="accordion_{{ include.section_id }}">
-{% else %}
-<div class="panel-group">
-{% endif %}
-
-{% for i in page.snippets[include.section_id] %}
- {% include snippets/header.html snippet_path=i section_id=include.section_id %}
-
-{% capture snippet %}
-```{{ page.snippets_language }}
-{% include_relative {{ page.snippets_root_directory }}/{{ i }} %}```
-{% endcapture %}
-
-{{ snippet | markdownify }}
-
- {% include snippets/footer.html %}
-{% endfor %}
-
-</div>
-
-{% for i in page.snippets[include.section_id] %}
- {% capture snippet_id %}{{ i | replace:"/","_" | replace:".","_" }}{% endcapture %}
-[{{ i }}]: #{{ snippet_id }}
-{% endfor %}