assets fix

This commit is contained in:
Sebastian Frank
2019-02-12 19:09:25 +01:00
parent b7f31e8416
commit c35cfec291
6 changed files with 57 additions and 7 deletions

BIN
example/assets/img/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

View File

@@ -2,6 +2,9 @@ Webserver:
Type: "apache" # generates .htaccess
Assets:
Path: "/assets"
DeployType: "symlink" # symlink, copy or move
FixTemplate: True # change path in html templates, no <base> used
FromPath: "assets"
ToPath: "assets"
Action: "copy" # symlink, copy or move
FixTemplate: # change path in html templates, no <base> used
Find: "\\.\\./assets/"
Replace: ""

View File

@@ -14,6 +14,7 @@
</meta>
<body style="margin: 0; padding: 2;">
<header style="background-color: lightgrey; padding: 20px;">
<div><img src="../assets/img/logo.png" style="max-width: 80%; margin-bottom: 20px;"></div>
<div><b>main Level 1</b></div>
<ul>
{{#each NavMap.de.SubMap.main.SubSlice }}