Podium added and working, logo and website of campuses added in campus model #76

Merged
Danhia merged 4 commits from ix/website:main into main 2022-08-27 10:47:47 +02:00
1 changed files with 0 additions and 2 deletions
Showing only changes of commit 9b2da1e2cc - Show all commits

View File

@ -4,9 +4,7 @@ register = template.Library()
@register.simple_tag
def get_chall_by_lang(chall, lang):
print(chall.slug)
filepath = "ctfs/templates/challenges/"+ lang + "/" + chall.slug + ".html"
print(filepath)
try:
with open(filepath) as fp:
return fp.read()