diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-07-14 08:56:53 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-07-14 08:56:53 -0700 |
| commit | c4afe667db7734f41de3fca9d1c18e309abcc1d8 (patch) | |
| tree | 3b3d88d4c7c38a1758d5313e8116181900b8e864 /src/fcuny.net/templates | |
| parent | create common network configuration for nixos (diff) | |
| download | infra-c4afe667db7734f41de3fca9d1c18e309abcc1d8.tar.gz | |
import my website under `src`
This does not import the history of the previous repository.
Diffstat (limited to 'src/fcuny.net/templates')
| -rw-r--r-- | src/fcuny.net/templates/base.html | 18 | ||||
| -rw-r--r-- | src/fcuny.net/templates/index.html | 7 | ||||
| -rw-r--r-- | src/fcuny.net/templates/resume.html | 1 |
3 files changed, 26 insertions, 0 deletions
diff --git a/src/fcuny.net/templates/base.html b/src/fcuny.net/templates/base.html new file mode 100644 index 0000000..5537a36 --- /dev/null +++ b/src/fcuny.net/templates/base.html @@ -0,0 +1,18 @@ +<!doctype html> +<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" /> + <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 -%}" /> + + <title>{% block title %}{{- config.title -}}{% endblock title %}</title> + </head> + + <body> + <main>{% block content %}{% endblock content %}</main> + </body> +</html> diff --git a/src/fcuny.net/templates/index.html b/src/fcuny.net/templates/index.html new file mode 100644 index 0000000..bb5a86c --- /dev/null +++ b/src/fcuny.net/templates/index.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{%- block content -%} + +{% if section.content %} {{ section.content | safe }}{% endif %} + +{%- endblock content -%} diff --git a/src/fcuny.net/templates/resume.html b/src/fcuny.net/templates/resume.html new file mode 100644 index 0000000..84449c5 --- /dev/null +++ b/src/fcuny.net/templates/resume.html @@ -0,0 +1 @@ +{% extends "base.html" %} {% block content %} {{ section.content | safe }} {% endblock %} |
