feat: Update basic screens
- Add order to front matter - Separate script and assets block - Sort index lists
This commit is contained in:
parent
fdef673886
commit
6a717b7ab8
7 changed files with 20 additions and 21 deletions
|
|
@ -2,6 +2,7 @@
|
|||
title: Layouts
|
||||
tags:
|
||||
- demoIndex
|
||||
order: 4
|
||||
---
|
||||
{% layout 'hippie/page.liquid' %}
|
||||
|
||||
|
|
@ -298,14 +299,13 @@ tags:
|
|||
</section>
|
||||
{% endblock %}
|
||||
|
||||
{% block assets %}
|
||||
{{ block.super -}}
|
||||
<script src="/vendor/jq-sticky-anything.min.js"></script>
|
||||
{% endblock %}
|
||||
{% block script %}
|
||||
{{ block.super -}}
|
||||
<script src="/vendor/jq-sticky-anything.min.js" type="text/javascript"></script>
|
||||
<script>
|
||||
assetsLoaded = true;
|
||||
logPerf('Assets loaded.', assetsLoaded);
|
||||
// Page specific
|
||||
// ------------------------------------------------------------------------------
|
||||
$(document).ready(function () {
|
||||
// jq-sticky-anything
|
||||
$('#js_demo_fix').stickThis({pushup: '#js_demo_stop'});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue