Migrate main pages to PHP.

This commit is contained in:
Nicolás A. Ortega Froysa 2025-02-14 14:32:04 +01:00
parent 3db294cfc8
commit f8354f8ed4
6 changed files with 35 additions and 14 deletions

View File

@ -1,6 +0,0 @@
filename = contact.html
title = Contact
description = Directory of mediums I can be contacted by, as well as a link to my PGP key.
keywords = email, pgp, irc, contact
created = 2020-11-08
updated = 2021-09-03

View File

@ -1,3 +1,12 @@
<?php
$title = "Contact";
$description = "Directory of mediums I can be contacted by, as well as a link to my PGP key.";
$keywords = "email, pgp, irc, contact";
require "config.php";
require "templates/header.php";
?>
<p>I am available by various means of online communication. If you are
going to send me an e-mail then please encrypt your messages by using
<a href="/nicolas@ortegas.org_pub.asc" >my public encryption key</a>. If
@ -32,3 +41,7 @@ to encrypt your e-mails following their very simple instructions.</p>
<li><a href="ircs://irc.oftc.net:6697/debian" >#debian</a></li>
</ul>
</ul>
<?php
require "templates/footer.php"
?>

View File

@ -1,4 +0,0 @@
filename = index.html
title = Home Page
created = 2020-11-07
updated = 2024-06-21

View File

@ -1,3 +1,9 @@
<?php
$title = "Home Page";
require "config.php";
require "templates/header.php";
?>
<img
src="/imgs/profile.png"
alt="Profile picture."
@ -35,3 +41,7 @@ then I'm glad you stopped by.
<p>
Happy hacking, and God bless you!
</p>
<?php
require "templates/footer.php"
?>

View File

@ -1,4 +0,0 @@
filename = poetry.html
title = Poetry
created = 2020-12-04
updated = 2020-12-04

View File

@ -1,3 +1,11 @@
<?php
$title = "Poetry";
$description = "A collection of some of my poems.";
$keywords = "poetry, religion, catholicism";
require "config.php";
require "templates/header.php";
?>
<p>I'm not truly super into writing poetry, or reading it for that
matter, but every now and then I do like to read certain special poems,
and even write some poetry of my own. That being said, it's truly not
@ -81,3 +89,7 @@ pensando en su salvación.</p>
<p>Aun no es suficiente,<br />
pero es mi aportación.</p>
<?php
require "templates/footer.php"
?>