removed default description on publish and show

This commit is contained in:
bill bittner 2017-10-20 16:16:08 -07:00
parent 48697e3042
commit a3b2f0575c
2 changed files with 3 additions and 3 deletions

View file

@ -119,7 +119,7 @@ module.exports = {
}
// provide default for description
if (description === null || description.trim() === '') {
description = `${name} published via spee.ch`;
description = '';
}
// provide default for license
if (license === null || license.trim() === '') {

View file

@ -1,8 +1,8 @@
{{#if fileInfo.description}}
{{#ifConditional fileInfo.description '!==' ''}}
<div class="row row--wide row--short">
<p class="label">{{fileInfo.description}}</p>
</div>
{{/if}}
{{/ifConditional}}
<div class="row row--wide">
<div id="show-short-link">