Skip to content

Commit

Permalink
Linking the View Blog button
Browse files Browse the repository at this point in the history
  • Loading branch information
rawadabu committed Jan 19, 2023
1 parent 60fe8e9 commit 686f1e9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion projboard/templates/landing/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ <h2>{{article.title | truncatechars:30}}</h2>
{% else %} {{article.subject_id}} {% endif %}
</p>
<!-- LATER ONLY AUTHINTECATED USER CAN USE IT-->
<button class="btn" role="submit">View Blog</button>
<a
href="{% url 'show_article' user_nickname=article.user_id.nickname article_pk=article.pk %}"
>
<button class="btn" role="submit">View Blog</button>
</a>
</article>
<hr />
{% endfor %}
Expand Down

0 comments on commit 686f1e9

Please sign in to comment.