From b048723598b885ae71f95f1a79c891c0baee41d8 Mon Sep 17 00:00:00 2001 From: Kishan B Date: Sat, 8 Dec 2018 11:10:52 +0530 Subject: Support image from network. Fixes #53 --- exampleSite/content/portfolio/work5.md | 2 +- layouts/partials/portfolio.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/portfolio/work5.md b/exampleSite/content/portfolio/work5.md index 41e9d3b..493d642 100644 --- a/exampleSite/content/portfolio/work5.md +++ b/exampleSite/content/portfolio/work5.md @@ -1,5 +1,5 @@ +++ -image = "img/portfolio/business-card.jpg" +image = "https://github.com/kishaningithub/hugo-creative-portfolio-theme/raw/master/exampleSite/static/img/portfolio/business-card.jpg" showonlyimage = true draft = false date = "2016-11-05T19:53:42+05:30" diff --git a/layouts/partials/portfolio.html b/layouts/partials/portfolio.html index f53c8a0..2309b1d 100644 --- a/layouts/partials/portfolio.html +++ b/layouts/partials/portfolio.html @@ -11,7 +11,7 @@ {{ else }} {{ end }} - + {{ end }} {{ if eq .Params.showonlyimage true }} -- cgit v1.2.3