1
0
Fork 0

Remove unneeded slash

This commit is contained in:
Mo 2023-11-22 02:28:18 +01:00
parent d32cb7a5c2
commit 45879483b0
5 changed files with 10 additions and 10 deletions

View file

@ -7,7 +7,7 @@
<h1>Page not found!</h1> <h1>Page not found!</h1>
<img class="mb-5 max-h-[50vh]" <img class="mb-5 max-h-[50vh]"
src="{{ get_url(path='images/404/bot.svg') | safe }}" /> src="{{ get_url(path='images/404/bot.svg') | safe }}">
<div class="flex justify-center">{{ macros::btn(link=get_url(path='/') , text="Zurück zur Startseite") }}</div> <div class="flex justify-center">{{ macros::btn(link=get_url(path='/') , text="Zurück zur Startseite") }}</div>
</div> </div>

View file

@ -6,7 +6,7 @@
<div class="grid grid-cols-1 gap-y-4 gap-x-8 items-center mb-5 lg:grid-cols-2"> <div class="grid grid-cols-1 gap-y-4 gap-x-8 items-center mb-5 lg:grid-cols-2">
{% set image = resize_image(path=page.assets | first, width=600, height=600, op="fill") %} {% set image = resize_image(path=page.assets | first, width=600, height=600, op="fill") %}
<img src="{{ image.url }}" <img src="{{ image.url }}"
class="object-cover justify-self-center rounded drop-shadow" /> class="object-cover justify-self-center rounded drop-shadow">
<div class="divide-y"> <div class="divide-y">
{{ page.content | safe }} {{ page.content | safe }}

View file

@ -1,8 +1,8 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="de"> <html lang="de">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1">
<title> <title>
{%- block title -%} {%- block title -%}
@ -21,10 +21,10 @@
<link rel="icon" <link rel="icon"
type="image/x-icon" type="image/x-icon"
href="{{ get_url(path='images/logo.svg') | safe }}" /> href="{{ get_url(path='images/logo.svg') | safe }}">
<link href="{{ get_url(path='main.css') | safe }}?v={{ now(timestamp=true) }}" <link href="{{ get_url(path='main.css') | safe }}?v={{ now(timestamp=true) }}"
rel="stylesheet" /> rel="stylesheet">
{% block styles %}{% endblock %} {% block styles %}{% endblock %}
</head> </head>
@ -47,7 +47,7 @@
<a class="p-0.5 transition duration-500 hover:scale-110" <a class="p-0.5 transition duration-500 hover:scale-110"
href="{{ get_url(path='/') | safe }}"> href="{{ get_url(path='/') | safe }}">
<img class="object-contain w-16 h-16 rounded" <img class="object-contain w-16 h-16 rounded"
src="{{ get_url(path='images/logo.svg') | safe }}" /> src="{{ get_url(path='images/logo.svg') | safe }}">
</a> </a>
<nav class="flex gap-x-3 items-center sm:gap-x-4"> <nav class="flex gap-x-3 items-center sm:gap-x-4">

View file

@ -4,14 +4,14 @@
{% block styles %} {% block styles %}
<link rel="stylesheet" <link rel="stylesheet"
href="{{ get_url(path='leaflet/leaflet.css') | safe }}?v={{ now(timestamp=true) }}" /> href="{{ get_url(path='leaflet/leaflet.css') | safe }}?v={{ now(timestamp=true) }}">
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<div class="grid grid-cols-1 gap-y-4 gap-x-6 items-center mb-5 md:grid-cols-2"> <div class="grid grid-cols-1 gap-y-4 gap-x-6 items-center mb-5 md:grid-cols-2">
{% set image = resize_image(path=config.extra.portrait_path, height=500, op="fit_height") %} {% set image = resize_image(path=config.extra.portrait_path, height=500, op="fit_height") %}
<img src="{{ image.url }}" <img src="{{ image.url }}"
class="object-contain justify-self-center rounded drop-shadow" /> class="object-contain justify-self-center rounded drop-shadow">
{{ section.content | safe }} {{ section.content | safe }}
</div> </div>

View file

@ -8,7 +8,7 @@
{% set image_path = dir ~ image_filename %} {% set image_path = dir ~ image_filename %}
{% set image = resize_image(path=image_path, width=400, height=400, op="fill") %} {% set image = resize_image(path=image_path, width=400, height=400, op="fill") %}
<img src="{{ image.url }}" <img src="{{ image.url }}"
class="object-cover justify-self-center rounded drop-shadow" /> class="object-cover justify-self-center rounded drop-shadow">
<div> <div>
<h3>{{ name }}</h3> <h3>{{ name }}</h3>