mirror of
https://github.com/meineerde/holgerjust.de.git
synced 2025-10-17 17:01:01 +00:00
Rename /impressum to /contact
This commit is contained in:
parent
ab8b1d8bc3
commit
ac6c0d8e8e
@ -1,7 +1,7 @@
|
|||||||
Copyright (c) 2015 Holger Just
|
Copyright (c) 2015-2017 Holger Just
|
||||||
|
|
||||||
This repository contains content licensed under various licenses depending on
|
This repository contains content licensed under various licenses depending on
|
||||||
the type and location of the content. Please see source.impressum.md.erb for
|
the type and location of the content. Please see source/contact.md.erb for
|
||||||
details.
|
details.
|
||||||
|
|
||||||
The source code of this website (not including content covered by other
|
The source code of this website (not including content covered by other
|
||||||
|
|||||||
@ -131,7 +131,7 @@ set :casper, {
|
|||||||
navigation: {
|
navigation: {
|
||||||
'Home' => ->{ url_for '/index.html' },
|
'Home' => ->{ url_for '/index.html' },
|
||||||
'About Me' => ->{ author_path },
|
'About Me' => ->{ author_path },
|
||||||
'Contact' => -> { url_for '/impressum.html' }
|
'Contact' => -> { url_for '/contact.html' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -56,6 +56,11 @@ RewriteRule .* https://<%= URI.parse(casper[:blog][:url]).host %>%{REQUEST_URI}
|
|||||||
|
|
||||||
RewriteRule ^favicon.ico$ /images/favicon.ico
|
RewriteRule ^favicon.ico$ /images/favicon.ico
|
||||||
|
|
||||||
|
# Persistent Rewrites
|
||||||
|
RewriteRule ^(.+/)?index.html$ /$1 [R=301,L]
|
||||||
|
|
||||||
|
RewriteRule ^impressum/?$ /contact/ [R=301,L]
|
||||||
|
|
||||||
# Use gziped content if possible
|
# Use gziped content if possible
|
||||||
RewriteCond %{HTTP:Accept-Encoding} \b(x-)?gzip\b
|
RewriteCond %{HTTP:Accept-Encoding} \b(x-)?gzip\b
|
||||||
RewriteCond %{REQUEST_FILENAME}\.gz -s
|
RewriteCond %{REQUEST_FILENAME}\.gz -s
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
title: Contact
|
title: Contact
|
||||||
lang: :en
|
lang: :en
|
||||||
layout: page
|
layout: page
|
||||||
cover: impressum/cover.jpg
|
cover: contact/cover.jpg
|
||||||
cover_license: '[Cover Image](https://unsplash.com/photos/P4w-HvqTPoM) by [Shaun Bell](https://unsplash.com/@shauncolinbell), [CC Zero 1.0](https://unsplash.com/license)'
|
cover_license: '[Cover Image](https://unsplash.com/photos/P4w-HvqTPoM) by [Shaun Bell](https://unsplash.com/@shauncolinbell), [CC Zero 1.0](https://unsplash.com/license)'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 566 KiB After Width: | Height: | Size: 566 KiB |
@ -53,7 +53,7 @@
|
|||||||
© 2006 -
|
© 2006 -
|
||||||
= Time.now.year
|
= Time.now.year
|
||||||
|
|
|
|
||||||
= link_to 'Impressum | Contact | Legal', '/impressum/'
|
= link_to 'Contact | Impressum | Legal', '/contact.html'
|
||||||
%section.license
|
%section.license
|
||||||
= partial("licenses/#{current_page.data.license || blog_settings.default_license}")
|
= partial("licenses/#{current_page.data.license || blog_settings.default_license}")
|
||||||
- if current_page.data.cover_license.present?
|
- if current_page.data.cover_license.present?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user