index formatting and h-card
This commit is contained in:
parent
38c5d9235e
commit
988f80d353
|
@ -1,4 +1,5 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
|
<article>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
<h2>Latest Blog Posts</h2>
|
<h2>Latest Blog Posts</h2>
|
||||||
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
|
{{ range first 3 (where .Site.RegularPages.ByDate.Reverse "Section" "blog") }}
|
||||||
|
@ -6,4 +7,5 @@
|
||||||
<p>{{ .Summary }}</p>
|
<p>{{ .Summary }}</p>
|
||||||
<a href="{{ .RelPermalink }}">Read More ></a>
|
<a href="{{ .RelPermalink }}">Read More ></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<div class="main-sidebar">
|
<div class="main-sidebar">
|
||||||
<div class="header-nav">
|
<div class="header-nav">
|
||||||
<header>
|
<header>
|
||||||
<div class="profile">
|
<div class="profile h-card">
|
||||||
<a class="sitetitle" href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
|
<a class="sitetitle u-url" href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
|
||||||
<img width="100px" src="/images/avatar.jpg">
|
<img class="u-photo" width="100px" src="/images/avatar.jpg">
|
||||||
<div id="social-links">
|
<div id="social-links">
|
||||||
<ul class="social">
|
<ul class="social">
|
||||||
{{ range site.Menus.social }}
|
{{ range site.Menus.social }}
|
||||||
|
|
Loading…
Reference in New Issue