From 413ceb4fe74eafa1c409bf3043d74ebb2b2f04a6 Mon Sep 17 00:00:00 2001 From: sovanna Date: Mon, 27 Jan 2020 15:07:11 +0100 Subject: [PATCH] fix(issue24): Corrects custom layout for office direction --- content/about-us/office.md | 24 +---------- .../layout_flex_office_direction.html | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+), 23 deletions(-) create mode 100644 templates/shortcodes/layout_flex_office_direction.html diff --git a/content/about-us/office.md b/content/about-us/office.md index 132a5da..37c5773 100644 --- a/content/about-us/office.md +++ b/content/about-us/office.md @@ -34,28 +34,6 @@ Those transportation options take you to King's Road, then see the directions be
-{% layout_card(src="images/directions_1@2x.png", imgbottom=true, rmcard=true) %} - -1 When entering from King's Road, Pan Hoi Street looks like this. Go to the location of the red arrow: - -{% end %} - - -{% layout_card(src="images/directions_2@2x.png", imgbottom=true, rmcard=true) %} - -

-2 Enter here: -

- -{% end %} - - -{% layout_card(src="images/directions_3@2x.png", imgbottom=true, rmcard=true) %} - -

-3 Turn right here, walk a little bit, and M-Labs will be on your left: -

- -{% end %} +{{ layout_flex_office_direction() }}
\ No newline at end of file diff --git a/templates/shortcodes/layout_flex_office_direction.html b/templates/shortcodes/layout_flex_office_direction.html new file mode 100644 index 0000000..094f5cf --- /dev/null +++ b/templates/shortcodes/layout_flex_office_direction.html @@ -0,0 +1,43 @@ +
+ +
+ +
+ +
+ + 1 When entering from King's Road, Pan Hoi Street looks like this. Go to the location of the red arrow: + +
+ + + +
+ +
+ +
+ + 2 Enter here: + +
+ + + +
+ +
+ +
+ + 3 Turn right here, walk a little bit, and M-Labs will be on your left: + +
+ + + +
+ +
+ +
\ No newline at end of file