chore(*): minor cleanup + formatting
This commit is contained in:
parent
81afe237f7
commit
49e21d574e
8 changed files with 35 additions and 34 deletions
|
@ -1,6 +1,6 @@
|
|||
{%- assign categoryUrl = link.permalink | downcase -%}
|
||||
{%- assign isHttp = categoryUrl contains "http" -%}
|
||||
{%- assign url = page.activeUrl | default: page.url -%}
|
||||
{%- assign url = page.activeUrl | default:page.url -%}
|
||||
{%- if categoryUrl | isLinkActive:url -%}
|
||||
{%- capture linkClass -%}
|
||||
{%- if link.section -%}button{%- endif -%}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue