File tree 2 files changed +24
-0
lines changed
2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title: "SQL Cheats"
3
+ layout: collection_index
4
+ ---
5
+ < h1 class ="page-heading "> SQL Cheats</ h1 >
6
+
7
+
8
+ < ul class ="collection-list " data-path ="{{page.path}} ">
9
+ {% for collection in site.collections %}
10
+ <!-- {{ collection.label }} -->
11
+ {% if page.path contains collection.label %}
12
+ <!-- {{ page.path }} does contain {{ collection.label }} -->
13
+ {% assign sorted_docs = (collection.docs | sort: 'title') %}
14
+ {% for doc in sorted_docs %}
15
+ <!-- Iterating on {{doc.title}} @ {{doc.url}} -->
16
+ {% unless doc.url contains "index" %}
17
+ < li >
18
+ < a class ="collection-link " href ="{{ doc.url | prepend: site.baseurl }} "> {{ doc.title}}</ a >
19
+ </ li >
20
+ {% endunless %}
21
+ {% endfor %}
22
+ {% endif %}
23
+ {% endfor %}
24
+ </ ul >
File renamed without changes.
You can’t perform that action at this time.
0 commit comments