add config options for footer (#34)

This commit is contained in:
vkhurana 2021-11-17 00:54:47 -08:00 committed by GitHub
parent 902066ed81
commit 7d834a6d03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -74,3 +74,6 @@ logs_path = data/logs/
version = 1.41
debug = false
logs = false
footer_tite = m1k1o/blog github repository
footer_text = m1k1o/blog
footer_target = https://github.com/m1k1o/blog

View file

@ -329,7 +329,7 @@ if(!empty($scripts)){
<div id="eof_feed">
<img src="static/images/zpEYXu5Wdu6.png">
<p><?php echo Config::get("version"); ?> &copy; 2016-2021<br><a href="https://github.com/m1k1o/blog" class="link" title="m1k1o/blog github repository" target="_blank">m1k1o/blog</a></p>
<p><?php echo Config::get("version"); ?> &copy; 2016-2021<br><a href="<?php echo Config::get("footer_target"); ?> " class="link" title="<?php echo Config::get("footer_title"); ?> " target="_blank"><?php echo Config::get("footer_text"); ?> </a></p>
</div>
<script src="static/scripts/jquery.min.js"></script>
<script>$["\x61\x6A\x61\x78\x53\x65\x74\x75\x70"]({"\x68\x65\x61\x64\x65\x72\x73":{"\x43\x73\x72\x66-\x54\x6F\x6B\x65\x6E":"<?php echo $_SESSION['token'];?>"}});</script>