Skip to content

Commit

Permalink
Add .muted-date class to blog.css for styling
Browse files Browse the repository at this point in the history
  • Loading branch information
taleksovska committed Feb 3, 2025
1 parent e748aa5 commit 619399d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ckanext/pages/assets/css/blog.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@
.secondary .blog-content .btn {
display:none;
}
.muted-date{
padding-bottom: 15px;
}
2 changes: 1 addition & 1 deletion ckanext/pages/theme/templates_main/ckanext_pages/blog.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{% endblock %}
<h1 class="page-heading">{{ c.page.title }}</h1>
{% if c.page.publish_date %}
<span class="muted date"> {{ h.render_datetime(c.page.publish_date) }} </span>
<span class="muted-date"> {{ h.render_datetime(c.page.publish_date) }} </span>
{% endif %}
{% block ckanext_pages_content %}
{% if c.page.content %}
Expand Down

0 comments on commit 619399d

Please sign in to comment.