diff --git a/app.py b/app.py index fa8c826..4a60f2c 100644 --- a/app.py +++ b/app.py @@ -13,6 +13,8 @@ with open('config/config.yaml') as f: search = yaml_data['search'] account_url = yaml_data['accounts']['account_url'] +description = yaml_data['description'] + apps = [] for itm in yaml_data['apps'].items(): apps.append(itm[1]) @@ -20,7 +22,7 @@ for itm in yaml_data['apps'].items(): @app.route('/') def index(): - return render_template('index.j2', apps = apps, search = search, account_url = account_url) + return render_template('index.j2', apps = apps, search = search, account_url = account_url, description = description) if __name__ == '__main__': diff --git a/config/config.yaml b/config/config.yaml index ecfcc97..5c88d08 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -5,6 +5,8 @@ search: accounts: account_url: 'https://account.technicalincompetence.club' +description: "It turns out Technical Incompetence's amazingness is just too great for this lame internet - we need a new one to maximize our full potential. Welcome to the Technical Incompetence internet. Population - US." + apps: chat: name: "Rocket Chat" diff --git a/templates/index.j2 b/templates/index.j2 index 1247108..db9282d 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -25,7 +25,7 @@

{% endif %} -

It turns out dCloud's amazingness is just too great for this lame internet - we need a new one to maximize our full potential. Welcome to the Technical Incompetence internet. Population - US.

+

{{ description }}

{% for app in apps %} {% include "card.j2" %}