Skip to content

Commit

Permalink
fix: category read more
Browse files Browse the repository at this point in the history
  • Loading branch information
lastofpudge committed Feb 21, 2024
1 parent d343294 commit be0d1bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "theme/blank",
"type": "wp-theme",
"version": "2.0.19",
"version": "2.0.20",
"description": "Wordpress starter theme with Timber/Twig",
"license": "GPL-3.0-or-later",
"authors": [
Expand Down
3 changes: 2 additions & 1 deletion resources/views/categories/category.twig
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,12 @@
alt="" />
{% endif %}
<div class="clear">
{{ post.excerpt(20, false, '', true) }}
{{ post.excerpt({ words: 20, read_more: '' }) }}
</div>
{{ fn('edit_post_link', 'Edit', '<span class="edit-link">', '</span>') }}
</div>
{% endfor %}

{% include 'components/pagination.twig' %}

{% endblock %}
2 changes: 1 addition & 1 deletion style.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
Theme Name: wp-theme
Theme URI:https://github.com/lastofpudge/wp-theme
Version: 2.0.19
Version: 2.0.20
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Requires PHP: 8.0
Expand Down

0 comments on commit be0d1bf

Please sign in to comment.