From 2580420fcc070efaca99365627be61e489c45c87 Mon Sep 17 00:00:00 2001 From: samaradel Date: Tue, 26 Apr 2022 16:01:21 +0200 Subject: [PATCH] Fix id --- content/developer/_index.md | 2 +- templates/shortcodes/row.html | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/content/developer/_index.md b/content/developer/_index.md index 100c7bf44..67f476c59 100644 --- a/content/developer/_index.md +++ b/content/developer/_index.md @@ -94,7 +94,7 @@ All our docs are the results of community efforts. Create a pull request if you -{% row(style="center between") %} +{% row(style="center between" id="table_link") %} ## EXPLORE THE
**DOCUMENTATION** diff --git a/templates/shortcodes/row.html b/templates/shortcodes/row.html index cb91e7678..79307e361 100644 --- a/templates/shortcodes/row.html +++ b/templates/shortcodes/row.html @@ -20,6 +20,12 @@ Parameters: {% endif %} {% set col_class = "flex-1 mb-8 md:mb-0 md:mx-8" %} +{% set row_id = '' %} + +{% if id %} +{% set row_id = id %} + +{% endif %} {% if style %} @@ -78,7 +84,7 @@ Parameters: -
+
{% for column in columns%}