diff options
author | EDWARD WEBB <EDWARD.WEBB@LibertyMutual.com> | 2018-02-22 19:23:53 +0300 |
---|---|---|
committer | EDWARD WEBB <EDWARD.WEBB@LibertyMutual.com> | 2018-02-22 19:23:53 +0300 |
commit | 82e8dbbfa1aaafd962265cb68f67155964697a78 (patch) | |
tree | 36ce26a9c030b0d3f1eb35317952886218061c5a /layouts | |
parent | d39d4664b6305dccc53b8deb6904e61d4779985a (diff) |
condensed project summaries, added contribution links back to detail
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/partials/projectsSummary.html | 23 | ||||
-rw-r--r-- | layouts/projects/single.html | 2 |
2 files changed, 16 insertions, 9 deletions
diff --git a/layouts/partials/projectsSummary.html b/layouts/partials/projectsSummary.html index 6a4a97d..cad16bf 100644 --- a/layouts/partials/projectsSummary.html +++ b/layouts/partials/projectsSummary.html @@ -1,8 +1,15 @@ -<h3><a href="{{.Permalink}}">{{ .Title }}</a></h3> -<p>{{ .Description | safeHTML }}<p> -{{with .Params.image }} - <img src="{{ . }}" style="max-height:300px;max-width:90%;"/> -{{ end }} -{{ with .Params.fact }}<p class="project-fact">{{ . }}</p>{{ end }} -<p><a href="{{.Permalink}}">Read more..</a></p> -{{ partial "techtags" . }} + +<h3 class="mb-3">{{ .Title }}</h3> +<div class="resume-item d-flex flex-column flex-md-row mb-3"> + + <div class="resume-content " style="width:200px;!important;"> + {{with .Params.image }} + <img src="{{ . }}" style="max-height:150px;max-width:150px;"/> + {{ end }} + </div> + <div class="resume-date"> + <p>{{ .Description | safeHTML }}<p> + <p class><a href="{{.Permalink}}">Read more..</a></p> + </div> +</div> +<div>{{ partial "techtags" . }}</div> diff --git a/layouts/projects/single.html b/layouts/projects/single.html index 1271533..c8942cd 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -4,7 +4,7 @@ <div class="my-auto"> <h2 class="mb-0"><span class="text-primary">{{ .Title }}</span></h2> {{ .Content }} - {{ with .Params.contributionUrl }}<p>Project link: <a href="{{ . }}">{{ . }}</a></p>{{ end }} + {{ with .Params.link }}<p>Project link: <a href="{{ . }}">{{ . }}</a></p>{{ end }} {{ with .Params.image }}<img src="{{ . }}" style="max-width:80%;"/>{{ end }} {{ with .Params.fact }}<p class="project-fact">{{ . }}</p>{{ end }} {{ partial "techtags" . }} |