Skip to content

Commit 305db2d

Browse files
committed
fixes
1 parent 9e5dd51 commit 305db2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sparqlunicorn_ontdoc/export/api/ogcapifeaturesexporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def generateOGCAPIFeaturesPages(outpath,deploypath, featurecollectionspaths, pre
126126
{"href": outpath + "collections/index.html", "rel": "self", "type": "text/html",
127127
"title": "this document as HTML"}]}
128128
collectionshtml = "<html><head><meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" /><link rel=\"stylesheet\" href=\"../style.css\"/><link rel=\"stylesheet\" href=\"https://cdn.datatables.net/2.2.1/css/dataTables.dataTables.css\" /><script src=\"https://code.jquery.com/jquery-3.7.1.js\"></script><script src=\"https://cdn.datatables.net/2.2.1/js/dataTables.js\"></script></head><body><header id=\"header\"><h1 id=\"title\">Collections of " + str(
129-
deploypath) + "</h1></header>{{collectiontable}}<footer id=\"footer\"><a href=\"index.json\">This page as JSON</a></footer><script>$(document).ready( function () {$('#collectiontable').DataTable();} );</script></body></html>"
129+
deploypath) + "</h1></header>{{collectiontable}}<footer id=\"footer\"><a href=\"../\">Landing page</a>&nbsp;<a href=\"index.json\">This page as JSON</a></footer><script>$(document).ready( function () {$('#collectiontable').DataTable();} );</script></body></html>"
130130
collectiontable = "<table id=\"collectiontable\"><thead><th>Collection</th><th>#Features</th><th>Links</th></thead><tbody>"
131131
apijson["paths"]["/collections"] = {"get": {"tags": ["Collections"], "summary": "describes collections",
132132
"description": "Describes all collections provided by this service",

0 commit comments

Comments
 (0)