From 1676028143230902a1ec0e4161bf572785675916 Mon Sep 17 00:00:00 2001 From: Rachael Sewell Date: Mon, 29 Mar 2021 18:12:03 -0700 Subject: [PATCH] Tweak sublanding page design (#17977) --- data/ui.yml | 5 +++-- includes/liquid-tags/link-as-article-card.html | 2 +- layouts/product-sublanding.html | 18 +++++++++--------- stylesheets/gradient.scss | 5 +++-- stylesheets/product-sublanding.scss | 16 ++++++++++++++++ 5 files changed, 32 insertions(+), 14 deletions(-) diff --git a/data/ui.yml b/data/ui.yml index 0d5cbf76d1b7..6b2e9b30c232 100644 --- a/data/ui.yml +++ b/data/ui.yml @@ -143,11 +143,12 @@ product_landing: product_sublanding: start: Start start_path: Start path - learning_paths: Learning paths + learning_paths: '{{ allProducts[currentProduct].name }} learning paths' learning_paths_desc: Learning paths are a collection of guides that help you master a particular subject. + guides: '{{ allProducts[currentProduct].name }} guides' more_guides: more guides load_more: Load more guides - all_guides: All Guides + all_guides: 'All {{ allProducts[currentProduct].name }} guides' no_result: Sorry, there is no guide that match your filter. filters: type: Type diff --git a/includes/liquid-tags/link-as-article-card.html b/includes/liquid-tags/link-as-article-card.html index a6d7960c4f8f..37280f625b7c 100644 --- a/includes/liquid-tags/link-as-article-card.html +++ b/includes/liquid-tags/link-as-article-card.html @@ -6,7 +6,7 @@

{{ title }}

{% if topics.length %}
{% for topic in topics %} - {{ topic }} + {{ topic }} {% endfor %}
{% endif %} diff --git a/layouts/product-sublanding.html b/layouts/product-sublanding.html index f7c5792ea1e5..e637614cf48b 100644 --- a/layouts/product-sublanding.html +++ b/layouts/product-sublanding.html @@ -15,9 +15,9 @@
- {% include breadcrumbs %} -

{{ page.shortTitle }}

-
{{ page.intro }}
+ {% include breadcrumbs %} +

{% data ui.product_sublanding.guides %}

+
{{ page.intro }}
@@ -26,7 +26,7 @@

{{ page.shortTitle }}

{% assign featuredTrack = page.learningTracks[0] %}