Browse Source

Merge branch 'new-license' into dev

pull/11/head^2
Ned Zimmerman 7 years ago
parent
commit
7d4cbecd3a
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 2
      resources/views/partials/book.blade.php

2
resources/views/partials/book.blade.php

@ -1,6 +1,6 @@
<div class="book"
data-date-published="{{ str_replace('-', '', @$book['metadata']['datePublished']) }}"
data-license="{{ (new \Pressbooks\Licensing())->getLicenseFromUrl($book['metadata']['license']) }}"
data-license="{{ (new \Pressbooks\Licensing())->getLicenseFromUrl($book['metadata']['license']['url']) }}"
data-subject="{{ sanitize_title(@$book['metadata']['keywords']) }}"
>
@if(isset($book['metadata']['keywords']))

Loading…
Cancel
Save