Skip to content
Snippets Groups Projects
Commit 8eaff73a authored by Andreas Gärtner's avatar Andreas Gärtner
Browse files

Added optional configuration "links.blog.url". Task #14032

parent 7711f332
No related merge requests found
......@@ -61,6 +61,9 @@ public class ConfigurationController extends AbstractController {
@Value("${links.imprint.url}")
private String imprintUrl;
@Value("${links.blog.url:}")
private String blogUrl;
@Value("${links.privacy-policy.url}")
private String privacyPolicyUrl;
......@@ -117,7 +120,10 @@ public class ConfigurationController extends AbstractController {
if (!"".equals(documentationUrl)) {
config.put("documentationUrl", documentationUrl);
}
if (!"".equals(presenterDocumentationUrl)) {
if (!"".equals(blogUrl)) {
config.put("blogUrl", blogUrl);
}
if (!"".equals(presenterDocumentationUrl)) {
config.put("presenterDocumentationUrl", presenterDocumentationUrl);
}
if (!"".equals(overlayUrl)) {
......
......@@ -193,6 +193,7 @@ question.parse-answer-option-formatting=false
# Links which are displayed in the frontend applications
#
links.blog.url=https://arsnova.eu/blog/
links.documentation.url=https://arsnova.eu/manual/
links.presenter-documentation.url=
links.overlay.url=https://arsnova.eu/overlay/
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment