/
project.py
19 lines (18 loc) · 1.01 KB
/
project.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from project_module import project_object, image_object, link_object, challenge_object
p = project_object('cipher', 'Ciphers')
p.domain = 'http://www.aidansean.com/'
p.path = 'cipher'
p.preview_image = image_object('%s/images/project.jpg' %p.path, 150, 250)
p.preview_image_bw = image_object('%s/images/project_bw.jpg'%p.path, 150, 250)
p.folder_name = 'aidansean'
p.github_repo_name = 'cipher'
p.mathjax = False
p.tags = 'Maths'
p.technologies = 'CSS,HTML,JavaScript'
p.links.append(link_object(p.domain, 'cipher/', 'Live page'))
p.introduction = 'This page contains some simple ciphers. This was going to be extended to include some more sophisticated ciphers, but I didn\'t have the time or incentive to develop this page further.'
p.overview = '''At the moment the page currently supports two simple cipher:
<ul>
<li>rot-13: A cipher where each character is shifted by 13 places along the alphabet</li>
<li>Holly: A cipher developed by a friend as a child. This page was made to crack that cipher for fun.</il>
</ul>'''