-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathtest.html
30 lines (26 loc) · 1.03 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
id: sample
layout: default
title: Sample page
primarynavorder: 1
htmlclass: test
---
{% contentfor styles %}
{% stylesheet all %}
{% endcontentfor %}
<article>
<p>This is a sample page showing how to <a href="{% url sample %}">use page id's for linking</a>. Make sure the page has an id specified and use that as the argument to the url tag. Now the link will work even if the page is moved.</p>
<p>This is an encoded absolute url of this page: {{ page.absolute_url | urlencode }}</p>
<!-- sample deferred image -->
<img src="{% asset_path s.gif %}" data-low="/images/home.jpg" data-high="/images/2x/home.jpg" width="931" height="617" alt="sample"/>
<noscript>
<img src="/images/home.jpg" alt="sample" width="931" height="617" />
</noscript>
# 1. create thor dev mode that changes config to not compress CSS or JS
# 2. asset_path must work in JSON files
# 3. test with CDN
# 4. test Annual Report 2011 or Brandlogic IBM site for add_base_path
</article>
{% contentfor aside %}
this is aside content
{% endcontentfor %}