default.html 3.6 KB

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