dotfiles

My personal dotfiles 💠️

document.html.haml (417B)

      1 !!! 5
      2 %html{:lang=>(attr :lang, 'en')}
      3   %head
      4     %meta(charset="#{attr :encoding, 'UTF-8'}")
      5     :css
      6       img, object, svg {
      7         vertical-align: middle;
      8       }
      9 
     10       figure.equation {
     11         display: flex;
     12         width: 100%;
     13       }
     14 
     15       figure.equation > svg {
     16         margin: 0 auto;
     17       }
     18 
     19     - unless (docinfo_content = docinfo).empty?
     20       =docinfo_content
     21   %body
     22     %h1=title
     23     =content
     24