Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Layout improvements.
  • Loading branch information
cara-tm committed Dec 27, 2019
1 parent cfd00df commit 93daed4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion dist/forms/article/default.txp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<article class="cf cb"><header class="cf"><h2 class="lr tc" id="main-title"><txp:title /><txp:if_logged_in> <i class="edit"><a href="<txp:php>echo ahu;</txp:php>index.php?event=article&step=edit&ID=<txp:article_id />" style="color:#f93;font-size:.6em"><txp:text item="edit" /> →</a></i></txp:if_logged_in></h2><p rel="tag" class="g tc"><span class="prev"><txp:link_to_prev showallays="0"><txp:variable name="prev" /></txp:link_to_prev></span> <span class="r"><txp:link_to_next showallays="0"><txp:variable name="next" /></txp:link_to_next></span> <txp:if_category category='<txp:category1 />'>#<txp:category1 title="1" /></txp:if_category><txp:if_category category='<txp:category2 />'> #<txp:category2 title="1" /></txp:if_category></p></header><div class="l"><txp:if_article_image><div class="c z"><figure class="b"><picture class="s p"><txp:images break=""><img src="<txp:site_url />images/<txp:image_info type="id" />/<txp:image_info type="name" />" width="<txp:image_info type="w" />" height="<txp:image_info type="h" />" alt="<txp:image_info type='alt' />" class="p" /></picture><figcaption class="tr g"><txp:image_info type="caption" escape="tidy" /></figcaption></figure></div></txp:images></txp:if_article_image><div class="c<txp:if_article_image> z<txp:else /> v</txp:if_article_image>"><txp:body /> <footer class="footer"><txp:evaluate test='<txp:body />'><txp:else /><txp:evaluate test='<txp:variable name="twitter" />'><txp:else /><txp:variable name="comment" /><i class="x">:</i> <a href="http://twitter.com/intent/tweet?text=<txp:variable name="twitter" trim />%20(<txp:site_url />index.php?id=<txp:article_id />)" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#1da1f2"><path d="M24 4.37a9.6 9.6 0 0 1-2.83.8 5.04 5.04 0 0 0 2.17-2.8c-.95.58-2 1-3.13 1.22A4.86 4.86 0 0 0 16.61 2a4.99 4.99 0 0 0-4.79 6.2A13.87 13.87 0 0 1 1.67 2.92 5.12 5.12 0 0 0 3.2 9.67a4.82 4.82 0 0 1-2.23-.64v.07c0 2.44 1.7 4.48 3.95 4.95a4.84 4.84 0 0 1-2.22.08c.63 2.01 2.45 3.47 4.6 3.51A9.72 9.72 0 0 1 0 19.74 13.68 13.68 0 0 0 7.55 22c9.06 0 14-7.7 14-14.37v-.65c.96-.71 1.79-1.6 2.45-2.61z"></path></g><foreignObject width="0" height="0" overflow="hidden">Twitter</foreignObject></switch></svg></a></txp:evaluate></txp:evaluate><hr /><small><txp:variable name="published_on" /><i class="x">:</i> <time datetime="<txp:posted format="iso8601" />"><txp:posted format="%d %m %Y" /></time> <txp:evaluate test='<txp:modified />'><txp:else />(<txp:variable name="modified_on" /><i class="x">:</i> <time datetime="<txp:modified format="iso8601" />"><txp:modified format="%d %m %Y" /></time>)</txp:evaluate>. <txp:variable name="author" /><i class="x">:</i> <txp:author />.</small></footer></div></div></article>
<article class="cf cb"><header class="cf"><h2 class="lr tc" id="main-title"><txp:title /><txp:if_logged_in> <i class="edit"><a href="<txp:php>echo ahu;</txp:php>index.php?event=article&step=edit&ID=<txp:article_id />" style="color:#f93;font-size:.6em"><txp:text item="edit" /> →</a></i></txp:if_logged_in></h2><p rel="tag" class="g tc"><span class="fl-l"><txp:link_to_prev showallays="0"><txp:variable name="prev" /></txp:link_to_prev></span> <span class="r"><txp:link_to_next showallays="0"><txp:variable name="next" /></txp:link_to_next></span> <txp:if_category category='<txp:category1 />'>#<txp:category1 title="1" /></txp:if_category><txp:if_category category='<txp:category2 />'> #<txp:category2 title="1" /></txp:if_category></p></header><div class="l"><txp:if_article_image><div class="c z"><figure class="b"><picture class="s p" style="filter:brightness(0.8) contrast(1.2)"><txp:images break=""><img src="<txp:site_url />images/<txp:image_info type="id" />/<txp:image_info type="name" />" width="<txp:image_info type="w" />" height="<txp:image_info type="h" />" alt="<txp:image_info type='alt' />" class="p" /></picture><figcaption class="tr g"><txp:image_info type="caption" escape="tidy" /></figcaption></figure></div></txp:images></txp:if_article_image><div class="c<txp:if_article_image> z<txp:else /> v</txp:if_article_image>"><txp:body /> <footer class="footer"><txp:evaluate test='<txp:body />'><txp:else /><txp:evaluate test='<txp:variable name="twitter" />'><txp:else /><txp:variable name="comment" /><i class="x">:</i> <a href="http://twitter.com/intent/tweet?text=<txp:variable name="twitter" trim />%20(<txp:site_url />index.php?id=<txp:article_id />)" target="_blank"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="#1da1f2"><path d="M24 4.37a9.6 9.6 0 0 1-2.83.8 5.04 5.04 0 0 0 2.17-2.8c-.95.58-2 1-3.13 1.22A4.86 4.86 0 0 0 16.61 2a4.99 4.99 0 0 0-4.79 6.2A13.87 13.87 0 0 1 1.67 2.92 5.12 5.12 0 0 0 3.2 9.67a4.82 4.82 0 0 1-2.23-.64v.07c0 2.44 1.7 4.48 3.95 4.95a4.84 4.84 0 0 1-2.22.08c.63 2.01 2.45 3.47 4.6 3.51A9.72 9.72 0 0 1 0 19.74 13.68 13.68 0 0 0 7.55 22c9.06 0 14-7.7 14-14.37v-.65c.96-.71 1.79-1.6 2.45-2.61z"></path></g><foreignObject width="0" height="0" overflow="hidden">Twitter</foreignObject></switch></svg></a></txp:evaluate></txp:evaluate><hr /><small><txp:variable name="published_on" /><i class="x">:</i> <time datetime="<txp:posted format="iso8601" />"><txp:posted format="%d %m %Y" /></time> <txp:evaluate test='<txp:modified />'><txp:else />(<txp:variable name="modified_on" /><i class="x">:</i> <time datetime="<txp:modified format="iso8601" />"><txp:modified format="%d %m %Y" /></time>)</txp:evaluate>. <txp:variable name="author" /><i class="x">:</i> <txp:author />.</small></footer></div></div></article>
2 changes: 1 addition & 1 deletion dist/forms/article/default_single.txp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<article class="cf cb"><header class="cf"><h2 class="lr tc" id="main-title"><txp:title /><txp:if_logged_in> <i class="edit"><a href="<txp:php>echo ahu;</txp:php>index.php?event=article&step=edit&ID=<txp:article_id />"><txp:text item="edit" /></a></i></txp:if_logged_in></h2></header><div class="l v"><txp:if_article_image><div class="c z"><figure class="b"><picture class="s p"><txp:images break=""><img src="<txp:image_url link='0' />" width="<txp:image_info type="w" />" height="<txp:image_info type="h" />" alt="<txp:image_info type='alt' />" class="p" /></picture><figcaption class="tr g"><txp:image_info type="caption" escape="tidy" /></figcaption></figure></div></txp:images></txp:if_article_image> <div class="c<txp:if_article_image> z</txp:if_article_image>"><txp:body /></div></div></article>
<article class="cf cb"><header class="cf"><h2 class="lr tc" id="main-title"><txp:title /><txp:if_logged_in> <i class="edit"><a href="<txp:php>echo ahu;</txp:php>index.php?event=article&step=edit&ID=<txp:article_id />" style="color:#f93;font-size:.6em"><txp:text item="edit" /></a></i></txp:if_logged_in></h2></header><div class="l v"><txp:if_article_image><div class="c z"><figure class="b"><picture class="s p"><txp:images break=""><img src="<txp:image_url link='0' />" width="<txp:image_info type="w" />" height="<txp:image_info type="h" />" alt="<txp:image_info type='alt' />" class="p" /></picture><figcaption class="tr g"><txp:image_info type="caption" escape="tidy" /></figcaption></figure></div></txp:images></txp:if_article_image> <div class="c<txp:if_article_image> z</txp:if_article_image>"><txp:body /></div></div></article>
2 changes: 1 addition & 1 deletion dist/manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "a minima",
"version": "5.2",
"version": "5.3",
"description": "\"Low Tech\" blog theme for Textpattern CMS.",
"author": "Patrick LEFEVRE",
"author_uri": "https://github.com/cara-tm/a-minima",
Expand Down
Loading

0 comments on commit 93daed4

Please sign in to comment.