templates/base.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="en">
  3.   <head>
  4.     <meta charset="utf-8">
  5.     <meta name="viewport" content="width=device-width, initial-scale=1">
  6.     <title>{% block title %}Octopod Developer Portal{% endblock %}</title>
  7.     <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('apple-touch-icon.png') }}">
  8.     <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('favicon-32x32.png') }}">
  9.     <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('favicon-16x16.png') }}">
  10.     <link rel="manifest" href="{{ asset('site.webmanifest') }}">
  11.     <link rel="mask-icon" href="{{ asset('safari-pinned-tab.svg') }}" color="#b150e2">
  12.     <meta name="msapplication-TileColor" content="#b150e2">
  13.     <meta name="theme-color" content="#b150e2">
  14.     {% block stylesheets %}
  15.       {{ encore_entry_link_tags('app') }}
  16.     {% endblock %}
  17.     {% block scripts %}
  18.       {{ encore_entry_script_tags('app') }}
  19.     {% endblock %}
  20.   </head>
  21.   <body>
  22.     <header id="header" class="fixed-top">
  23.       <div class="container">
  24.         <nav class="navbar navbar-expand-lg navbar-light">
  25.           <a class="navbar-brand" href="{{ path('root') }}">
  26.             {%- apply spaceless %}
  27.             <img src="{{ asset('build/images/logo.svg') }}" alt="Octopod Logo" class="me-2" style="height: 48px;">
  28.             <span><span class="text-muted">Octopod</span>.dev</span>
  29.             {% endapply -%}
  30.           </a>
  31.           <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
  32.             <span class="navbar-toggler-icon"></span>
  33.           </button>
  34.           <div class="collapse navbar-collapse" id="navbarSupportedContent">
  35.             <ul class="navbar-nav ms-auto">
  36.               <li class="nav-item">
  37.                 <a class="nav-link" href="{{ path('root') }}">Home</a>
  38.               </li>
  39.               <li class="nav-item">
  40.                 <a class="nav-link" href="{{ path('documentation') }}">Documentation</a>
  41.               </li>
  42.               <li class="nav-item">
  43.                 <a class="nav-link" href="{{ donate_url }}">Donate</a>
  44.               </li>
  45.               <li class="nav-item">
  46.                 <a class="nav-link" href="{{ github_url }}">GitHub</a>
  47.               </li>
  48.             </ul>
  49.           </div>
  50.         </nav>
  51.       </div>
  52.     </header>
  53.     {% block content '' %}
  54.     <footer id="footer">
  55.       <div class="container">
  56.         <div class="d-flex flex-column flex-sm-row justify-content-between py-4">
  57.           <div class="copyright">
  58.             &copy; <strong>Octopod</strong>, a <a href="{{ creator_url }}">Dude Named Ben</a> Project
  59.           </div>
  60.           <div class="credits">
  61.             <a href="{{ donate_url }}">Become a Sponsor</a>
  62.           </div>
  63.         </div>
  64.       </div>
  65.     </footer>
  66.     {% include 'analytics.html.twig' %}
  67.   </body>
  68. </html>