diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/error.html.twig | 2 | ||||
-rw-r--r-- | templates/grid.html.twig | 12 | ||||
-rw-r--r-- | templates/home.html.twig | 4 | ||||
-rw-r--r-- | templates/page.html.twig | 2 |
4 files changed, 9 insertions, 11 deletions
diff --git a/templates/error.html.twig b/templates/error.html.twig index ca93074..6bac338 100644 --- a/templates/error.html.twig +++ b/templates/error.html.twig @@ -1,6 +1,6 @@ <!DOCTYPE html> {% do assets.addCss('theme://css/website.css', 100) %} -<html> +<html lang="en"> <head> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> diff --git a/templates/grid.html.twig b/templates/grid.html.twig index 8935ec2..c23e98d 100644 --- a/templates/grid.html.twig +++ b/templates/grid.html.twig @@ -17,13 +17,11 @@ {{ page.content|raw }} <div class="grid"> {% for current_page in page.children %} - <a href="{{ current_page.url|e }}"> - <div class="proj"> - <div class="proj-thumb"> - {{ current_page.media.images|first|raw }} - </div> - {{ current_page.title|e }} - </div> + <a href="{{ current_page.url|e }}" class="proj"> + <div class="proj-thumb"> + {{ current_page.media.images|first|raw }} + </div> + {{ current_page.title|e }} </a> {% endfor %} </div> diff --git a/templates/home.html.twig b/templates/home.html.twig index 5c7d0b7..b7a40e1 100644 --- a/templates/home.html.twig +++ b/templates/home.html.twig @@ -1,6 +1,6 @@ -{% do assets.addCss('theme://css/website.css', 100) %} <!DOCTYPE html> -<html> +{% do assets.addCss('theme://css/website.css', 100) %} +<html lang="en"> <head> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> diff --git a/templates/page.html.twig b/templates/page.html.twig index 41733c9..e9330fc 100644 --- a/templates/page.html.twig +++ b/templates/page.html.twig @@ -1,6 +1,6 @@ <!DOCTYPE html> {% do assets.addCss('theme://css/website.css', 100) %} -<html> +<html lang="en"> <head> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> |