mirror of
https://github.com/welpo/tabi.git
synced 2025-12-17 04:48:44 +01:00
refactor(posts): make meta column width adaptable
The meta column of the blogposts list was fixed to 13.5rem. I can be annoying when displaying something else but a date as it was initially planned. Width set to 13.5rem has been kept when displaying a date to avoid any regression. Nevertheless, it is possible to get rid of it in the future if needed. Feed has been adapted accordingly.
This commit is contained in:
parent
769d5a373f
commit
506a4a86e5
3 changed files with 56 additions and 31 deletions
|
|
@ -60,8 +60,8 @@
|
|||
<xsl:variable name="post_listing_date" select="/atom:feed/tabi:metadata/tabi:post_listing_date"/>
|
||||
<div class="bloglist-container">
|
||||
<xsl:for-each select="/atom:feed/atom:entry">
|
||||
<section class="bloglist-row bottom-divider">
|
||||
<ul class="bloglist-meta">
|
||||
<section class="bloglist-meta bottom-divider">
|
||||
<ul>
|
||||
<xsl:variable name="show_date" select="$post_listing_date = 'date' or $post_listing_date = 'both'"/>
|
||||
<xsl:variable name="show_updated" select="$post_listing_date = 'updated' or $post_listing_date = 'both'"/>
|
||||
|
||||
|
|
@ -87,7 +87,9 @@
|
|||
</li>
|
||||
</xsl:if>
|
||||
</ul>
|
||||
<div class="bloglist-content">
|
||||
</section>
|
||||
<section class="bloglist-content bottom-divider">
|
||||
<div>
|
||||
<div class="bloglist-title">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue