Skip to content

Commit

Permalink
feat: implement skip links on blog pages
Browse files Browse the repository at this point in the history
  • Loading branch information
paulovareiro29 committed Sep 20, 2024
1 parent 267f844 commit 9ba6299
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/pages/blog-overview.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{% extends 'layouts::base.twig' %}
{% set theme = 'default' %}
{%
set skip_links = [
{ href: '#content', text: 'Content' },
]
%}

{% block content %}
<div id='content'></div>
{%
include 'partials::base/b_breadcrumbs.twig' with {
links: [
Expand Down
6 changes: 6 additions & 0 deletions src/pages/blog.twig
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
{% extends 'layouts::base.twig' %}
{% set theme = 'default' %}
{%
set skip_links = [
{ href: '#content', text: 'Content' },
]
%}

{% block content %}
<div id='content'></div>
{%
include 'partials::base/b_breadcrumbs.twig' with {
links: [
Expand Down

0 comments on commit 9ba6299

Please sign in to comment.