mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-11-08 22:49:44 +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 }}
|
||||
|
||||
<!-- 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.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 -}}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<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 }}
|
||||
{{- 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) }}
|
||||
<script type="text/javascript">
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
|
||||
{{ with .Params.categories -}}
|
||||
<div class="post-category">
|
||||
{{ range . -}}
|
||||
<a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
|
||||
{{- end }}
|
||||
{{ range . }}
|
||||
<a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
{{ if .Site.Params.moreMeta -}}
|
||||
|
@ -63,4 +63,4 @@
|
|||
</nav>
|
||||
</footer>
|
||||
</article>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
<span class="post-time"> {{ .Date.Format (.Site.Params.dateFormatToUse | default "2006-01-02") }} </span>
|
||||
{{ with .Params.categories -}}
|
||||
<div class="post-category">
|
||||
{{ range . -}}
|
||||
<a href="{{ "categories" | relURL }}/{{ . | urlize }}/">{{ . }}</a>
|
||||
{{- end }}
|
||||
{{ range . }}
|
||||
<a href="{{ "categories" | relURL }}/{{ . | urlize }}/"> {{ . }} </a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
{{ if .Site.Params.moreMeta -}}
|
||||
|
@ -26,4 +26,4 @@
|
|||
<a href="{{ .URL }}" class="read-more-link">{{ $lang.posts.readmore }}</a>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
</article>
|
||||
|
|
|
@ -23,13 +23,13 @@
|
|||
.post-category {
|
||||
display: inline;
|
||||
|
||||
&::before {
|
||||
content: '·';
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
|
||||
&::before {
|
||||
content: '·';
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: $theme-color;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "even-src",
|
||||
"version": "2.6.5",
|
||||
"version": "2.6.6",
|
||||
"description": "even source file",
|
||||
"main": "index.js",
|
||||
"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