~kungtotte/dtt

ee59cd7558e23f29fa9195e852da5d8858907995 — Thomas Landin 2 months ago a028240
Add blank favicon
2 files changed, 4 insertions(+), 1 deletions(-)

M src/dtt.nim
M src/tmpl.nim
M src/dtt.nim => src/dtt.nim +3 -0
@@ 205,6 205,9 @@ proc findConfigFile(full_path: string): Config =
  raise new IOError

proc buildCmd() =
  # TODO: There's a bug where if you run build outside the main dir it won't
  # find things properly, so we need to start with finding the config.cfg file
  # then setting all the other directories relative to that.
  let
    wd = os.getCurrentDir()
    condir = wd / content_dir

M src/tmpl.nim => src/tmpl.nim +1 -1
@@ 18,7 18,7 @@ email = "your@email.tld"
    <meta charset="viewport" content="width=device-width, initial-scale=1">
    <title>{{page_title}}</title>
    <link rel="stylesheet" type="text/css" href="/css/style.css">
  </head>
    <link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" rel="icon" type="image/x-icon" /></head>
  <body>
  {{> header}}
  <main>