diff --git a/pages/404.html b/views/404.php
similarity index 100%
rename from pages/404.html
rename to views/404.php
diff --git a/pages/encrypt.html b/views/encrypt.php
similarity index 67%
rename from pages/encrypt.html
rename to views/encrypt.php
index b54dede..a73caac 100644
--- a/pages/encrypt.html
+++ b/views/encrypt.php
@@ -24,17 +24,31 @@
diff --git a/pages/faq.html b/views/faq.php
similarity index 100%
rename from pages/faq.html
rename to views/faq.php
diff --git a/pages/guides.html b/views/guides.php
similarity index 100%
rename from pages/guides.html
rename to views/guides.php
diff --git a/pages/guides/contributing.content.html b/views/guides/contributing.content.php
similarity index 100%
rename from pages/guides/contributing.content.html
rename to views/guides/contributing.content.php
diff --git a/pages/guides/contributing.title.html b/views/guides/contributing.title.php
similarity index 100%
rename from pages/guides/contributing.title.html
rename to views/guides/contributing.title.php
diff --git a/pages/guides/dns.content.html b/views/guides/dns.content.php
similarity index 100%
rename from pages/guides/dns.content.html
rename to views/guides/dns.content.php
diff --git a/pages/guides/dns.title.html b/views/guides/dns.title.php
similarity index 100%
rename from pages/guides/dns.title.html
rename to views/guides/dns.title.php
diff --git a/pages/guides/encrypt.content.html b/views/guides/encrypt.content.php
similarity index 100%
rename from pages/guides/encrypt.content.html
rename to views/guides/encrypt.content.php
diff --git a/pages/guides/encrypt.title.html b/views/guides/encrypt.title.php
similarity index 100%
rename from pages/guides/encrypt.title.html
rename to views/guides/encrypt.title.php
diff --git a/pages/guides/feature-comparison-keybase.content.html b/views/guides/feature-comparison-keybase.content.php
similarity index 100%
rename from pages/guides/feature-comparison-keybase.content.html
rename to views/guides/feature-comparison-keybase.content.php
diff --git a/pages/guides/feature-comparison-keybase.title.html b/views/guides/feature-comparison-keybase.title.php
similarity index 100%
rename from pages/guides/feature-comparison-keybase.title.html
rename to views/guides/feature-comparison-keybase.title.php
diff --git a/pages/guides/github.content.html b/views/guides/github.content.php
similarity index 100%
rename from pages/guides/github.content.html
rename to views/guides/github.content.php
diff --git a/pages/guides/github.title.html b/views/guides/github.title.php
similarity index 100%
rename from pages/guides/github.title.html
rename to views/guides/github.title.php
diff --git a/pages/guides/hackernews.content.html b/views/guides/hackernews.content.php
similarity index 100%
rename from pages/guides/hackernews.content.html
rename to views/guides/hackernews.content.php
diff --git a/pages/guides/hackernews.title.html b/views/guides/hackernews.title.php
similarity index 100%
rename from pages/guides/hackernews.title.html
rename to views/guides/hackernews.title.php
diff --git a/pages/guides/lobsters.content.html b/views/guides/lobsters.content.php
similarity index 100%
rename from pages/guides/lobsters.content.html
rename to views/guides/lobsters.content.php
diff --git a/pages/guides/lobsters.title.html b/views/guides/lobsters.title.php
similarity index 100%
rename from pages/guides/lobsters.title.html
rename to views/guides/lobsters.title.php
diff --git a/pages/guides/mastodon.content.html b/views/guides/mastodon.content.php
similarity index 100%
rename from pages/guides/mastodon.content.html
rename to views/guides/mastodon.content.php
diff --git a/pages/guides/mastodon.title.html b/views/guides/mastodon.title.php
similarity index 100%
rename from pages/guides/mastodon.title.html
rename to views/guides/mastodon.title.php
diff --git a/pages/guides/migrating-from-keybase.content.html b/views/guides/migrating-from-keybase.content.php
similarity index 100%
rename from pages/guides/migrating-from-keybase.content.html
rename to views/guides/migrating-from-keybase.content.php
diff --git a/pages/guides/migrating-from-keybase.title.html b/views/guides/migrating-from-keybase.title.php
similarity index 100%
rename from pages/guides/migrating-from-keybase.title.html
rename to views/guides/migrating-from-keybase.title.php
diff --git a/pages/guides/openpgp-proofs.content.html b/views/guides/openpgp-proofs.content.php
similarity index 100%
rename from pages/guides/openpgp-proofs.content.html
rename to views/guides/openpgp-proofs.content.php
diff --git a/pages/guides/openpgp-proofs.title.html b/views/guides/openpgp-proofs.title.php
similarity index 100%
rename from pages/guides/openpgp-proofs.title.html
rename to views/guides/openpgp-proofs.title.php
diff --git a/pages/guides/proofs.content.html b/views/guides/proofs.content.php
similarity index 100%
rename from pages/guides/proofs.content.html
rename to views/guides/proofs.content.php
diff --git a/pages/guides/proofs.title.html b/views/guides/proofs.title.php
similarity index 100%
rename from pages/guides/proofs.title.html
rename to views/guides/proofs.title.php
diff --git a/pages/guides/reddit.content.html b/views/guides/reddit.content.php
similarity index 100%
rename from pages/guides/reddit.content.html
rename to views/guides/reddit.content.php
diff --git a/pages/guides/reddit.title.html b/views/guides/reddit.title.php
similarity index 100%
rename from pages/guides/reddit.title.html
rename to views/guides/reddit.title.php
diff --git a/pages/guides/selfhosting-keyoxide.content.html b/views/guides/selfhosting-keyoxide.content.php
similarity index 100%
rename from pages/guides/selfhosting-keyoxide.content.html
rename to views/guides/selfhosting-keyoxide.content.php
diff --git a/pages/guides/selfhosting-keyoxide.title.html b/views/guides/selfhosting-keyoxide.title.php
similarity index 100%
rename from pages/guides/selfhosting-keyoxide.title.html
rename to views/guides/selfhosting-keyoxide.title.php
diff --git a/pages/guides/service-provider.content.html b/views/guides/service-provider.content.php
similarity index 100%
rename from pages/guides/service-provider.content.html
rename to views/guides/service-provider.content.php
diff --git a/pages/guides/service-provider.title.html b/views/guides/service-provider.title.php
similarity index 100%
rename from pages/guides/service-provider.title.html
rename to views/guides/service-provider.title.php
diff --git a/pages/guides/twitter.content.html b/views/guides/twitter.content.php
similarity index 100%
rename from pages/guides/twitter.content.html
rename to views/guides/twitter.content.php
diff --git a/pages/guides/twitter.title.html b/views/guides/twitter.title.php
similarity index 100%
rename from pages/guides/twitter.title.html
rename to views/guides/twitter.title.php
diff --git a/pages/guides/verify.content.html b/views/guides/verify.content.php
similarity index 100%
rename from pages/guides/verify.content.html
rename to views/guides/verify.content.php
diff --git a/pages/guides/verify.title.html b/views/guides/verify.title.php
similarity index 100%
rename from pages/guides/verify.title.html
rename to views/guides/verify.title.php
diff --git a/pages/guides/web-key-directory.content.html b/views/guides/web-key-directory.content.php
similarity index 100%
rename from pages/guides/web-key-directory.content.html
rename to views/guides/web-key-directory.content.php
diff --git a/pages/guides/web-key-directory.title.html b/views/guides/web-key-directory.title.php
similarity index 100%
rename from pages/guides/web-key-directory.title.html
rename to views/guides/web-key-directory.title.php
diff --git a/pages/guides/xmpp.content.html b/views/guides/xmpp.content.php
similarity index 100%
rename from pages/guides/xmpp.content.html
rename to views/guides/xmpp.content.php
diff --git a/pages/guides/xmpp.title.html b/views/guides/xmpp.title.php
similarity index 100%
rename from pages/guides/xmpp.title.html
rename to views/guides/xmpp.title.php
diff --git a/pages/index.html b/views/index.php
similarity index 100%
rename from pages/index.html
rename to views/index.php
diff --git a/pages/profile.html b/views/profile.php
similarity index 100%
rename from pages/profile.html
rename to views/profile.php
diff --git a/pages/proofs.html b/views/proofs.php
similarity index 100%
rename from pages/proofs.html
rename to views/proofs.php
diff --git a/pages/template.html b/views/template.php
similarity index 100%
rename from pages/template.html
rename to views/template.php
diff --git a/pages/util/wkd.html b/views/util/wkd.php
similarity index 100%
rename from pages/util/wkd.html
rename to views/util/wkd.php
diff --git a/pages/verify.html b/views/verify.php
similarity index 100%
rename from pages/verify.html
rename to views/verify.php