~kungtotte/dtt

2ade30184df7799186f147863445df6d2f53dddf — Thomas Landin 2 months ago 281e947
Update tmpl.nim to reflect dropping config.cfg

Since we're using templates we don't need to put these things in via
variables read from a config.cfg file, people can just change their
template(s).
1 files changed, 5 insertions(+), 5 deletions(-)

M src/tmpl.nim
M src/tmpl.nim => src/tmpl.nim +5 -5
@@ 1,11 1,11 @@
let
  page* = """
<!DOCTYPE html>
<html lang="{{language}}">
<html lang="en">
  <head>
    <meta charset="{{charset}}">
    <meta charset="UTF-8">
    <meta charset="viewport" content="width=device-width, initial-scale=1">
    <title>{{page_title}}</title>
    <title>My Webpage</title>
    <link rel="stylesheet" type="text/css" href="/css/style.css">
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" rel="icon" type="image/x-icon" /></head>
  <body>


@@ 36,8 36,8 @@ let
"""
  footer* = """
<footer>
  <p>&copy; <a href="mailto:{{email}}">{{author}}</a></p>
  <p>The contents of this site is <a href="{{content_license_url}}">{{content_license}}</a></p>
  <p>&copy; <a href="mailto:">Author Name</a></p>
  <p>The contents of this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a></p>
</footer>
"""
  style* = """