From ad145af5dc1e86771b8be05aacb42e5a7112418b Mon Sep 17 00:00:00 2001 From: Evan You Date: Fri, 13 Sep 2019 11:46:37 -0400 Subject: [PATCH] feat(partners): add description, allow remote image --- src/partners/index.md | 2 ++ themes/vue/layout/partners-page.ejs | 28 +++++++++++++++------------- themes/vue/source/css/_partners.styl | 4 +++- 3 files changed, 20 insertions(+), 14 deletions(-) diff --git a/src/partners/index.md b/src/partners/index.md index 71a34f965..cb04b0295 100644 --- a/src/partners/index.md +++ b/src/partners/index.md @@ -9,6 +9,8 @@ partners_list: - name: Vehikl logo: vehikl.png + description: + Vehikl is a software consultancy specialising in PHP and JavaScript. proficiencies: - VueJs - Laravel diff --git a/themes/vue/layout/partners-page.ejs b/themes/vue/layout/partners-page.ejs index 2815804fc..66298918a 100644 --- a/themes/vue/layout/partners-page.ejs +++ b/themes/vue/layout/partners-page.ejs @@ -8,22 +8,12 @@ <% for (let partner of page.partners_list) { %>
-

<%= partner.name %>

+ +

<%= partner.description %>

-
Proficiencies
-
-
    - <% for (let proficiency of partner.proficiencies) { %> -
  • - <%= proficiency %> -
  • - <% } %> -
-
-
Location @@ -52,6 +42,18 @@
<%- partner.url_text %>
+ +
Proficiencies
+
+
    + <% for (let proficiency of partner.proficiencies) { %> +
  • + <%= proficiency %> +
  • + <% } %> +
+
+