Skip to content

Commit 40b0603

Browse files
committed
Add annotation client and pingback
1 parent b596271 commit 40b0603

File tree

5 files changed

+17
-1
lines changed

5 files changed

+17
-1
lines changed

_config.yml

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ email:
44
description: ""
55
baseurl: "/JekyllPage"
66
url: "http://mmoon.org"
7+
pingback_to: "http://pingback.feedback.aksw.org/"
8+
pingback_service: "http://pingback.feedback.aksw.org/"
79

810
# Build settings
911
markdown: kramdown

_includes/head.html

+12-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<head>
1+
<head xmlns:pingback="http://purl.org/net/pingback/" xmlns:foaf="http://xmlns.com/foaf/0.1/">
22
<meta charset="utf-8">
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
@@ -23,9 +23,20 @@
2323

2424
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
2525

26+
<link rel="resourcehostingservice" href="http://resource.feedback.aksw.org/" />
27+
<link rel="pingback:to" href="{{ site.pingback_to }}" />
28+
<link rel="pingback:service" href="{{ site.pingback_service }}" />
29+
<link rel="pingback" href="{{ site.pingback_to }}" />
30+
31+
{% if page.rdf %}
32+
<link rel="foaf:primarytopic" href="{{ page.rdf.iri }}" />
33+
<link rel="alternate" type="application/rdf+json" href="{{ page.url | replace: '.html','' | prepend: site.baseurl | prepend: site.url | append: '.json' }}" />
34+
{% endif %}
35+
2636
<!-- Custom CSS -->
2737
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl }}">
2838
<link rel="stylesheet" href="{{ "/css/custom.css" | prepend: site.baseurl }}">
39+
<link rel="stylesheet" href="{{ "/css/annotationclient.css" | prepend: site.baseurl }}">
2940
<link rel="stylesheet" href="{{ "/fonts/OpenSans-Regular-stylesheet.css" | prepend: site.baseurl }}">
3041
<link rel="stylesheet" href="{{ "/fonts/Lato-stylesheet.css" | prepend: site.baseurl }}">
3142
<link rel="stylesheet" href="{{ "/fonts/Underwood_champion-stylesheet.css" | prepend: site.baseurl }}">

_includes/scripts.html

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script src="{{ "/scripts/jquery.min.js" | prepend: site.baseurl }}" type="text/javascript"></script>
22
<script src="{{ "/scripts/bootstrap/bootstrap.min.js" | prepend: site.baseurl }}" type="text/javascript"></script>
3+
<script src="{{ "/scripts/annotationclient.js" | prepend: site.baseurl }}" type="text/javascript"></script>
34
<script type="text/javascript">
45
var filterTrigger = function(that) {
56
//var that = this;

css/annotationclient.css

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/annotationclient.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)