Method: IsoDoc::HtmlFunction::Html#html_head

Defined in:
lib/isodoc/html_function/html.rb

#html_headObject



48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# File 'lib/isodoc/html_function/html.rb', line 48

def html_head
  "    <title>\#{@meta&.get&.dig(:doctitle)}</title>\n    <script type=\"text/javascript\" src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js\"></script>\n\n    <!--TOC script import-->\n    <script type=\"text/javascript\"  src=\"https://cdn.rawgit.com/jgallen23/toc/0.3.2/dist/toc.min.js\"></script>\n    <script type=\"text/javascript\">\#{toclevel}</script>\n\n    <!--Google fonts-->\n    <link rel=\"preconnect\" href=\"https://fonts.gstatic.com\"/>\n    \#{googlefonts}\n    <!--Font awesome import for the link icon-->\n    <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.0.8/css/solid.css\" integrity=\"sha384-v2Tw72dyUXeU3y4aM2Y0tBJQkGfplr39mxZqlTBDUZAb9BGoC40+rdFCG0m10lXk\" crossorigin=\"anonymous\"/>\n    <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.0.8/css/fontawesome.css\" integrity=\"sha384-q3jl8XQu1OpdLgGFvNRnPdj5VIlCvgsDQTQB6owSOHWlAurxul7f+JpUOVdAiJ5P\" crossorigin=\"anonymous\"/>\n    <style class=\"anchorjs\"></style>\n  HEAD\nend\n".freeze