diff options
author | luxagraf <sng@luxagraf.net> | 2018-02-03 17:11:10 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-02-03 17:11:10 -0600 |
commit | bbbaaebe1fd89acbf1ddda03382e0381002ede60 (patch) | |
tree | 898e949f62a9d5b7cbe2540d95c55f3ef7c45dc5 /design | |
parent | 648d4516be7c694800ede0e3e6093b4b52829fa0 (diff) |
changed dateline in sketch permalinks
Diffstat (limited to 'design')
-rw-r--r-- | design/sass/_notes.scss | 7 | ||||
-rw-r--r-- | design/templates/details/note.html | 25 |
2 files changed, 21 insertions, 11 deletions
diff --git a/design/sass/_notes.scss b/design/sass/_notes.scss index e0f7c28..cccdd2c 100644 --- a/design/sass/_notes.scss +++ b/design/sass/_notes.scss @@ -56,6 +56,13 @@ text-decoration: none; } } +.note--date-container{ + @extend %clearfix; + +} +.e-content { + @extend %clearfix; +} .note--location { text-align: center; margin-top: 0; diff --git a/design/templates/details/note.html b/design/templates/details/note.html index a964381..31797a9 100644 --- a/design/templates/details/note.html +++ b/design/templates/details/note.html @@ -24,17 +24,8 @@ <main role="main"> <article class="h-entry post--article"> {% if object.title %}<h1 class="p-name note--title">{{object.title|safe|amp|smartypants}}</h1>{%endif%} - <div class="e-content"> - {{object.body_html|safe|smartypants}} - </div> - <span class="p-author h-card"> - <data class="p-name" value="Scott Gilbertson"></data> - <data class="u-url" value="https://luxagraf.net/"></data> - </span> - <footer> - {%comment%}<p class="note--date"> - <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time class="dt-published" datetime="{{object.pub_date|html5_datetime}}">{{object.pub_date|date:"F j, Y"}}</time></a> - </p>{%endcomment%}{% if object.location %} + <div class="note--date-container"> + {% if object.location %} <p class="p-location h-adr note--location bl" itemprop="geo" itemscope itemtype="http://data-vocabulary.org/Geo"> <span class="p-locality">{{object.location.name|smartypants|safe}}</span>, <span class="p-region">{{object.location.state.name}}</span>, @@ -46,6 +37,18 @@ <p class="note--date"> <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time class="dt-published" datetime="{{object.pub_date|html5_datetime}}">{{object.pub_date|date:"F j, Y"}}</time></a> </p> + </div> + <div class="e-content"> + {{object.body_html|safe|smartypants}} + </div> + <span class="p-author h-card"> + <data class="p-name" value="Scott Gilbertson"></data> + <data class="u-url" value="https://luxagraf.net/"></data> + </span> + <footer> + {%comment%}<p class="note--date"> + <a class="u-url" href="{{object.get_absolute_url}}" rel="bookmark"><time class="dt-published" datetime="{{object.pub_date|html5_datetime}}">{{object.pub_date|date:"F j, Y"}}</time></a> + </p>{%endcomment%} {% comment %} {% if object.twitter_id %} <ul class="note--actions"> <li><a rel="syndication" class="u-syndication" href="https://twitter.com/luxagraf/status/{{object.twitter_id}}">View on Twitter</a></li> |