Current section

Files

Jump to
ex_doc lib ex_doc formatter epub templates head_template.eex
Raw

lib/ex_doc/formatter/epub/templates/head_template.eex

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= config.language %>" lang="<%= config.language %>"
xmlns:epub="http://www.idpf.org/2007/ops">
<head>
<meta charset="utf-8" />
<title><%= page.title %> - <%= config.project %> v<%= config.version %></title>
<meta name="generator" content="ExDoc v<%= ExDoc.version %>" />
<link type="text/css" rel="stylesheet" href="<%= H.asset_rev "#{config.output}/OEBPS", "dist/epub*.css" %>" />
<script src="<%= H.asset_rev "#{config.output}/OEBPS", "dist/epub*.js" %>"></script>
<%# Extra content needed by the current markdown processor (e.g. custom CSS) %>
<%= ExDoc.Markdown.get_markdown_processor().before_closing_head_tag(:epub) %>
<%# Extra content specified by the user (e.g. custom CSS) %>
<%= config.before_closing_head_tag.(:epub) %>
</head>
<body>