Skip to content

Commit

Permalink
dated stylesheet and new rewrite rules
Browse files Browse the repository at this point in the history
  • Loading branch information
acousticrobot committed Aug 14, 2020
1 parent 7f9ada5 commit 6d9f1da
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 622 deletions.
7 changes: 5 additions & 2 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@ RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

{% for page in site.data["old_sitemap"] %}{% if page["rewrite_rule"] %}{% if page["action"] == "archive" %}{% assign redirect = page["archive_url"] %}{% else %}{% assign redirect = page["redirect_url"] %}{% endif %}
RewriteRule ^{{ page["page"] }} https://www.jonathangabel.com{{ redirect }} [R=301,L]{% endif %}{% endfor %}
{% for page in site.data["old_sitemap"] %}
Redirect 301 {{ page["page"] }} https://www.jonathangabel.com{{ page["redirect_url"] }}
{% endfor %}

RedirectMatch 301 ^/learn/t47/.*$ https://www.jonathangabel.com/toki-pona/
Loading

0 comments on commit 6d9f1da

Please sign in to comment.