101companies / 101wiki

We are moving gradually 101wiki-related efforts to here (from 101dev or wherever).
0 stars 1 forks source link

Inverse triples missing when metadata section missing #413

Open rlaemmel opened 10 years ago

rlaemmel commented 10 years ago

Just realized that the metadata section must be there, be it even empty, if any metadata is to be rendered. That's not good because we want metadata such as triples with the current page as object, to show up, no matter whether the current page has an explicit metadata section.

mminski commented 7 years ago

To get this kind of behaviour the conditional expression <% if @rdf && @rdf.count > 0 %> ... <% end %> in file https://github.com/101companies/101rails/blob/master/app/views/pages/_page.html.erb should be removed. Then the metadata section will always be displayed. Is this enhancement still needed?