Now can alternatively generate a static page for a URL from pages, or dynamically return it with c.Render from views. Did this for games and streams.
This commit is contained in:
parent
cb537328ff
commit
d095bc9ff4
6 changed files with 45 additions and 94 deletions
|
@ -5,10 +5,40 @@
|
|||
<link rel="stylesheet" href="/global.css">
|
||||
<link rel="stylesheet" href="/color.css">
|
||||
<link rel="stylesheet" href="/blockstart.css">
|
||||
<title>{{.Title}}</title>
|
||||
<script defer src="/js/alpine.js"></script>
|
||||
<script src="/js/code.js"></script>
|
||||
<title>ZedShaw.games</title>
|
||||
</head>
|
||||
<body data-testid="{{.PageId}}">
|
||||
<header>
|
||||
<blockstart style="background-color: var(--value0)">
|
||||
<block style="--value: 0; --text: 9" class="horizontal">
|
||||
<a href="/">🏡</a>
|
||||
<a href="/live/">Live</a>
|
||||
<a href="/stream/">Streams</a>
|
||||
<a href="/game/">Games</a>
|
||||
<a href="/register/">Register</a>
|
||||
<a href="/login/">Login</a>
|
||||
</block>
|
||||
</blockstart>
|
||||
</header>
|
||||
|
||||
<body>
|
||||
{{embed}}
|
||||
{{embed}}
|
||||
|
||||
<footer>
|
||||
<blockstart style="--value: 0; --text: 9">
|
||||
<block class="horizontal">
|
||||
<shape style="--w: 200px; --h: 250px">Zed Pic</shape>
|
||||
<div>
|
||||
<h3>About Me</h3>
|
||||
<p>Blah blah about me.</p>
|
||||
</div>
|
||||
<div>
|
||||
<h3>Other Projects</h3>
|
||||
<p>Some other links to stuff.</p>
|
||||
</div>
|
||||
</block>
|
||||
</blockstart>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue