some error fixes
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing

This commit is contained in:
Paul 2024-04-28 17:48:24 +02:00
parent 2c68009a0b
commit d24753ddf7
8 changed files with 27 additions and 38 deletions

View File

@ -6,7 +6,7 @@
<div id="cal-heatmap"></div> <div id="cal-heatmap"></div>
<div id="example-heatmap"></div> <div id="example-heatmap"></div>
<script type="text/javascript"> <script>
var cal = new CalHeatMap(); var cal = new CalHeatMap();
cal.init({ cal.init({
itemSelector: "#example-heatmap", itemSelector: "#example-heatmap",

View File

@ -1,5 +1,5 @@
<header class="article-header"> <header class="article-header">
<h1 class="article-title" itemprop="name"><a href="{{ .Permalink }}" class="permalink">{{ .Title }}</a></h1> <h1 class="article-title" itemprop="name"><a href="{{ .Permalink }}" class="permalink">{{ .Title }}</a></h1>
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format "2006-01-02" }}</time> <time datetime="{{ .Date | htmlUnescape | safeHTML }}" itemprop="datePublished">{{ .Date.Format "2006-01-02" }}</time>
<div class="article-meta"></div> <div class="article-meta"></div>
</header> </header>

View File

@ -12,23 +12,18 @@
<div class="article-inner"> <div class="article-inner">
{{ if and (isset .Params "banner") (not (eq .Params.banner "")) }} {{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
<a href="{{ .Permalink }}" itemprop="url"> <a href="{{ .Permalink }}" itemprop="url">
<img src="{{ .Site.BaseURL }}/{{ .Params.banner }}" class="article-banner"> {{ end }} <img src="{{ .Site.BaseURL }}/{{ .Params.banner }}" class="article-banner">
</a> </a>
{{ end }}
{{ partial "article_header" . }} {{ partial "article_header" . }}
<div class="article-entry" itemprop="articleBody"> <div class="article-entry" itemprop="articleBody">
<p>{{ .Summary }} ...</p> <p>{{ .Summary }} ...</p>
<p class="article-more-link"> <p class="article-more-link">
<a href="{{ .Permalink }}"> <a href="{{ .Permalink }}">
Read more Read more
<!--
{{ with .Site.Data.l10n.articles.read_more }}{{ . }}{{ end }}
-->
</a> </a>
</p> </p>
</div> </div>
<!--
{{ partial "article_footer" . }}
-->
</div> </div>
</article> </article>
{{ end }} {{ end }}

View File

@ -5,10 +5,10 @@
&copy; {{ now.Format "2006" }} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br> &copy; {{ now.Format "2006" }} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br>
{{ with .Site.Params.copyright }}{{ . | markdownify }}{{ end }} {{ with .Site.Params.copyright }}{{ . | markdownify }}{{ end }}
</footer> </footer>
<footer id="footer-right">Your IP address: <a id="dip" target="_blank"></a></footer> <footer id="footer-right">Your IP address: <a id="dip" target="_blank" href=""></a></footer>
</div> </div>
</div> </div>
<script src="{{ .Site.BaseURL }}/js/main.js"></script> <script src="{{ .Site.BaseURL }}/js/main.js"></script>
<script src="{{ .Site.BaseURL }}/bower_components/jquery/dist/jquery.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="{{ .Site.BaseURL }}/bower_components/jquery.hotkeys/jquery.hotkeys.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/jquery.hotkeys/jquery.hotkeys.js"></script>
</footer> </footer>

View File

@ -20,12 +20,6 @@
<script> <script>
hljs.initHighlightingOnLoad(); hljs.initHighlightingOnLoad();
</script> </script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>
<link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico"/> <link rel="icon" href="{{ .Site.BaseURL }}/favicon.ico"/>
<link rel="apple-touch-icon" href="{{ .Site.BaseURL }}/apple-touch-icon.png"/> <link rel="apple-touch-icon" href="{{ .Site.BaseURL }}/apple-touch-icon.png"/>

View File

@ -1,6 +1,6 @@
<div class="widget-wrap"> <div class="widget-wrap">
<input id="search" type="text" placeholder="search"> <input id="search" type="text" placeholder="search">
<ul id="results"></ul> <ul id="results"></ul>
<script type="text/javascript" src="{{ .Site.BaseURL }}/js/search.js"></script> <script src="{{ .Site.BaseURL }}/js/search.js"></script>
<script type="text/javascript" src="{{ .Site.BaseURL }}/bower_components/lunr.js/lunr.min.js"></script> <script src="{{ .Site.BaseURL }}/bower_components/lunr.js/lunr.min.js"></script>
</div> </div>

View File

@ -3,8 +3,8 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<script type="text/javascript" src="../createjs/createjs.js"></script> <script src="../createjs/createjs.js"></script>
<script type="text/javascript" src="particlesjs.js"></script> <script src="particlesjs.js"></script>
<link href="particlesjs.css" rel="stylesheet" type="text/css"> <link href="particlesjs.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>