Sha256: 422ca5d5a1755581f88139caaaab36a93690534ac7b4925bedb6880eafb6b4bc
Contents?: true
Size: 905 Bytes
Versions: 16
Compression:
Stored size: 905 Bytes
Contents
<content:page> <?r if document = self[:document] child = document.first_child if child.type == :header header = child child.delete title = header.first_child case title.type when :text ?><content:heading>#{title.string_content}</content:heading><?r when :image self.document.attributes[:title] ||= title.to_plaintext if title.url =~ /\.svg/ ?><h1 style="text-align: center"><object type="image/svg+xml" data="#{title.url}"></object></h1><?r else ?><h1 style="text-align: center"><img src="#{title.url}" /></h1><?r end else ?><content:heading>Project</content:heading><?r end else ?><content:heading>Project</content:heading><?r end ?>#{MarkupString.raw document.to_html}<?r else ?> <content:heading>Project</content:heading> <p>This project does not have a README.md file.</p> <?r end ?> </content:page>
Version data entries
16 entries across 16 versions & 1 rubygems