diff options
author | EDWARD WEBB <EDWARD.WEBB@LibertyMutual.com> | 2018-03-17 14:52:28 +0300 |
---|---|---|
committer | EDWARD WEBB <EDWARD.WEBB@LibertyMutual.com> | 2018-03-17 14:52:28 +0300 |
commit | 2e874601231f3f2f8468af27c8d8d24d42a3c279 (patch) | |
tree | c0b092e0580464e423f9d0c72c65dc60f8ec2df9 | |
parent | bc027449ebcb950dc57654680f50e3a6ce982b45 (diff) |
enhance project page details
- removed image and tagline, authors should embed directly in their markdown
- added max-width 80% to all image tags as markdown images would exceed page width sometimes
-rw-r--r-- | layouts/projects/single.html | 2 | ||||
-rw-r--r-- | static/css/resume.css | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/projects/single.html b/layouts/projects/single.html index c8942cd..4a14445 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -5,8 +5,6 @@ <h2 class="mb-0"><span class="text-primary">{{ .Title }}</span></h2> {{ .Content }} {{ 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" . }} </div> </section> diff --git a/static/css/resume.css b/static/css/resume.css index 3e03818..e98f1a1 100644 --- a/static/css/resume.css +++ b/static/css/resume.css @@ -145,3 +145,7 @@ a { a:hover, a:focus, a:active { color: #824027; } + +img { + max-width:80%; +} |