Compare commits

..

1 Commits

Author SHA1 Message Date
benjamin wil 68c5fd702b Ensure <title> is rendered for pages
I made a mistake when I made `#title` a private method. I did not see
that it was being called from `layout.mustache` to generate the
`<title></title>` tag in the `<head></head>` of each page.

This fixes my error, and adds tests so the behaviour is more explicit.
2021-04-04 13:16:52 -07:00
4 changed files with 4 additions and 8 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ rvm:
- 2.4.0
- 2.6.0
- 3.0.0
- jruby-9.2.18.0
- jruby-9.2.9.0
jdk:
- oraclejdk9
before_install:
-4
View File
@@ -1,7 +1,3 @@
# 5.2.3 2021-04-18
* Fix bug preventing page titles from being displayed
# 5.2.1 2021-02-25
* Fix include call to a missing asset (@benjaminwil). This caused slow first page loads on JRuby.
+2 -2
View File
@@ -5,8 +5,8 @@ Gem::Specification.new do |s|
s.required_ruby_version = '>= 1.9'
s.name = 'gollum'
s.version = '5.2.3'
s.date = '2021-04-18'
s.version = '5.2.2'
s.date = '2021-03-27'
s.license = 'MIT'
s.summary = 'A simple, Git-powered wiki.'
+1 -1
View File
@@ -12,7 +12,7 @@ require 'rhino' if RUBY_PLATFORM == 'java'
require File.expand_path('../gollum/uri_encode_component', __FILE__)
module Gollum
VERSION = '5.2.3'
VERSION = '5.2.2'
def self.assets_path
::File.expand_path('gollum/public', ::File.dirname(__FILE__))