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:
Lei Zhang 2017-11-14 10:27:19 -05:00 committed by olOwOlo
parent c01c9cffb7
commit fa7e44cec8
8 changed files with 17 additions and 17 deletions

View file

@ -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 -}}

View file

@ -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">

View file

@ -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 }}

View file

@ -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>

View file

@ -23,13 +23,13 @@
.post-category {
display: inline;
&::before {
content: '·';
}
a {
color: inherit;
&::before {
content: '·';
}
&:hover {
color: $theme-color;
}

View file

@ -1,6 +1,6 @@
{
"name": "even-src",
"version": "2.6.5",
"version": "2.6.6",
"description": "even source file",
"main": "index.js",
"scripts": {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long