From: Jeremy Thomas Date: Tue, 10 Apr 2018 21:50:18 +0000 (+0100) Subject: Add link element X-Git-Tag: 0.7.0~1^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d72f51ece7c2c5891f5b67f2f16c84f4ec423179;p=thirdparty%2Fbulma.git Add link element --- diff --git a/docs/_includes/components/links.html b/docs/_includes/components/links.html index 5e2faa964..5af554040 100644 --- a/docs/_includes/components/links.html +++ b/docs/_includes/components/links.html @@ -13,22 +13,16 @@ {% assign thingy = link_id[0] %} {% assign link = site.data.links.by_id[thingy] %} {% endif %} - - - - + {% assign link_url = site.url | append: link.path %} + {% + include elements/link.html + url=link_url + color=link.color + icon_brand=link.icon_brand + icon_regular=link.icon_regular + icon=link.icon + name=link.name + subtitle=link.subtitle + %} {% endfor %} diff --git a/docs/_includes/elements/link.html b/docs/_includes/elements/link.html new file mode 100644 index 000000000..e491b7ed3 --- /dev/null +++ b/docs/_includes/elements/link.html @@ -0,0 +1,17 @@ + + + + diff --git a/docs/blog.html b/docs/blog.html index 51243d1e7..f129d491e 100644 --- a/docs/blog.html +++ b/docs/blog.html @@ -38,19 +38,17 @@ breadcrumb:
diff --git a/docs/more.html b/docs/more.html index d42cd1f15..097a9d004 100644 --- a/docs/more.html +++ b/docs/more.html @@ -33,19 +33,17 @@ breadcrumb: