Skip to content

Commit

Permalink
fix collection html tags
Browse files Browse the repository at this point in the history
  • Loading branch information
GuLinux committed Aug 19, 2017
1 parent 7989d8b commit 145008b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# v1.0,1
## 19/08/2017

1. [](#new)
* Fix collection html tags
* Add available formats to README

# v1.0.0
## 18/08/2017

Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,12 @@ This is a list for each shortcode.
* `collection_class`: extra css classes for the main collection html tag.
* All the parameters for **astrobin-image** are also supported to properly display child images.

Available formats in astrobin API:
- duckduckgo
- duckduckgo_small
- gallery
- hd
- real
- regular
- thumb

4 changes: 2 additions & 2 deletions templates/partials/astrobin-collection.html.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="astrobin astrobin-collection {{params['collection_class']}}">
<{{params['collection-title-tag']}} class="astrobin-collection-title">{{ collection.title() }}</{{params['collection_title_tag']}}>
<{{params['collection_title_tag']}} class="astrobin-collection-title">{{ collection.title() }}</{{params['collection_title_tag']}}>
{% if collection.description() %}
<{{params['collection-description-tag']}} class="astrobin-collection-description">{{ collection.description() }}</{{params['collection_description_tag']}}>
<{{params['collection_description_tag']}} class="astrobin-collection-description">{{ collection.description() }}</{{params['collection_description_tag']}}>
{% endif %}
<section data-featherlight-gallery data-featherlight-filter=".astrobin-image">
{% for image in collection.images() %}
Expand Down

0 comments on commit 145008b

Please sign in to comment.