Skip to content

Commit 2b7202d

Browse files
Merge pull request #53 from alessandrofajr/dev
Dev
2 parents 880bab2 + a89957a commit 2b7202d

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/_includes/layouts/quotes.njk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<main>
1212
<div class="quotes">
1313
{{ quote.quote }} ― <b>{{ quote.author }}</b>.
14+
<div class="quote-source">{{ quote.source }}</div>
1415
<div class="quote-date">Adicionado em {{ quote.date }}</div>
1516
</div>
1617
<div class="breaker"></div>

src/quotes/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: default
33
title: citações
4+
templateEngineOverride: njk,md
45
pagination:
56
data: collections.quotes
67
size: 15

src/styles.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,11 @@ article {
262262
font-style: italic;
263263
}
264264

265+
.quote-source {
266+
margin-top: 1rem;
267+
font-style: italic;
268+
}
269+
265270
.quote-content {
266271
margin-top: 5px;
267272
margin-bottom: 40px;

0 commit comments

Comments
 (0)