Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add JSON-LD Button to the config for item metadata #45

Open
wants to merge 1 commit into
base: 2.x
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions config/sync/views.view.item_metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,6 @@ display:
title: ''
default_argument_type: node
default_argument_options: { }
default_argument_skip_url: false
summary_options:
base_path: ''
count: true
Expand Down Expand Up @@ -2265,7 +2264,7 @@ display:
exclude: false
alter:
alter_text: true
text: "{% set host = url('<front>')|first|raw|replace({ 'https:': \"\", '/': \"\" })|replace({ 'http:': \"\", '/': \"\" }) %}\r\n<a href=\"/oai/request?identifier=oai%3A{{ host }}%3Anode-{{ nid }}&metadataPrefix=mods&verb=GetRecord\">Display MODS Record</a><br> \r\n<a href=\"/oai/request?identifier=oai%3A{{ host }}%3Anode-{{ nid }}&metadataPrefix=oai_dc&verb=GetRecord\">Display DC Record</a>"
text: "{% set host = url('<front>')|first|raw|replace({ 'https:': \"\", '/': \"\" })|replace({ 'http:': \"\", '/': \"\" }) %}\r\n<a href=\"/oai/request?identifier=oai%3A{{ host }}%3Anode-{{ nid }}&metadataPrefix=mods&verb=GetRecord\">Display MODS Record</a><br> \r\n<a href=\"/oai/request?identifier=oai%3A{{ host }}%3Anode-{{ nid }}&metadataPrefix=oai_dc&verb=GetRecord\">Display DC Record</a><br>\r\n<a href=\"?_format=jsonld\">Display JSON-LD</a>"
make_link: false
path: ''
absolute: false
Expand Down