diff --git a/content/subprojects/docs/index.md b/content/subprojects/docs/index.md index 036e61a..3bcbf1a 100644 --- a/content/subprojects/docs/index.md +++ b/content/subprojects/docs/index.md @@ -7,6 +7,7 @@ tags = ["Demo", "Test"] [extra] preview = "pond.jpg" badge = "Coming Soon" +url = "https://example.com" +++ This feature is not yet implemented. Coming soon! diff --git a/templates/partials/subprojects.html b/templates/partials/subprojects.html index 124e263..0501a9e 100644 --- a/templates/partials/subprojects.html +++ b/templates/partials/subprojects.html @@ -1,7 +1,11 @@
{%- for page in section.pages %}
- + {%- if page.extra.url -%} + + {%- else -%} + + {%- endif -%} {% if page.extra.badge %} {{ page.extra.badge }}