Deny robots & fix flag
This commit is contained in:
1
Makefile
1
Makefile
@@ -5,6 +5,7 @@ help:
|
|||||||
@echo 'make clean - Removes all temporary server-build files (not ./bin)'
|
@echo 'make clean - Removes all temporary server-build files (not ./bin)'
|
||||||
@echo 'make server - Start lektor server with live change updates'
|
@echo 'make server - Start lektor server with live change updates'
|
||||||
@echo 'make build - Build deployable website into ./bin'
|
@echo 'make build - Build deployable website into ./bin'
|
||||||
|
@echo 'make deploy - Custom rsync command to sync ./bin to remote server'
|
||||||
@echo
|
@echo
|
||||||
@echo 'make find-links - Search for cross reference between recipes'
|
@echo 'make find-links - Search for cross reference between recipes'
|
||||||
@echo
|
@echo
|
||||||
|
|||||||
@@ -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
3
src/assets/robots.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
User-agent: *
|
||||||
|
|
||||||
|
Disallow: /
|
||||||
@@ -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>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">
|
<td class="xlarge" width="1em">
|
||||||
{%- if this.alt == 'de' -%}
|
{%- 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 -%}
|
{%- else -%}
|
||||||
<a href="{{ '.'|url(alt='de') }}" title="switch to german page">🇩🇪</a>
|
<a href="{{ '.'|url(alt='de') }}" title="switch to german page">🇩🇪</a>
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|||||||
Reference in New Issue
Block a user