Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add review section #26

Merged
merged 2 commits into from
Feb 7, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions templates/resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@
</div>
<span class="tag is-danger">{{res.level}}</span>
<span class="tag is-info">{{res.type}}</span>
<div class="content">
{% if res.reviews %}
<hr />
<h5 class="subtitle is-5">Reviews</h5>
{% for review in res.reviews %}
<p>"{{review}}"</p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think italicizing it will make the review actually look like a review? Like how we see reviews on products?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is okay for it and you mention me it is above the open link it if any changes need let me know

{% endfor %}
{% endif %}
</div>
<footer class="card-footer">
<a href={{res.url}} class="card-footer-item" rel="noreferrer noopener" target="_blank">Open Link</a>
<a target="_blank"
Expand Down