diff options
author | Sebastian Ahlman <unvestigate@users.noreply.github.com> | 2018-08-16 13:31:12 +0300 |
---|---|---|
committer | Curtis Timson <curt@live.co.uk> | 2018-08-16 13:31:12 +0300 |
commit | d8bc30f32867dac6c5fd17fe1e9a1707d4d1b631 (patch) | |
tree | 3667952aa6c66ea5a2e68c928e7c17b583a3afb9 | |
parent | 3d037bf5dd5bb572c30e1b1982dffacf573db047 (diff) |
Fixed email null check. (#36)4.2.2
* Fixed email null check.
* Bump version to 4.2.2
-rw-r--r-- | layouts/partials/footer/contact.html | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/footer/contact.html b/layouts/partials/footer/contact.html index 06bde75..35d8d66 100644 --- a/layouts/partials/footer/contact.html +++ b/layouts/partials/footer/contact.html @@ -17,7 +17,7 @@ <p><a href="mailto:{{ .Site.Data.footer.contactinfo.email }}">{{ .Site.Data.footer.contactinfo.email }}</a></p> </li> {{ end }} - {{ if .Site.Data.footer.contactinfo.email }} + {{ if .Site.Data.footer.contactinfo.phone }} <li> <h3>Phone</h3> <p>{{ .Site.Data.footer.contactinfo.phone }}</p> diff --git a/package.json b/package.json index 8119691..1542991 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hugo-theme-dopetrope", - "version": "4.2.1", + "version": "4.2.2", "description": "Hugo Theme Dopetrope", "main": "index.js", "scripts": { |