summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/admin/config.yml9
-rw-r--r--src/index.html.mustache4
2 files changed, 4 insertions, 9 deletions
diff --git a/src/admin/config.yml b/src/admin/config.yml
index 9c2d7c2..9db9952 100644
--- a/src/admin/config.yml
+++ b/src/admin/config.yml
@@ -52,13 +52,8 @@ collections:
- name: title
label: Title
widget: string
- - name: src_thumbnail
- label: Thumbnail image (smaller file size)
- widget: image
- allow_multiple: false
- choose_url: true
- - name: src_hiq
- label: High quality image (larger file size)
+ - name: src
+ label: High quality image
widget: image
allow_multiple: false
choose_url: true
diff --git a/src/index.html.mustache b/src/index.html.mustache
index d324803..ab614fc 100644
--- a/src/index.html.mustache
+++ b/src/index.html.mustache
@@ -27,8 +27,8 @@
<div class="column">
{{#.}}
{{#.}}
- <a target="_blank" href="{{&src_hiq}}">
- <img src="{{&src_thumbnail}}" alt="{{title}}">
+ <a target="_blank" href="{{&src}}">
+ <img src="{{&src}}?nf_resize=fit&w=600" alt="{{title}}">
</a>
{{/.}}
{{/.}}