Skip to content

Commit

Permalink
feat(template): add data-title for later use
Browse files Browse the repository at this point in the history
  • Loading branch information
sparanoid committed Mar 31, 2016
1 parent 43c87c2 commit b673e72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<!-- Page title -->
<header>
<h1>{{ page.title }}</h1>
<h1 data-text="{{ page.title | strip_html | xml_escape }}">{{ page.title }}</h1>
{% if page.desc %}<small>{{ page.desc }}</small>{% endif %}
</header>

Expand Down
2 changes: 1 addition & 1 deletion _app/_includes/themes/curtana/layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<!-- Post title -->
<header>

<h1 class="{{ amsf_page_heading_class }}" title="{{ page.title | strip_html | xml_escape }}">
<h1 class="{{ amsf_page_heading_class }}" title="{{ page.title | strip_html | xml_escape }}" data-title="{{ page.title | strip_html | xml_escape }}">
{{ amsf_page_heading }}
</h1>

Expand Down

0 comments on commit b673e72

Please sign in to comment.