removed default description on publish and show
This commit is contained in:
parent
48697e3042
commit
a3b2f0575c
2 changed files with 3 additions and 3 deletions
|
@ -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() === '') {
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue