Skip to content

Commit

Permalink
Rename blueprints json
Browse files Browse the repository at this point in the history
  • Loading branch information
“yndira-flowforge” committed Nov 13, 2023
1 parent 262b174 commit 1051ad9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/_includes/blueprints/blueprints.njk
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a href="{{ item.url }}" class="w-full flex flex-col group hover:no-underline">
<div>
<label>
{%- for tag in blueprintsTags -%}
{%- for tag in blueprintsCategories -%}
{% if tag.value !== "blueprints" and tag.value in item.data.tags %}
{{ tag.label }}
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions src/_includes/blueprints/template.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
</div>
<div class="px-2 my-4 flex flex-wrap gap-4">
{%- for tag in blueprintsTags -%}
{%- for tag in blueprintsCategories -%}
{% if tag.value !== "blueprints" %}
<a class="hover:no-underline" href="/blueprints/{{ tag.value }}/"><button class="ff-btn ff-btn--primary{% if not page.url.includes('/' + tag.value + '/')%}-outlined{% endif %}">{{ tag.label }}</button></a>
{% else %}
Expand All @@ -31,7 +31,7 @@
</div>
<div class="px-2 my-4 flex flex-wrap gap-4">
{%- for tag in blueprintsTags -%}
{%- for tag in blueprintsCategories -%}
{% if tag.value !== "blueprints" %}
{% set isActive = not page.url.includes('/' + tag.value + '/') %}
<a class="hover:no-underline" href="/blueprints/{{ tag.value }}/">
Expand Down
2 changes: 1 addition & 1 deletion src/_includes/layouts/blueprint.njk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ layout: layouts/base.njk
<div class="post-title container m-auto text-center px-6 flex mt-6 mb-6 md:max-w-screen-lg md:mt-12">
<div class="text-left md:pr-32">
<label>
{%- for tag in blueprintsTags -%}
{%- for tag in blueprintsCategories -%}
{% if tag.value !== "blueprints" and tag.value in page.url %}
<label>{{ tag.label }}</label>
{% endif %}
Expand Down

0 comments on commit 1051ad9

Please sign in to comment.