archive
/
social-landing
Archived
1
Fork 0

Cards for pages

This commit is contained in:
Jake Howard 2019-01-12 14:41:32 +00:00
parent 2d690a2bbc
commit 6b120ecc7c
Signed by: jake
GPG Key ID: 57AFB45680EDD477
3 changed files with 21 additions and 11 deletions

6
content/github.md Normal file
View File

@ -0,0 +1,6 @@
---
title: GitHub
account: RealOrangeOne
---
My GitHub account

View File

@ -12,18 +12,11 @@
<body>
<div class="container">
<div class="row">
<div class="col s3">
<div class="card">
<div class="card-image">
<img src="images/sample-1.jpg" />
<span class="card-title">Card Title</span>
<a class="btn-floating halfway-fab waves-effect waves-light red"><i class="fas fa-plus"></i></a>
</div>
<div class="card-content">
<p>I am a very simple card. I am good at containing small bits of information. I am convenient because I require little markup to use effectively.</p>
</div>
{{ range sort .Pages "Title" }}
<div class="col s3">
{{ partial "card.html" . }}
</div>
</div>
{{ end }}
</div>
</div>
{{ partial "script.html" "js/materialize.js" }}

View File

@ -0,0 +1,11 @@
<div class="card hoverable">
<div class="card-image">
<img src="images/sample-1.jpg" />
<a class="btn-floating halfway-fab waves-effect waves-light red"><i class="fas fa-plus"></i></a>
</div>
<div class="card-content">
<span class="card-title" style="margin-bottom: -8px">{{ .Title }}</span>
<span class="card-title"><h6>{{ .Params.account }}</h6></span>
<p>{{ .Summary }}</p>
</div>
</div>