Don't show documentation field in site documents
This commit is contained in:
@@ -13,6 +13,14 @@ export class SiteDocuments {
|
||||
}
|
||||
|
||||
render() {
|
||||
if (this._siteData.documents.length === 0) {
|
||||
return `
|
||||
<p class="p-2 has-text-centered mt-3 mb-3">
|
||||
Nessuna documentazione disponibile.
|
||||
</p>
|
||||
`;
|
||||
}
|
||||
|
||||
this.documentation = this._siteData.documents
|
||||
.filter(d => d.type === 'documentazione')
|
||||
|
||||
@@ -20,9 +28,6 @@ export class SiteDocuments {
|
||||
|
||||
let content = `
|
||||
<div class="has-bottom-border">
|
||||
<p class="p-2 has-text-centered mt-3 mb-3">
|
||||
${this._siteData.documentation}
|
||||
</p>
|
||||
<div class="p-2">
|
||||
<table class="p-4 table is-fullwidth is-striped">
|
||||
<thead>
|
||||
|
||||
Reference in New Issue
Block a user