some error fixes
This commit is contained in:
parent
2c68009a0b
commit
d24753ddf7
@ -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",
|
||||||
|
@ -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>
|
@ -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 }}
|
||||||
|
@ -3,12 +3,12 @@
|
|||||||
<div id="footer-info" class="inner">
|
<div id="footer-info" class="inner">
|
||||||
<footer id="footer-left">
|
<footer id="footer-left">
|
||||||
© {{ now.Format "2006" }} <a href="https://git.paulbsd.com/paulbsd">paulbsd</a>. <br>
|
© {{ 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>
|
@ -20,23 +20,17 @@
|
|||||||
<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"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/highlightjs/styles/monokai.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/highlightjs/styles/monokai.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/bootstrap/css/bootstrap.min.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/bootstrap/css/bootstrap.min.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/bootstrap/css/dropdowns-enhancement.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/bootstrap/css/dropdowns-enhancement.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/talaria/dist/talaria.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/talaria/dist/talaria.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/createjs/createjs.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/createjs/createjs.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/font-awesome/css/font-awesome.min.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/font-awesome/css/font-awesome.min.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/icomoon/css/icomoon.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/icomoon/css/icomoon.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/cal-heatmap/cal-heatmap.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/bower_components/cal-heatmap/cal-heatmap.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css"/>
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/mobile.css" />
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/mobile.css"/>
|
||||||
</head>
|
</head>
|
@ -2,24 +2,24 @@
|
|||||||
<div class="inner profile-inner">
|
<div class="inner profile-inner">
|
||||||
<div class="base-info profile-block">
|
<div class="base-info profile-block">
|
||||||
<img id="avatar" src="{{ .Site.BaseURL }}/css/images/avatar.png">
|
<img id="avatar" src="{{ .Site.BaseURL }}/css/images/avatar.png">
|
||||||
{{ with .Site.Params.author}}<h2 id="name">{{ . }}</h2>{{ end }}
|
{{ with .Site.Params.author }}<h2 id="name">{{ . }}</h2>{{ end }}
|
||||||
{{ with .Site.Params.bio }}<h3 id="title">{{ . }}</h3>{{ end }}
|
{{ with .Site.Params.bio }}<h3 id="title">{{ . }}</h3>{{ end }}
|
||||||
{{ with .Site.Params.location }}<span id="location"><i class="fa fa-map-marker"></i>{{ . }}</span>{{ end }}
|
{{ with .Site.Params.location }}<span id="location"><i class="fa fa-map-marker"></i>{{ . }}</span>{{ end }}
|
||||||
{{ with .Site.Params.profile.follow_button }}
|
{{ with .Site.Params.profile.follow_button }}
|
||||||
<a id="follow" href="{{ . }}">
|
<a id="follow" href="{{ . }}">
|
||||||
{{with $.Site.Data.l10n.profile.follow_button}}{{.}}{{end}}
|
{{ with $.Site.Data.l10n.profile.follow_button }}{{ . }}{{ end }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="article-info profile-block">
|
<div class="article-info profile-block">
|
||||||
<div class="article-info-block">
|
<div class="article-info-block">
|
||||||
{{ len (where .Site.RegularPages "Type" "post") }}
|
{{ len (where .Site.RegularPages "Type" "post") }}
|
||||||
<span>{{with .Site.Data.l10n.profile.posts}}{{.}}{{end}}</span>
|
<span>{{ with .Site.Data.l10n.profile.posts }}{{ . }}{{ end }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="article-info-block">
|
<div class="article-info-block">
|
||||||
{{ len .Site.Taxonomies.tags }}
|
{{ len .Site.Taxonomies.tags }}
|
||||||
<span>
|
<span>
|
||||||
{{with .Site.Data.l10n.profile.tags}}{{.}}{{end}}
|
{{ with .Site.Data.l10n.profile.tags }}{{ . }}{{ end }}
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -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>
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user