jk
4 years ago
6 changed files with 131 additions and 0 deletions
-
4content/exercise.md
-
11data/workouts/workout-2021-03-03_08-47-Wed_morning.yaml
-
20layouts/exercise/single.html
-
BINstatic/images/workouts/workout-2021-03-03_08-47-Wed_morning.jpg
-
BINstatic/images/workouts/workout-2021-03-03_08-47-Wed_morning_thumb.jpg
-
96themes/nipponalba/static/css/style.css
@ -0,0 +1,4 @@ |
|||
--- |
|||
title: "Exercise" |
|||
type: exercise |
|||
--- |
@ -0,0 +1,11 @@ |
|||
--- |
|||
type: "running" |
|||
date: 2021-03-03T09:26:31+00:00 |
|||
comment: "Wed morning " |
|||
distance: "4.909 km" |
|||
duration: "00:38:33" |
|||
pace: "7:420 min/km" |
|||
calories: "432 kcal" |
|||
image: "/images/workouts/workout-2021-03-03_08-47-Wed_morning.jpg" |
|||
thumb: "/images/workouts/workout-2021-03-03_08-47-Wed_morning_thumb.jpg" |
|||
--- |
@ -0,0 +1,20 @@ |
|||
{{ define "main" }} |
|||
<section class="author" style="display:none;"> |
|||
<a rel="author" class="p-author h-card" rel="me" href="https://jon.kelbie.scot">{{ .Site.Params.Author }}<img src="/images/profile1.jpg"/></a> |
|||
</section> |
|||
<section class="exercise"> |
|||
<h2>Goal: Get fit again, increase stamina and strength</h2> |
|||
{{ range sort .Site.Data.workouts "date" "desc"}} |
|||
<section class="exercise_grid"> |
|||
<span class="type"><b>Type</b><br/>{{ .type | humanize }}</span> |
|||
<span class="exdate"><b>Date</b><br/>{{ dateFormat "2 Jan 2006" .date }}</span> |
|||
<span class="comment"><b>Comment</b><br/>{{ .comment | humanize }}</span> |
|||
<span class="image"><a href="{{ .image }}" class="u-url"><img src="{{ .thumb }}" title="{{ .comment }}" alt="route map of outdoor exercise from fitotrack app" /></a></span> |
|||
<span class="distance"><b>Distance</b><br/>{{ .distance }}</span> |
|||
<span class="duration"><b>Duration</b><br/>{{ .duration }}</span> |
|||
<span class="pace"><b>Pace</b><br/>{{ .pace }}</span> |
|||
<span class="calories"><b>Calories burned</b><br/>{{ .calories }}</span> |
|||
</section> |
|||
{{ end }} |
|||
</section> |
|||
{{ end }} |
After Width: 600 | Height: 600 | Size: 93 KiB |
After Width: 165 | Height: 165 | Size: 7.8 KiB |
Write
Preview
Loading…
Cancel
Save
Reference in new issue