Skip to content

Commit

Permalink
file cleanup (and sqlcheats)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoo committed Nov 26, 2024
1 parent 83c4112 commit eb0406e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions _sql_cheats/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
title: "SQL Cheats"
layout: collection_index
---
<h1 class="page-heading">SQL Cheats</h1>


<ul class="collection-list" data-path="{{page.path}}">
{% for collection in site.collections %}
<!-- {{ collection.label }} -->
{% if page.path contains collection.label %}
<!-- {{ page.path }} does contain {{ collection.label }} -->
{% assign sorted_docs = (collection.docs | sort: 'title') %}
{% for doc in sorted_docs %}
<!-- Iterating on {{doc.title}} @ {{doc.url}} -->
{% unless doc.url contains "index" %}
<li>
<a class="collection-link" href="{{ doc.url | prepend: site.baseurl }}">{{ doc.title}}</a>
</li>
{% endunless %}
{% endfor %}
{% endif %}
{% endfor %}
</ul>

0 comments on commit eb0406e

Please sign in to comment.