Merge pull request 'Logo w/ translated tagline' (#16) from benjaoming/website:new-website into new

This commit is contained in:
benjaoming 2020-05-29 21:09:48 +00:00
commit 9fb6f6483c
2 changed files with 4 additions and 2 deletions

3
Dockerfile Normal file
View File

@ -0,0 +1,3 @@
FROM nginx:alpine
EXPOSE 80
COPY _site/ /usr/share/nginx/html

View File

@ -1,8 +1,7 @@
<nav class="datacoop-navbar">
<a href="/" class="data-coop-sidebar-logo">
<img src="{{ printf "/static/img/logo.svg" | absURL }}">
{{ (i18n "tagline") | safeHTML }}
<img src="{{ printf "/static/img/logo_%s.svg" .Site.Language.Lang | absURL }}">
</a>
<div class="datacoop-menulists">