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

github.com/jweslley/hugo-conference.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/sponsors.html')
-rw-r--r--layouts/partials/sponsors.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/layouts/partials/sponsors.html b/layouts/partials/sponsors.html
new file mode 100644
index 0000000..0e88da5
--- /dev/null
+++ b/layouts/partials/sponsors.html
@@ -0,0 +1,11 @@
+<h2 class="section-title">{{ .titles.sponsors }}</h2>
+
+<ul class="sponsors-list">
+{{ range $sponsor := .sponsors }}
+ <li class="sponsor-item" itemscope itemtype="http://schema.org/Organization">
+ <a href="{{ .url }}" class="sponsor--link" itemprop="url" target="_blank">
+ <img src="{{ .logo }}" alt="{{ .name }}" class="photo" itemprop="image">
+ </a>
+ </li>
+{{ end }}
+</ul>