Skip to content

Commit e580782

Browse files
authored
Merge pull request #149 from common-workflow-language/hotfix-twitter
Fix for the image in twitter meta tags
2 parents aa6e7c6 + 07f4765 commit e580782

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/templates/workflow.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<meta name="twitter:site" content="@commonwl" />
2727
<meta name="twitter:title" th:content="${'CWL Workflow: ' + workflow.label}" />
2828
<meta name="twitter:description" th:if="${workflow.doc != null}" th:content="${workflow.doc}" />
29-
<meta name="twitter:image" th:content="${appURL + '/workflows/' + workflow.id + '/graph/png'}" />
29+
<meta name="twitter:image" th:content="@{${workflow.getVisualisationPng()}}" />
3030
<title th:text="${workflow.label + ' - Common Workflow Language Viewer'}">Common Workflow Language Viewer</title>
3131
<link rel="stylesheet" th:href="@{/bower_components/bootstrap/dist/css/bootstrap.min.css}" href="../static/bower_components/bootstrap/dist/css/bootstrap.min.css" />
3232
<link rel="stylesheet" type="text/css" th:href="@{/css/main-20170616.css}" href="../static/css/main-20170616.css" />

0 commit comments

Comments
 (0)