- {{ year }} reading goal -
-Set a goal for how many books you'll finish reading in {{ year }}, and track your progress throughout the year.
- - {% include 'snippets/goal_form.html' %} -diff --git a/bookwyrm/templates/feed.html b/bookwyrm/templates/feed.html index 79dd4b85..9b69efea 100644 --- a/bookwyrm/templates/feed.html +++ b/bookwyrm/templates/feed.html @@ -98,24 +98,7 @@ {% if not goal and tab == 'home' %} {% now 'Y' as year %}
{% endif %} diff --git a/bookwyrm/templates/snippets/goal_card.html b/bookwyrm/templates/snippets/goal_card.html new file mode 100644 index 00000000..b453d6e4 --- /dev/null +++ b/bookwyrm/templates/snippets/goal_card.html @@ -0,0 +1,23 @@ +{% extends 'snippets/components/card.html' %} + +{% block card-header %} +Set a goal for how many books you'll finish reading in {{ year }}, and track your progress throughout the year.
+ + {% include 'snippets/goal_form.html' %} +