mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-09 14:59:45 +00:00
fix: separate categories (#15)
* Separate categories with whitespace * Modify the _header.scss file to add a '·' character release 2.6.6
This commit is contained in:
parent
c01c9cffb7
commit
fa7e44cec8
8 changed files with 17 additions and 17 deletions
|
@ -57,7 +57,7 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
<!-- Styles -->
|
<!-- Styles -->
|
||||||
<link href="{{ "dist/even.min.css?v=2.6.5" | relURL }}" rel="stylesheet">
|
<link href="{{ "dist/even.min.css?v=2.6.6" | relURL }}" rel="stylesheet">
|
||||||
{{ if .Site.Params.bootcdn -}}
|
{{ if .Site.Params.bootcdn -}}
|
||||||
{{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet" crossorigin="anonymous">{{ end }}
|
{{ if .Site.Params.fancybox }}<link href="https://cdn.bootcss.com/fancybox/3.1.20/jquery.fancybox.min.css" rel="stylesheet" crossorigin="anonymous">{{ end }}
|
||||||
{{- else if .Site.Params.publicCDN.enable -}}
|
{{- else if .Site.Params.publicCDN.enable -}}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
<script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script>
|
<script type="text/javascript" src="{{ "lib/slideout/slideout-1.0.1.min.js" | relURL }}"></script>
|
||||||
{{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }}
|
{{ if .Site.Params.fancybox }}<script type="text/javascript" src="{{ "lib/fancybox/jquery.fancybox-3.1.20.min.js" | relURL }}"></script>{{ end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.5" | relURL }}"></script>
|
<script type="text/javascript" src="{{ "dist/even.min.js?v=2.6.6" | relURL }}"></script>
|
||||||
|
|
||||||
{{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }}
|
{{- if and (and .Site.Params.mathjax (ne .Params.mathjax false)) (or .IsPage .IsHome) }}
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
|
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
|
||||||
{{ with .Params.categories -}}
|
{{ with .Params.categories -}}
|
||||||
<div class="post-category">
|
<div class="post-category">
|
||||||
{{ range . -}}
|
{{ range . }}
|
||||||
<a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
|
<a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a>
|
||||||
{{- end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ if .Site.Params.moreMeta -}}
|
{{ if .Site.Params.moreMeta -}}
|
||||||
|
@ -63,4 +63,4 @@
|
||||||
</nav>
|
</nav>
|
||||||
</footer>
|
</footer>
|
||||||
</article>
|
</article>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
|
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
|
||||||
{{ with .Params.categories -}}
|
{{ with .Params.categories -}}
|
||||||
<div class="post-category">
|
<div class="post-category">
|
||||||
{{ range . -}}
|
{{ range . }}
|
||||||
<a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
|
<a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a>
|
||||||
{{- end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ if .Site.Params.moreMeta -}}
|
{{ if .Site.Params.moreMeta -}}
|
||||||
|
@ -26,4 +26,4 @@
|
||||||
<a href="{{ .URL }}" class="read-more-link">{{ $lang.posts.readmore }}</a>
|
<a href="{{ .URL }}" class="read-more-link">{{ $lang.posts.readmore }}</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -23,13 +23,13 @@
|
||||||
.post-category {
|
.post-category {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|
||||||
&::before {
|
|
||||||
content: '·';
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: '·';
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
color: $theme-color;
|
color: $theme-color;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "even-src",
|
"name": "even-src",
|
||||||
"version": "2.6.5",
|
"version": "2.6.6",
|
||||||
"description": "even source file",
|
"description": "even source file",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
2
static/dist/even.min.css
vendored
2
static/dist/even.min.css
vendored
File diff suppressed because one or more lines are too long
2
static/dist/even.min.css.map
vendored
2
static/dist/even.min.css.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue