diff options
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 %} |
