Add Python version, fix Markdown cheatsheet
This commit is contained in:
parent
a3114a5212
commit
dc87792545
|
@ -5,6 +5,7 @@ from flask_sslify import SSLify
|
||||||
import jinja2
|
import jinja2
|
||||||
import os.path
|
import os.path
|
||||||
import time
|
import time
|
||||||
|
import sys
|
||||||
|
|
||||||
import config
|
import config
|
||||||
import rophako.utils
|
import rophako.utils
|
||||||
|
@ -67,6 +68,7 @@ def before_request():
|
||||||
"app": {
|
"app": {
|
||||||
"name": "Rophako",
|
"name": "Rophako",
|
||||||
"version": __version__,
|
"version": __version__,
|
||||||
|
"python_version": "{}.{}".format(sys.version_info.major, sys.version_info.minor),
|
||||||
"author": "Noah Petherbridge",
|
"author": "Noah Petherbridge",
|
||||||
"photo_url": config.PHOTO_ROOT_PUBLIC,
|
"photo_url": config.PHOTO_ROOT_PUBLIC,
|
||||||
},
|
},
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
© 2014 Noah Petherbridge. Web design released along with the Rophako CMS
|
© 2014 Noah Petherbridge. Web design released along with the Rophako CMS
|
||||||
under the GNU General Public License v2.0.<br>
|
under the GNU General Public License v2.0.<br>
|
||||||
<a href="https://github.com/kirsle/rophako" target="_blank">
|
<a href="https://github.com/kirsle/rophako" target="_blank">
|
||||||
{{ app["name"] }} v{{ app["version"] }}
|
{{ app["name"] }} v{{ app["version"] }} on Python {{ app["python_version"] }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
|
@ -671,17 +671,6 @@ attempt to thwart e-mail harvesting spam bots.<p>
|
||||||
(Source: <code><a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58; &#97;&#100;&#100;&#114;&#101;&#115;&#115;&#64; &#101;&#120;&#97;&#109;&#112;&#108; &#101;&#46;&#99;&#111;&#109;">&#97; &#100;&#100;&#114;&#101;&#115;&#115; &#64;&#101;&#120;&#97;&#109;&#112; &#108;&#101;&#46;&#99;&#111; &#109;</a></code>)
|
(Source: <code><a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58; &#97;&#100;&#100;&#114;&#101;&#115;&#115;&#64; &#101;&#120;&#97;&#109;&#112;&#108; &#101;&#46;&#99;&#111;&#109;">&#97; &#100;&#100;&#114;&#101;&#115;&#115; &#64;&#101;&#120;&#97;&#109;&#112; &#108;&#101;&#46;&#99;&#111; &#109;</a></code>)
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<code>
|
|
||||||
![Alt text][id]<p>
|
|
||||||
[id]: /static/avatars/default.png "Optional title attribute"
|
|
||||||
</code>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<img src="/static/avatars/default.png" alt="Alt text" title="Optional title attribute">
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user