Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
B
bookshare
Project
Project
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
30
Issues
30
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
SRCT
bookshare
Commits
a8b1da9e
Commit
a8b1da9e
authored
May 12, 2015
by
Daniel W Bond
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added twitter info to social metadata block
parent
6ad13da5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
bookshare/trades/templates/detail_listing_no_auth.html
bookshare/trades/templates/detail_listing_no_auth.html
+8
-1
No files found.
bookshare/trades/templates/detail_listing_no_auth.html
View file @
a8b1da9e
...
...
@@ -5,6 +5,7 @@ SRCT Bookshare • {{ listing.title }}
{% endblock title %}
{% block social_metadata %}
<!-- Facebook -->
<meta
property=
"og:title"
content=
"{{ listing.title }}"
/>
<meta
property=
"og:url"
content=
"{{ request.build_absolute_uri }}"
/>
<meta
property=
"og:type"
content=
"book"
/>
...
...
@@ -15,7 +16,13 @@ SRCT Bookshare • {{ listing.title }}
{% if listing.year %}
<meta
property=
"books:release_date"
content=
"{{ listing.year }}"
/>
{% endif %}
<!-- Twitter -->
<meta
name=
"twitter:card"
content=
"summary"
/>
<meta
name=
"twitter:site"
content=
"@MasonSRCT"
/>
<meta
name=
"twitter:title"
content=
"{{ listing.title }}"
/>
<meta
name=
"twitter:description"
content=
"is up for exchange on SRCT Bookshare! Log in with your Mason username and password to see more!"
/>
<meta
name=
"twitter:image"
content=
"{{ listing.photo.url }}"
/>
<meta
name=
"twitter:url"
content=
"{{ request.build_absolute_uri }}"
/>
{% endblock social_metadata %}
{% block content %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment