update gophermap and index template

This commit is contained in:
cremesk 2019-08-04 11:58:03 +02:00
parent 7b85807be3
commit 47d04fbb84
Signed by untrusted user who does not match committer: creme
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 27 additions and 33 deletions

View File

@ -1,4 +1,4 @@
=/usr/bin/figlet -f smslant "~"$(stat -c '%U' `pwd`)
=/usr/bin/figlet -f smslant $(stat -c '%U' `pwd`)
this is my gopher page.

View File

@ -8,51 +8,45 @@ cp ~/public_html/your_index_template.html ~/public_html/index.html
YOU CAN REMOVE THIS COMMENT!
-->
<?php $user = posix_getpwuid(fileowner(__FILE__))["name"]; ?>
<!DOCTYPE html>
<html>
<head>
<title>~user | Name</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" content="Your Name">
<meta name="robots" content="noindex">
<meta name="description" content="envs.net | ~user | Your Name" />
<meta name="keywords" content="Your Name" />
<link rel="stylesheet" href="/css/css_style.css" />
<script src="/js/darklight.js" ></script>
</head>
<body id="body">
<div style="clear:both; min-width: 650px;">
<head>
<title>~<?=$user?> | Name</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="author" content="<?=$user?>">
<meta name="robots" content="noindex">
<meta name="description" content="envs.net | ~<?=$user?>" />
<meta name="keywords" content="<?=$user?>" />
<link rel="stylesheet" href="https://envs.net/css/css_style.css" />
<script src="https://envs.net/js/darklight.js" ></script>
</head>
<body id="body">
<div style="clear:both; min-width: 650px;">
<div style="float: left;">
<div style="float: left;">
<pre>
<blockquote>
Your Name
Postzip City
<?=$user?>
</blockquote>
IRC: user on tilde
Mail: <code>user&#64;envs.net</code>
IRC: <?=$user?> on tilde
Mail: <code><?=$user?>&#64;envs.net</code>
PGP/GPG: &#91;<a rel="pgp" href="0xABC_pub.asc" target="_top">0xABC</a>&#93; &lt; <code>XXX</code> &gt;
SSH: &#91;<a rel="ssh" href="id_rsa.pub" target="_top">id_rsa.pub</a>&#93;
on &gt;
Github: <a rel="me" target="_blank" href="https://github.com/user">user</a>
Twitter: <a rel="me" target="_blank" href="https://twitter.com/user">&#64;user</a>
</pre>
</div>
</div>
<!-- Button DarkLight-->
<div class="button_darklight">
<button type="button" name="dark_light" onclick="toggleDarkLight()" title="Toggle dark/light mode">🌛</button>
</div>
</div>
<div class="button_darklight">
<button type="button" name="dark_light" onclick="toggleDarkLight()" title="Toggle dark/light mode">🌛</button>
</div>
</div>
<script>
(function() {
setThemeFromCookie()
})();
setThemeFromCookie()
})();
</script>
</body>
</body>
</html>