From cea15f585088f283fdcad97430db2ca09a6fc19c Mon Sep 17 00:00:00 2001 From: Georg Krause Date: Wed, 15 May 2019 21:14:07 +0200 Subject: [PATCH] Read Landing Page content from pelicanconf --- pelicanconf.py | 55 ++++++++++++++++++++- themes/openAV-Luppp/templates/index.html | 63 +++++++----------------- 2 files changed, 70 insertions(+), 48 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index 7c8abb5..18d67b3 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -4,7 +4,6 @@ from __future__ import unicode_literals AUTHOR = 'Georg Krause' SITENAME = 'Luppp' -SITE_SUBHEADING = 'A free and Open Source Live Performance Tool' SITEURL = '' THEME = 'themes/openAV-Luppp' @@ -32,4 +31,56 @@ SOCIAL = (('You can add links in your config file', '#'), DEFAULT_PAGINATION = 10 # Uncomment following line if you want document-relative URLs when developing -#RELATIVE_URLS = True \ No newline at end of file +#RELATIVE_URLS = True + +# Landing Page Content + +SPLASH_HEADING = 'LUPPP' +SPLASH_SUBHEADING = 'A free and Open Source Live Performance Tool' +SPLASH_BUTTON_TEXT = 'Get Started' + +FEATURES_HEADING = 'Solid Live Performance Tool' +FEATURES_FIRST_HEADING = 'Grid Launcher' +FEATURES_FIRST_CONTENT = 'There is the well known Grid Launcher, ready to record or load your Loops and perform your music.' +FEATURES_SECOND_HEADING = 'Mixer Section' +FEATURES_SECOND_CONTENT = """The versatile Mixer Sections allows you to use anything whats needed: A global Send for Reverb, + Sidechaining and one independend FX Send per Track.""" +FEATURES_THIRD_HEADING = 'MIDI Controller Support' +FEATURES_THIRD_CONTENT = """With extensive MIDI mapping support, you can get looping just how you like! If your Controller is + not already supported, simply use MIDI learn or write your own Controller map.""" +FEATURES_FOURTH_HEADING = 'Intended for Live Usage' +FEATURES_FOURTH_CONTENT = """While development we always have live usage in mind. We focus on real time processing without any + crashes. Nothing should disturb the show!""" + +RIBBON_HEADING = 'Become a part of the community!' +RIBBON_CONTENT = """Luppp is useful for you? You enjoy it or have idea how to improve? Do you want to help with testing, + documentation or development? We are looking forward to get in touch with you! + Create an issue on Github. Join our discussion + via Matrix or IRC.""" + +CONTENT_HEADING = 'Get Luppp now and make some music!' +CONTENT = """ +

Your Distrubition

+

+ If you are on Debian or Ubuntu, its recommended to use the KXStudio repositories. + On Arch Linux based distribution there is an official + package available. +

+ +

Build it on your own!

+

+ If there is no official package for your distribution, we recommend building Luppp on your own. Learning this also enables you to + try the latest features and help developing. Its not hard, read here + how to do it! +

+ +

App Image

+

+ If your distribution does not provide a package and you don't want to build Luppp on your own, you can use the + the latest App Image directly from Github. It runs on + any Linux, without installing any dependencies. Read here how to execute an App Image. + Please note: App Images introduce additional CPU load and might reduce stability of Luppp! +

+""" + +FOOTER = 'Luppp is developed by OpenAV Productions.' diff --git a/themes/openAV-Luppp/templates/index.html b/themes/openAV-Luppp/templates/index.html index c59d6a0..04ea12a 100644 --- a/themes/openAV-Luppp/templates/index.html +++ b/themes/openAV-Luppp/templates/index.html @@ -46,14 +46,14 @@
-

{{ SITENAME }}

+

{{ SPLASH_HEADING }}

- {{ SITE_SUBHEADING }} + {{ SPLASH_SUBHEADING }}

- Get Started + {{ SPLASH_BUTTON_TEXT }}

@@ -61,43 +61,40 @@
-

Solid Live Performance Tool

+

{{ FEATURES_HEADING}}

- Grid Launcher + {{ FEATURES_FIRST_HEADING }}

- There is the well known Grid Launcher, ready to record or load your Loops and perform your music. + {{ FEATURES_FIRST_CONTENT }}

- Mixer Section + {{ FEATURES_SECOND_HEADING }}

- The versatile Mixer Sections allows you to use anything whats needed: A global Send for Reverb, Sidechaining - and one independend FX Send per Track. + {{ FEATURES_SECOND_CONTENT }}

- MIDI Control + {{ FEATURES_THIRD_HEADING }}

- With extensive MIDI mapping support, you can get looping just how you like! If your Controller is not already - supported, simply use MIDI learn or write your own Controller map. + {{ FEATURES_THIRD_CONTENT }}

- Intended for Live Usage + {{ FEATURES_FOURTH_HEADING }}

- While development we always have live usage in mind. We focus on real time processing without any crashes. Nothing - should disturb the show! + {{ FEATURES_FOURTH_CONTENT }}

@@ -109,58 +106,32 @@
-

Become a part of the community!

+

{{ RIBBON_HEADING }}

- Luppp is useful for you? You enjoy it or have idea how to improve? Do you want to help with testing, documentation or development? - We are looking forward to get in touch with you! - Create an issue on Github. Join our discussion - via Matrix or IRC. + {{ RIBBON_CONTENT }}

-

Get Luppp now and make some music!

+

{{ CONTENT_HEADING }}

-

Your Distrubition

-

- If you are on Debian or Ubuntu, its recommended to use the KXStudio repositories. - On Arch Linux based distribution there is an official - package available. -

- -

Build it on your own!

-

- If there is no official package for your distribution, we recommend building Luppp on your own. Learning this also enables you to - try the latest features and help developing. Its not hard, read here - how to do it! -

- -

App Image

-

- If your distribution does not provide a package and you don't want to build Luppp on your own, you can use the - the latest App Image directly from Github. It runs on - any Linux, without installing any dependencies. Read here how to execute an App Image. - Please note: App Images introduce additional CPU load and might reduce stability of Luppp! -

+ {{ CONTENT }}
- - - \ No newline at end of file