-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create Clipping page, model, view and templates
- Loading branch information
1 parent
b29b034
commit 48e3be9
Showing
7 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% extends '/core/home.jinja2' %} | ||
|
||
{% block extra_css %} | ||
<link rel="stylesheet" href="{{ static('css/blog.css') }}"> | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<div id="blog-area"> | ||
{% block button %} | ||
{% endblock %} | ||
{% block page_title %} | ||
<h2>{{ _("Clippings") }}</h2> | ||
{% endblock page_title %} | ||
{% for clipping in clippings %} | ||
<div class="post"> | ||
<h3>{{ clipping.title }}</h3> | ||
<p>{{ clipping.created.date() }} </p> | ||
<p>{{ clipping.description }}</p> | ||
<a href="{{ clipping.link }}">{{ clipping.link }}</a> | ||
<br /> | ||
<br /> | ||
<a href="{{ clipping.file.url }}">{{ _("Download File")}}</a> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters