Put the simple software data in the home page content file.

This commit is contained in:
steverusso 2020-06-11 20:33:57 -04:00
parent fe2b096172
commit bff5d731f3
4 changed files with 24 additions and 24 deletions

View File

@ -1,3 +1,25 @@
---
title:
ssattrs: [
{
"title": "Comprehensible Interaction",
"img": "/img/interact.png",
"desc": "The interface to software should be clear, without surprises. Engineers working on the project should not be deciphering code. Documentation is implied as part of the system, enabling all users to understand the software package better."
},
{
"title": "Straightforward Modification",
"img": "/img/tools.png",
"desc": "Software should handle changes smoothly. Great software feels like it was designed for future changes. The documentation will instruct an engineer's strategy, removing ambiguity of how something works."
},
{
"title": "Robust",
"img": "/img/robust.png",
"desc": "Load spikes, accidental misuse, and business growth should not bring software crashing to the ground. Systems should be designed to handle faults gracefully. If there are errors, they should be reported clearly."
},
{
"title": "Leveraged by Other Systems",
"img": "/img/leverage.png",
"desc": "When software simply does its job, and does it well, it will be an asset to other systems. When software becomes convoluted, it will hinder other systems."
}
]
---

View File

@ -1,22 +0,0 @@
[
{
"title": "Comprehensible Interaction",
"img": "/img/interact.png",
"desc": "The interface to software should be clear, without surprises. Engineers working on the project should not be deciphering code. Documentation is implied as part of the system, enabling all users to understand the software package better."
},
{
"title": "Straightforward Modification",
"img": "/img/tools.png",
"desc": "Software should handle changes smoothly. Great software feels like it was designed for future changes. The documentation will instruct an engineer's strategy, removing ambiguity of how something works."
},
{
"title": "Robust",
"img": "/img/robust.png",
"desc": "Load spikes, accidental misuse, and business growth should not bring software crashing to the ground. Systems should be designed to handle faults gracefully. If there are errors, they should be reported clearly."
},
{
"title": "Leveraged by Other Systems",
"img": "/img/leverage.png",
"desc": "When software simply does its job, and does it well, it will be an asset to other systems. When software becomes convoluted, it will hinder other systems."
}
]

View File

@ -1,4 +1,4 @@
{{ define "main" }}
{{ partial "jumbotron.html" . }}
{{ partial "simple-software.html" . }}
{{ partial "simple-software.html" .Params.ssattrs }}
{{ end }}

View File

@ -7,7 +7,7 @@
</div>
<div class="row justify-center">
{{ range $.Site.Data.home.ssattrs }}
{{ range $ }}
<div class="col xs-12 sm-10 md-6">
{{ partial "cards/home-card.html" . }}
</div>