Detalji clanaka
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{define "footerHTML"}}
|
||||
|
||||
<footer>
|
||||
© StareNovine
|
||||
SN
|
||||
</footer>
|
||||
{{end}}
|
||||
|
||||
@@ -20,8 +20,20 @@
|
||||
max-width: 98vw;
|
||||
}
|
||||
|
||||
h1#title {
|
||||
margin-block-end: 0;
|
||||
font-size: 1.7em;
|
||||
}
|
||||
|
||||
.timestamp {
|
||||
font-size: 0.8em;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
.single_timestamp {
|
||||
font-size: 0.77em;
|
||||
margin-bottom: 0.7em;
|
||||
color: gray;
|
||||
}
|
||||
|
||||
#logo {
|
||||
|
||||
11
web/data/single_article.html
Normal file
11
web/data/single_article.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{{define "singleArticleHTML"}}
|
||||
{{with .article }}
|
||||
<div class="article_content">
|
||||
<h1 id="title">{{.Title}}</h1>
|
||||
<div class="single_timestamp">{{.SourceName}} - {{ .FormatedCreatedAt }}</div>
|
||||
<div class="article_body">
|
||||
{{.Content}}
|
||||
</div>
|
||||
<br><br>
|
||||
{{end}}
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user