From f39418c09fba2bdd4d9111abdd245409d29ef1a9 Mon Sep 17 00:00:00 2001 From: Emil Baehr Date: Sun, 20 Jan 2019 21:34:54 +0100 Subject: [PATCH] Trying more stuff --- docs/_config.yml | 8 ++-- docs/_includes/head.html | 2 +- docs/_layouts/default.html | 61 +++++++++++++++++++++++++++-- docs/index.html | 4 +- docs/{themes/default => }/main.scss | 2 +- docs/themes/default/index.html | 58 --------------------------- 6 files changed, 65 insertions(+), 70 deletions(-) rename docs/{themes/default => }/main.scss (93%) delete mode 100644 docs/themes/default/index.html diff --git a/docs/_config.yml b/docs/_config.yml index ab99c1c..351d92a 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -20,10 +20,10 @@ your_link : https://emilbaehr.com your_city : Copenhagen # Tell people where you're from. # Icon, screenshot and header image -app_icon : # ../../assets/appicon-1024px.png # Automatically populates if not set and if iOS app ID is set. Otherwise enter path to icon file manually. -app_video : # ../../assets/video.mp4 # Uncomment and replace with path to app preview video. Optimal resolutions: 1242x2688 or 1125x2436. -app_screenshot : assets/screenshot.png # Replace with alternateive image path. Does not automatically populate since Apple does not provide iPhone X/XS/XR screenshots in their iTunes lookup API. -header_image : ../../assets/headerimage.png # Replace with alternative image path. +app_icon : # ../assets/appicon-1024px.png # Automatically populates if not set and if iOS app ID is set. Otherwise enter path to icon file manually. +app_video : # ../assets/video.mp4 # Uncomment and replace with path to app preview video. Optimal resolutions: 1242x2688 or 1125x2436. +app_screenshot : ../assets/screenshot.png # Replace with alternateive image path. Does not automatically populate since Apple does not provide iPhone X/XS/XR screenshots in their iTunes lookup API. +header_image : ../assets/headerimage.png # Replace with alternative image path. device_color : black # Set to blue, black, yellow, coral or white # Social Links # Enter usernames and email address. If set, they will be presented as links in the footer. diff --git a/docs/_includes/head.html b/docs/_includes/head.html index 36b4f2e..158e1b4 100644 --- a/docs/_includes/head.html +++ b/docs/_includes/head.html @@ -19,5 +19,5 @@ {% endif %} - + \ No newline at end of file diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 364dae5..8f6211b 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -2,9 +2,64 @@ {% include head.html %} - - - {{ content }} + +
+
+
+ {% include header.html %} +
+ + + + + + + + {% if site.app_video %} +
+ +
+ {% else %} + + {% endif %} +
+
+
+ + + + + + + + +
+
+

+ {{ site.app_name }} +

+

+ {{ site.app_price }} +

+
+
+

+ {{ site.app_description }} +

+
+
+ + +
+
+ {% include features.html %} + {% include footer.html %} + {% include appstoreimages.html %} +
+
+
\ No newline at end of file diff --git a/docs/index.html b/docs/index.html index fc3f595..036c436 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,5 +1,3 @@ --- layout: default ---- - -{% include_relative themes/default/index.html %} \ No newline at end of file +--- \ No newline at end of file diff --git a/docs/themes/default/main.scss b/docs/main.scss similarity index 93% rename from docs/themes/default/main.scss rename to docs/main.scss index 3d83453..3869622 100644 --- a/docs/themes/default/main.scss +++ b/docs/main.scss @@ -3,7 +3,7 @@ --- $header-image: "{{ site.header_image }}"; -$device-color: "../../assets/{{ site.device_color }}.png"; +$device-color: "../assets/{{ site.device_color }}.png"; $primary-text-color: {{ site.primary_text_color }}; $secondary-text-color: {{ site.secondary_text_color }}; diff --git a/docs/themes/default/index.html b/docs/themes/default/index.html deleted file mode 100644 index 6a0f357..0000000 --- a/docs/themes/default/index.html +++ /dev/null @@ -1,58 +0,0 @@ - -
-
-
- {% include header.html %} -
- - - - - - - - {% if site.app_video %} -
- -
- {% else %} - - {% endif %} -
-
-
- - - - - - - - -
-
-

- {{ site.app_name }} -

-

- {{ site.app_price }} -

-
-
-

- {{ site.app_description }} -

-
-
- - -
-
- {% include features.html %} - {% include footer.html %} - {% include appstoreimages.html %} -
-
-
-- 2.51.2