Merge pull request #93 from badele/title-image
Add image title feature in homepage
This commit is contained in:
commit
4d7446e101
@ -77,4 +77,3 @@
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
@ -19,6 +19,9 @@
|
||||
{{ .Params.subtitle }}
|
||||
</h3>
|
||||
{{ end }}
|
||||
{{ if .Params.image }}
|
||||
<img src="{{ .Params.image }}" class="img-title" />
|
||||
{{ end }}
|
||||
</a>
|
||||
|
||||
{{ partial "post_meta.html" . }}
|
||||
@ -60,4 +63,3 @@
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
|
@ -91,6 +91,10 @@ img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.img-title {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.disqus-comments {
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user