mirror of https://github.com/lxndrblz/anatole.git

Alexander Bilz
03.47.2020 d1838918bc79f5221a5420ef128370adc7bc8c03
Merge pull request #86 from ivangjxyz/master

Corrected issue of sun icon not adapted to new FontAwesome version.
5 files modified
10 ■■■■■ changed files
assets/css/style.css 1 ●●●● patch | view | raw | blame | history
exampleSite/content/post/math-typesetting.md 1 ●●●● patch | view | raw | blame | history
layouts/_default/single.html 4 ●●●● patch | view | raw | blame | history
layouts/index.html 2 ●●● patch | view | raw | blame | history
layouts/partials/navbar.html 2 ●●● patch | view | raw | blame | history
assets/css/style.css
@@ -417,6 +417,7 @@
.post .post-footer .meta .info .date {
    margin-right: 10px;
    margin-left: 5px
}
.info {
exampleSite/content/post/math-typesetting.md
@@ -37,6 +37,7 @@
### Examples
Inline math: \\(\varphi = \dfrac{1+\sqrt5}{2}= 1.6180339887…\\)
Block math:
layouts/_default/single.html
@@ -6,9 +6,9 @@
                <h3>{{ .Title }}</h3>
                {{ if eq .Type "post"}}
                    <div class="info">
                        <em class="fa fa-sun-o"></em>
                        <em class="fas fa-calendar-day"></em>
                        <span class="date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
                        <em class="fa fa-clock-o"></em>
                        <em class="fas fa-stopwatch"></em>
                        <span class="reading-time">{{ i18n "reading_time" .ReadingTime }}</span>
                    </div>
                {{ end }}
layouts/index.html
@@ -11,7 +11,7 @@
            </div>
            <div class="post-footer">
                <div class="meta">
                    <div class="info"><em class="fa fa-sun-o"></em><span
                    <div class="info"><em class="fas fa-calendar-day"></em><span
                                class="date">{{ .Date.Format "Mon, Jan 2, 2006" }}</span>
                        {{ with .Params.tags }}
                            {{- range $index, $el := . -}}
layouts/partials/navbar.html
@@ -25,7 +25,7 @@
        {{ end }}
        <li class="theme-switch-item">
            <a class="theme-switch" title="Switch Theme">
                <i class="fa fa-adjust fa-fw" aria-hidden="true"></i>
                <i class="fas fa-adjust fa-fw" aria-hidden="true"></i>
            </a>
        </li>
    </ul>