diff options
-rw-r--r-- | layouts/partials/portfolio.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/portfolio.html b/layouts/partials/portfolio.html index 7e5fd1f..64e407e 100644 --- a/layouts/partials/portfolio.html +++ b/layouts/partials/portfolio.html @@ -21,7 +21,13 @@ {{ end }} <h4><a href="{{ .Permalink }}">{{ .Title }}</a></h4> <div class="box-masonry-description"> - <p>{{ .Summary }}</p> + <p> + {{ if .Description }} + {{ .Description }} + {{ else }} + {{ .Summary }} + {{ end }} + </p> </div> </div> </div> |