from flask import render_template, redirect, url_for, request from markdown import markdown from loguru import logger from overseer.flask import OVERSEER @logger.catch(reraise=True) @OVERSEER.route('/') # @cache.cached(timeout=300) def index(): with open(f'overseer/templates/index.md') as index_file: index = index_file.read() findex = index.format() style = """ """ head = f""" Horde Overseer {style} """ return(head + markdown(findex))