default.html 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. {% if page.url == '/' %}
  8. <title>{{ site.data.project.title }} - {{ site.data.project.tagline }}</title>
  9. {% else %}
  10. <title>{{ page.title }} - {{ site.data.project.title }}</title>
  11. {% endif %}
  12. {% if site.data.project.description %}
  13. <meta name="description" content="{{ site.data.project.description }}">
  14. {% endif %}
  15. {% if site.data.images.favicon %}
  16. <link rel="icon" type="image/x-icon" href="{{ site.data.images.favicon }}" />
  17. {% else %}
  18. <link rel="icon" type="image/x-icon" href="https://theme.thephpleague.com/img/favicon.ico" />
  19. {% endif %}
  20. {% if site.data.images.apple_touch %}
  21. <link rel="apple-touch-icon-precomposed" href="{{ site.data.images.apple_touch }}">
  22. {% else %}
  23. <link rel="apple-touch-icon-precomposed" href="https://theme.thephpleague.com/img/apple-touch-icon-precomposed.png">
  24. {% endif %}
  25. <link rel="stylesheet" href="https://theme.thephpleague.com/css/all.css">
  26. </head>
  27. <body>
  28. <section class="all_packages">
  29. <a href="https://thephpleague.com/">
  30. <img src="https://theme.thephpleague.com/img/loep_logo.png" width="195" height="200" alt="The League of Extraordinary Packages">
  31. </a>
  32. <h2>Our Packages:</h2>
  33. <ul>
  34. <!-- Loaded via JavaScript -->
  35. </ul>
  36. </section>
  37. <header>
  38. <a class="logo" href="/">
  39. {% if site.data.images.logo %}
  40. <span class="icon">
  41. <img src="{{ site.data.images.logo }}" width="50" height="40" alt="{{ site.data.project.title }} - {{ site.data.project.tagline }}">
  42. </span>
  43. {% endif %}
  44. <span class="name">{{ site.data.project.title }}</span>
  45. <span class="tagline">{{ site.data.project.tagline }}</span>
  46. </a>
  47. <a href="https://thephpleague.com/" class="league">
  48. Presented by The League of Extraordinary Packages
  49. </a>
  50. </header>
  51. <input type="checkbox" id="menu">
  52. <label for="menu" onclick>
  53. <div class="closed">&#9776; Menu</div>
  54. <div class="open">&#9776; Hide Menu</div>
  55. </label>
  56. <main>
  57. <menu>
  58. {% for section in site.data.menu %}
  59. <h2>{{ section[0] }}</h2>
  60. <ul>
  61. {% for link in section[1] %}
  62. <li {% if page.url == link[1] %}class="selected"{% endif %}>
  63. <a href="{{ link[1] }}">{{ link[0] }}</a>
  64. </li>
  65. {% endfor %}
  66. </ul>
  67. {% endfor %}
  68. </menu>
  69. <article>
  70. {{ content }}
  71. </article>
  72. </main>
  73. <footer>
  74. <span>&copy; Copyright <a href="https://thephpleague.com">The League of Extraordinary Packages</a>.</span>
  75. <span>Site design by <a href="https://reinink.ca">Jonathan Reinink</a>.</span>
  76. </footer>
  77. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
  78. <script src="https://theme.thephpleague.com/js/scripts.js"></script>
  79. <script src="https://theme.thephpleague.com/js/prism.js"></script>
  80. {% if site.data.project.google_analytics_tracking_id %}
  81. <script>
  82. (function(b,o,i,l,e,r){b.GoogleAnalyticsObject=l;b[l]||(b[l]=
  83. function(){(b[l].q=b[l].q||[]).push(arguments)});b[l].l=+new Date;
  84. e=o.createElement(i);r=o.getElementsByTagName(i)[0];
  85. e.src='//www.google-analytics.com/analytics.js';
  86. r.parentNode.insertBefore(e,r)}(window,document,'script','ga'));
  87. ga('create','{{ site.data.project.google_analytics_tracking_id }}');ga('send','pageview');
  88. </script>
  89. {% endif %}
  90. </body>
  91. </html>