diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-12-29 09:51:08 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-12-29 09:51:08 -0800 |
| commit | 7a8925743878d96a2cef0ec61b13356985962bf8 (patch) | |
| tree | 8006534d679bee945c9df861ca7026ca887a239c /templates | |
| parent | add extra configurations for editors (diff) | |
| download | fcuny.net-7a8925743878d96a2cef0ec61b13356985962bf8.tar.gz | |
format: templates
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/base.html | 16 | ||||
| -rw-r--r-- | templates/index.html | 3 | ||||
| -rw-r--r-- | templates/page.html | 6 | ||||
| -rw-r--r-- | templates/resume.html | 8 |
4 files changed, 6 insertions, 27 deletions
diff --git a/templates/base.html b/templates/base.html index 729abb9..5537a36 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,23 +1,13 @@ <!doctype html> -<html - xmlns="http://www.w3.org/1999/xhtml" - lang="{{ lang }}" - xml:lang="{{ lang }}" -> +<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ lang }}" xml:lang="{{ lang }}"> <head> <meta charset="utf-8" /> - <meta - name="viewport" - content="width=device-width, initial-scale=1, user-scalable=no" - /> + <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> <link rel="canonical" href="{{- current_url|safe -}}" /> <link rel="stylesheet" href="/css/custom.css" /> <meta name="author" content="{{- config.author -}}" /> - <meta - name="description" - content="{%- block description -%}{{- config.description -}}{%- endblock description -%}" - /> + <meta name="description" content="{%- block description -%}{{- config.description -}}{%- endblock description -%}" /> <title>{% block title %}{{- config.title -}}{% endblock title %}</title> </head> diff --git a/templates/index.html b/templates/index.html index a488970..cf83d26 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,4 @@ -{% extends "base.html" %} {%- block content -%} {% if section.content %} {{ -section.content | safe }} {% endif %} +{% extends "base.html" %} {%- block content -%} {% if section.content %} {{ section.content | safe }} {% endif %} <hr /> diff --git a/templates/page.html b/templates/page.html index f0f9556..c29d871 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,8 +1,4 @@ -{% extends "base.html" %} - -{% block title %}{{ page.title }} - {{ config.title }}{% endblock title %} - -{% block content-%} +{% extends "base.html" %} {% block title %}{{ page.title }} - {{ config.title }}{% endblock title %} {% block content-%} <h1>{{ page.title }}</h1> <div class="metadata"> diff --git a/templates/resume.html b/templates/resume.html index f64f631..84449c5 100644 --- a/templates/resume.html +++ b/templates/resume.html @@ -1,7 +1 @@ -{% extends "base.html" %} - -{% block content %} - -{{ section.content | safe }} - -{% endblock %} +{% extends "base.html" %} {% block content %} {{ section.content | safe }} {% endblock %} |
