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