Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzzmisa/hugo-theme-doors.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzzzmisa <zzzmisa.office@gmail.com>2019-08-08 16:48:22 +0300
committerzzzmisa <zzzmisa.office@gmail.com>2019-08-08 16:48:22 +0300
commit38d6862f9784b4d7c23484ed2abb09f1ea18e28c (patch)
treee643289740eda0b741a9a05734fe5fd4763f69a8
parentc024cd4c530ec4236a49c4e485fae9f013072c8a (diff)
Improve layout of subprojects
-rw-r--r--layouts/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 64fbb9a..4787939 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -87,10 +87,10 @@
<p class="m3">
<ul class="ampstart-related-section-items list-reset flex flex-wrap m0">
{{ range .Site.Params.subprojects.list }}
- <li class="col-12 sm-col-4 md-col-4 lg-col-4 pr2 py2">
+ <li class="col-12 sm-col-4 md-col-4 lg-col-4 p1">
<a href="{{ .url }}" target="_blank">
<figure class="ampstart-image-with-caption m0 relative mb4">
- <amp-img src="{{ .image }}" alt="Beautiful Image of a rectangle" width="780" height="524" layout="responsive" class=""></amp-img>
+ <amp-img width="{{ .w }}" height="{{ .h }}" layout="responsive" src="{{ .image }}"></amp-img>
<figcaption class="h5 mt1 px3">
<h3 class="caps bold">{{ .title }}</h3>
{{ .description }}