zf

zenflows testing
git clone https://s.sonu.ch/~srfsh/zf.git
Log | Files | Refs | Submodules | README | LICENSE

title_template.eex (596B)


      1 <%= head_template(config, %{title: "Cover"}) %>
      2     <div class="title-container">
      3       <%= if cover = config.cover do %>
      4         <div><img src="assets/cover<%= Path.extname(cover) %>"/></div>
      5       <% else %>
      6         <h1><%= config.project %></h1>
      7         <h2>v<%= config.version %></h2>
      8         <%= if logo = config.logo do %>
      9           <div><img src="assets/logo<%= Path.extname(logo) %>" alt="Logo"/></div>
     10         <% end %>
     11       <% end %>
     12     </div>
     13     <%# Extra content specified by the user (e.g. custom Javascript) %>
     14     <%= config.before_closing_body_tag.(:epub) %>
     15   </body>
     16 </html>