summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2024-11-16 00:39:47 -0500
committersowgro <tpoke.ferrari@gmail.com>2024-11-16 00:39:47 -0500
commitab0ed7c99e28f4c6e91755c182d81ed71cb40b5b (patch)
tree95468b0452fdc017042a365a3325107071890dfe /templates
parent88b6c5f38298c940242e40efe1e08096a6da20ba (diff)
downloadgrav-sowtheme-ab0ed7c99e28f4c6e91755c182d81ed71cb40b5b.tar.gz
grav-sowtheme-ab0ed7c99e28f4c6e91755c182d81ed71cb40b5b.tar.bz2
grav-sowtheme-ab0ed7c99e28f4c6e91755c182d81ed71cb40b5b.zip
Update formatting
Diffstat (limited to 'templates')
-rw-r--r--templates/error.html.twig2
-rw-r--r--templates/grid.html.twig12
-rw-r--r--templates/home.html.twig4
-rw-r--r--templates/page.html.twig2
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>