diff options
| author | WriterV2 <primary-v2@protonmail.com> | 2023-01-28 11:50:37 +0100 |
|---|---|---|
| committer | WriterV2 <primary-v2@protonmail.com> | 2023-01-28 11:50:37 +0100 |
| commit | 46dbedbd451217cd22d10e9d8cd208d4706771b8 (patch) | |
| tree | b4ae5678c9e73bb167ebe531119af400ec90118e /templates/stories.html | |
| parent | c6cd96ed28f57ae5573a8ecad1acc9179c1e7aef (diff) | |
Remove story-type attribute and filter
Diffstat (limited to 'templates/stories.html')
| -rw-r--r-- | templates/stories.html | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/templates/stories.html b/templates/stories.html index 46c0698..9097ba0 100644 --- a/templates/stories.html +++ b/templates/stories.html @@ -3,34 +3,26 @@ {% block content %} <div class="works-filter"> <form> - <label for="language">Language: </label> + <label for="language-select">Language: </label> <select name="language" id="language-select"> <option value="*">All</option> {% for work in works | unique(attribute="language") %} <option value="{{work.language}}">{{work.language}}</option> {% endfor %} </select> - <label for="story-type">Story Type: </label> - <select name="story-type" id="story-type-select"> - <option value="*">All</option> - {% for work in works | unique(attribute="story_type") %} - <option value="{{work.story_type}}">{{work.story_type}}</option> - {% endfor %} - </select> </form> </div> <div class="works"> {% for work in works %} <a href="{{work.path_to_document}}" class="work-card" download> - <div class="title-and-description"> - <h3>{{work.title}}</h3> - <p>{{work.description}}</p> - </div> - <div class="info"> - <span>{{work.number_of_pages}} Pages</span> - <span class="story-language">{{work.language}}</span> - <span class="story-type">{{work.story_type}}</span> - </div> + <div class="title-and-description"> + <h3>{{work.title}}</h3> + <p>{{work.description}}</p> + </div> + <div class="info"> + <span>{{work.number_of_pages}} Pages</span> + <span class="story-language">{{work.language}}</span> + </div> </a> {% endfor %} </div> |
