diff --git a/source/includes/comparison.html.jade b/source/includes/comparison.html.jade index f2b0b4b..9d9dbb2 100644 --- a/source/includes/comparison.html.jade +++ b/source/includes/comparison.html.jade @@ -22,7 +22,9 @@ .version-padded .version-container.version-container-top p - .text(ng-repeat="key in metaKeys") #[em {{key}}:] {{poemmeta[key]}} + .text(ng-repeat="key in metaKeys") + em(ng-bind-html="key") + span(ng-bind-html="poemmeta[key]") .pure-g-r(du-scrollspy ng-href="#section-{{$index + 1}}" offset="100px" ng-repeat="verse in verses" id="section-{{$index + 1}}") .version(ng-repeat="version in verse") diff --git a/source/styles/style.css.styl b/source/styles/style.css.styl index de145e0..7a0fdfe 100644 --- a/source/styles/style.css.styl +++ b/source/styles/style.css.styl @@ -45,6 +45,11 @@ body #content margin-top: 1em +#section-meta em + margin-right: 10px + &:after + content: ": " + .version vertical-align: top display: inline-block