Skip to content

Commit

Permalink
fix: woof, cross site injection
Browse files Browse the repository at this point in the history
  • Loading branch information
sznowicki committed Dec 5, 2023
1 parent 19f8285 commit df9d5a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
9 changes: 3 additions & 6 deletions dist/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,17 @@ h1, h2, h3, h4, h5 {

h1 {
font-size: 2rem;
display: grid;
justify-content: center;
text-align: center;
& span {
font-size: 1.5rem;
}
}

main {
background: var(--color-background);
display: grid;
gap: 2rem;
padding: 2rem 1rem;
}
.headline {

blockquote {
max-width: 100%;
word-break: break-all;
}
3 changes: 2 additions & 1 deletion functions/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<main>
<div class="headline">
<h1>Kukey.eu <span>curated search for web developers</span></h1>
<p>Super MVP, contact me on <a href="https://social.nowicki.io/@hey">Mastodon</a> or check out the <a href="https://github.com/Kukei-eu">source code</a></p>
</div>
<form action="">
<input type="text" name="q" value="{{ q }}"/>
Expand All @@ -21,7 +22,7 @@ <h1>Kukey.eu <span>curated search for web developers</span></h1>
<li>
<h2>{{ title }}</h2>
<p>{{ excerpt }}</p>
<blockquote>{{{ highlight }}}</blockquote>
<blockquote>{{ highlight }}</blockquote>
<a href="{{ url }}">{{ url }}</a>
</li>
{{/list}}
Expand Down

0 comments on commit df9d5a2

Please sign in to comment.