Simulate background-clip: text for browsers that don't support it
Move the heading generating to a partial that iteratively wraps each character of the heading in a <span>. The CSS for the site heading uses :nth-child to color each span a different color.
This commit is contained in:
parent
0e81f019a7
commit
fc35499d6c
5 changed files with 31 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{{ define "body" }}
|
||||
<main>
|
||||
<div class="platter grid">
|
||||
<h1 class="site">{{ .Title }}</h1>
|
||||
<h1 class="site">{{ partial "site_name.html" .Title }}</h1>
|
||||
<div id="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue