summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/book.html
blob: 363b7c9465e92a25a623ad90a4c6add0e073fbf2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<div class="book-showcase">
    <div class="book-cover">
        <a href="{{ .Get "cover" }}" data-fancybox>
            <img class="lazy" data-src="{{ .Get "cover" }}"  />
        </a>
    </div>
    <div class="book-description">
        <div class="book-description-header">
            <h3 class="book-title" id="book-{{ .Get "title" }}">{{ .Get "title" }}</h3>
            <p>分数:{{ .Get "rating" }}</p>
        </div>
        <div>

            {{ .Inner | markdownify }}
        </div>
    </div>
</div>