benjamin wil
81d5f1a8bb
Ensure <title> is rendered for pages ( #1710 )
...
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-05 09:26:50 -07:00
benjamin wil
5b7b9f40ae
Only escape HTML from breadcrumbs. Resolves #1658 ( #1663 )
2021-02-14 01:04:42 +01:00
benjamin wil
17162aa091
Make sidebar layout mobile-friendly ( #1660 )
2021-02-13 18:29:33 +01:00
Nikita Ivanov
97ed5a7c57
Add tests to the ? in page name fix ( #1641 )
2020-12-14 11:24:50 +01:00
Dawa Ometto
137728cdab
Guard against malicious file names
2020-12-01 22:21:54 +01:00
Bart Kamphorst
2ba5d389a8
Fix breadcrumb tests.
2020-03-25 21:15:13 +01:00
Dawa Ometto
caf4da73e2
Fix Windows assets and tests ( #1425 )
...
* Fix Windows assets and tests
* Update gemojione
2019-12-15 21:52:37 +01:00
Bart Kamphorst
92b17f9053
Removed some inline CSS. Removed footer from preview pages.
2019-08-14 16:39:55 +02:00
Dawa Ometto
e28a41bb8f
Fix breadcrumbs ( #1387 )
2019-05-18 14:42:42 +02:00
Dawa Ometto
78289a53bb
Implement header counting using YAML frontmatter. Resolves #908 ( #1330 )
2018-10-19 16:09:23 +02:00
Dawa Ometto
cabe9f353b
Fix tests
2017-04-13 00:24:06 +02:00
Dawa Ometto
df9382bbc3
Add test for Page view #sha. Fix h1 title test.
2017-04-12 19:50:40 +02:00
Dawa Ometto
8aa10fe400
Yaml frontmatter ( #1217 )
...
Render YAML frontmatter
* Fix tests on 5.x
* Update README
* Refactor Page view #table
* Minor refactor
* Refactor
2017-04-09 19:26:04 +02:00
bootstraponline
452d825e66
Clean up tests. Remove templates
2014-04-05 13:30:02 -04:00
Dawa Ometto
f81634728d
Replaced grit calls to new calls in gollum-lib 1.06 (set_git_timeout and set_git_max_filsize). Removed grit dependency from tests, using cp of empty.git instead. Replaced Grit exceptions with equivalents in the Gollum module.
2013-08-11 13:19:43 +02:00
Jamie Oliver
1f79126b27
Move gollum back end to gollum-lib #647
2013-03-19 22:11:09 +00:00
bootstraponline
8ebc2f7079
Fix #645
2013-03-04 19:32:55 -05:00