Skip to content

Commit

Permalink
Accessibility improvements, CSP fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
x1y committed Mar 1, 2024
1 parent e2beb0a commit 0e7ac35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion themes/pinetheme/layouts/blog/single.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{ define "main" }}
<div class="box">
<div class="box rows pad blog">
<a href="/blog/" class="backlink"><img src = "/img/arrow_left.svg" width="14">All blog posts</a><br><br>
<a href="/blog/" class="backlink"><img src = "/img/arrow_left.svg" width="14" alt="Backlink to all blog posts">All blog posts</a><br><br>
<div class="blog-header">

<div class="blog-title"><h1>{{ .Title }}</h1></div>
Expand Down
4 changes: 2 additions & 2 deletions themes/pinetheme/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

<!-- Meta_ Description -->
<meta name="description" content="{{.Description | default .Site.Params.SiteDescription}}">

<!-- CSP -->
<meta http-equiv="Content-Security-Policy" content="Content-Security-Policy: default-src 'self'; form-action 'none'; frame-ancestors 'none'; upgrade-insecure-requests">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; img-src *">

<!-- Open Graph template -->
{{- template "_internal/opengraph.html" . -}}
Expand Down

0 comments on commit 0e7ac35

Please sign in to comment.