Skip to content

Commit

Permalink
hide facet search, fix schema.org error
Browse files Browse the repository at this point in the history
  • Loading branch information
phtrceh committed Oct 31, 2024
1 parent 0449a29 commit 87df738
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/rdf/_body.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
</#if>

<#if observedProperty?has_content>
<https://schema.org/variableMeasured> <@keywordList observedProperty/> ;
sdo:variableMeasured <@keywordList observedProperty/> ;
</#if>

<#if funding?has_content>
Expand Down
1 change: 1 addition & 0 deletions templates/rdf/_prefixes.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@ PREFIX vcard: <http://www.w3.org/2006/vcard/ns#>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX odrs: <http://schema.theodi.org/odrs#>
PREFIX sosa: <http://www.w3.org/ns/sosa/>
PREFIX sdo: <https://schema.org/>
PREFIX ef: <http://www.w3.org/2015/03/inspire/ef#>
2 changes: 1 addition & 1 deletion templates/schema.org/schema.org.ftlh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
<#list incomingCitations as citation>
{
"@type": "CreativeWork"
<#if citation.description?has_content>,"creditText": "${citation.description?trim}"</#if>
<#if citation.description?has_content>,"creditText": "${citation.description?replace("\n", " ")?trim}"</#if>
<#if citation.url?has_content>,"url": "${citation.url?trim}"</#if>
}<#sep>,</#sep>
</#list>
Expand Down
6 changes: 5 additions & 1 deletion web/less/search.less
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ main {
padding: 1em;
}

.form-control.search-facet { opacity: 85%;position:sticky; top:0;
.form-control.search-facet {
display:none;
opacity: 85%;
position: sticky;
top: 0;
}
}
}
Expand Down

0 comments on commit 87df738

Please sign in to comment.