Deny robots & fix flag

This commit is contained in:
relikd
2019-12-31 13:34:46 +01:00
parent 8930347e65
commit 7a8dd41492
4 changed files with 6 additions and 2 deletions

View File

@@ -5,6 +5,7 @@ help:
@echo 'make clean - Removes all temporary server-build files (not ./bin)'
@echo 'make server - Start lektor server with live change updates'
@echo 'make build - Build deployable website into ./bin'
@echo 'make deploy - Custom rsync command to sync ./bin to remote server'
@echo
@echo 'make find-links - Search for cross reference between recipes'
@echo

View File

@@ -1 +1 @@
<meta http-equiv="refresh" content="0; URL='en/'" />
<meta http-equiv="refresh" content="0; URL='de/'" />

3
src/assets/robots.txt Normal file
View File

@@ -0,0 +1,3 @@
User-agent: *
Disallow: /

View File

@@ -45,7 +45,7 @@
<td>Build with <a href="https://www.getlektor.com/">Lektor</a>, template by <a href="https://github.com/relikd/lektor-recipes">relikd</a>.</td>{#--#}
<td class="xlarge" width="1em">
{%- if this.alt == 'de' -%}
<a href="{{ '.'|url(alt='en') }}" title="zur englischen Seite wechseln">🇱🇷</a>
<a href="{{ '.'|url(alt='en') }}" title="zur englischen Seite wechseln">🇺🇸</a>
{%- else -%}
<a href="{{ '.'|url(alt='de') }}" title="switch to german page">🇩🇪</a>
{%- endif -%}