From 519a275ff00739280a819c16c41994693fab9087 Mon Sep 17 00:00:00 2001 From: Dawa Ometto Date: Mon, 3 Aug 2020 19:00:49 +0200 Subject: [PATCH] Fix mathjax config path (#1605) Related to #1602 --- lib/gollum/templates/layout.mustache | 2 +- lib/gollum/views/layout.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/gollum/templates/layout.mustache b/lib/gollum/templates/layout.mustache index d92faeb2..6e941f61 100644 --- a/lib/gollum/templates/layout.mustache +++ b/lib/gollum/templates/layout.mustache @@ -49,7 +49,7 @@ }; {{#mathjax_config}} - + {{/mathjax_config}} {{/mathjax}} diff --git a/lib/gollum/views/layout.rb b/lib/gollum/views/layout.rb index bfe3decc..c70d6b40 100644 --- a/lib/gollum/views/layout.rb +++ b/lib/gollum/views/layout.rb @@ -42,7 +42,7 @@ module Precious clean_url(custom_path, "custom.js") end - def mathjax_config + def mathjax_config_path page_route(@mathjax_config) end