Remove debug info
This commit is contained in:
parent
9f12248303
commit
81e5bc4c69
@ -1,4 +1,3 @@
|
|||||||
<h2>Posts</h2>
|
<h2>Posts</h2>
|
||||||
|
|
||||||
<!-- render posts -->
|
|
||||||
$list_posts
|
$list_posts
|
||||||
|
@ -2,14 +2,10 @@
|
|||||||
date: "Thu May 08 2025 19:41:30.000000000"
|
date: "Thu May 08 2025 19:41:30.000000000"
|
||||||
}
|
}
|
||||||
|
|
||||||
<h2><code>index.html</code></h2>
|
|
||||||
|
|
||||||
<!-- render templates/wares -->
|
|
||||||
$render{"templates/wares"}
|
$render{"templates/wares"}
|
||||||
|
|
||||||
<h2>Posts</h2>
|
<h2>Posts</h2>
|
||||||
|
|
||||||
<!-- render posts -->
|
|
||||||
$(list_posts(5))
|
$(list_posts(5))
|
||||||
|
|
||||||
<h4 style="text-align: center;">
|
<h4 style="text-align: center;">
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
-- page = require("sitegen.page").Page
|
|
||||||
-- require("moon").p page
|
|
||||||
-- p = page!
|
|
||||||
-- require("moon").p p
|
|
||||||
|
|
||||||
html ->
|
|
||||||
-- tag =
|
|
||||||
-- tag.inner = "this is a link"
|
|
||||||
-- tag.attributes = { href: "." }
|
|
||||||
|
|
||||||
-- require("moon").p page.get_root
|
|
||||||
|
|
||||||
div { style: "border: 1px solid black;"
|
|
||||||
"this is a link inside a div"
|
|
||||||
-- tag["a"] { "some", href: "." }
|
|
||||||
-- tag["a"] { href: @root .. "/", "link text" }
|
|
||||||
|
|
||||||
a { "link text", href: @root .. "/" }
|
|
||||||
}
|
|
@ -1,5 +1,3 @@
|
|||||||
<h2><code>templates/blog.html</code></h2>
|
|
||||||
|
|
||||||
$wrap{"root"}
|
$wrap{"root"}
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
<h2><code>templates/index.html</code></h2>
|
|
||||||
|
|
||||||
$wrap{"root"}
|
$wrap{"root"}
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
<link rel="stylesheet" href="$root/app.css?$generate_date" />
|
<link rel="stylesheet" href="$root/app.css?$generate_date" />
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-white">
|
<body class="bg-white">
|
||||||
<h2><code>templates/root.html</code></h2>
|
|
||||||
<header>
|
<header>
|
||||||
<div style="display: inline-block;">
|
<div style="display: inline-block;">
|
||||||
<h1><a href="/">Web Dev Solutions</a></h1>
|
<h1><a href="/">Web Dev Solutions</a></h1>
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
<h2><code>templates/wares.html</code></h2>
|
|
||||||
|
|
||||||
<h2>Wares</h2>
|
<h2>Wares</h2>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user