Browse Source

Add Python version, fix Markdown cheatsheet

pull/2/head
Noah Petherbridge 6 years ago
parent
commit
dc87792545
3 changed files with 3 additions and 12 deletions
  1. +2
    -0
      rophako/__init__.py
  2. +1
    -1
      rophako/www/layout.html
  3. +0
    -11
      rophako/www/markdown.html

+ 2
- 0
rophako/__init__.py View File

@@ -5,6 +5,7 @@ from flask_sslify import SSLify
import jinja2
import os.path
import time
import sys

import config
import rophako.utils
@@ -67,6 +68,7 @@ def before_request():
"app": {
"name": "Rophako",
"version": __version__,
"python_version": "{}.{}".format(sys.version_info.major, sys.version_info.minor),
"author": "Noah Petherbridge",
"photo_url": config.PHOTO_ROOT_PUBLIC,
},


+ 1
- 1
rophako/www/layout.html View File

@@ -59,7 +59,7 @@
© 2014 Noah Petherbridge. Web design released along with the Rophako CMS
under the GNU General Public License v2.0.<br>
<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>
</div>
</footer>


+ 0
- 11
rophako/www/markdown.html View File

@@ -671,17 +671,6 @@ attempt to thwart e-mail harvesting spam bots.<p>
(Source: <code>&lt;a href="&amp;#109;&amp;#97;&amp;#105;&amp;#108;&amp;#116;&amp;#111;&amp;#58; &amp;#97;&amp;#100;&amp;#100;&amp;#114;&amp;#101;&amp;#115;&amp;#115;&amp;#64; &amp;#101;&amp;#120;&amp;#97;&amp;#109;&amp;#112;&amp;#108; &amp;#101;&amp;#46;&amp;#99;&amp;#111;&amp;#109;"&gt;&amp;#97; &amp;#100;&amp;#100;&amp;#114;&amp;#101;&amp;#115;&amp;#115; &amp;#64;&amp;#101;&amp;#120;&amp;#97;&amp;#109;&amp;#112; &amp;#108;&amp;#101;&amp;#46;&amp;#99;&amp;#111; &amp;#109;&lt;/a&gt;</code>)
</td>
</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>
</table>



Loading…
Cancel
Save