add a new your_index_template.php

This commit is contained in:
creme 2019-09-25 23:47:25 +02:00
parent 6e1918e632
commit 722dc57c7a
Signed by untrusted user: creme
GPG Key ID: C147C3B7FBDF08D0
1 changed files with 24 additions and 4 deletions

View File

@ -8,7 +8,9 @@ cp ~/public_html/your_index_template.php ~/public_html/index.php
YOU CAN REMOVE THIS COMMENT!
-->
<?php $user = posix_getpwuid(fileowner(__FILE__))["name"]; ?>
<!-- HTML HEADER -->
<!DOCTYPE html>
<html>
<head>
@ -16,13 +18,16 @@ YOU CAN REMOVE THIS COMMENT!
<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="description" content="~<?=$user?> on envs.net" />
<meta name="keywords" content="<?=$user?>" />
<link rel="stylesheet" href="https://envs.net/css/css_style.css" />
<link rel="stylesheet" href="https://envs.net/css/font-awesome.min.css" />
<script src="https://envs.net/js/darklight.js" ></script>
</head>
<!-- HTML BODY -->
<body id="body">
<div style="clear:both; min-width: 650px;">
<!-- min-width: needed if the sidebar is enable -->
<div style="clear:both; /*min-width: 750px;*/">
<div style="float: left;">
<pre>
@ -30,13 +35,28 @@ YOU CAN REMOVE THIS COMMENT!
<?=$user?>
</blockquote>
IRC: <?=$user?> on tilde
hi and welcome to my new website.
IRC: <?=$user?> on tilde.chat
Mail: <code><?=$user?>&#64;envs.net</code>
</pre>
</div>
<!-- Button DarkLight-->
<!-- You can also enable a right sidebar
<div id="sidebar">
<pre class="sidebar">
more text
</pre>
</div>
-->
<!-- HTML FOOTER -->
<!-- Button DarkLight -->
<div class="button_darklight">
<button type="button" name="dark_light" onclick="toggleDarkLight()" title="Toggle dark/light mode">🌛</button>
</div>