added picture in Qi-Gong topic

This commit is contained in:
2022-05-12 16:00:43 +02:00
parent 6e21f084cd
commit 04f9021545
3 changed files with 3 additions and 1 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -115,9 +115,11 @@ def topic(request):
# get the topic record # get the topic record
topic_record = BlogRecordService.get_topic_byTopic(request, topic) topic_record = BlogRecordService.get_topic_byTopic(request, topic)
# convertir mardown en HTML # convertir champ topic_quote en HTML
markdowner = Markdown() markdowner = Markdown()
topic_quote = markdowner.convert(topic_record.topic_quote) topic_quote = markdowner.convert(topic_record.topic_quote)
# insèrer le path de static/img
topic_quote = topic_quote.replace('static/img/', "%s/static/img/" % request.application_url)
# get all the tags of this topic # get all the tags of this topic
tags = BlogRecordService.get_tags_byTopic(request, topic) tags = BlogRecordService.get_tags_byTopic(request, topic)