diff options
Diffstat (limited to 'modules/private/websites/immae/history/_includes')
5 files changed, 88 insertions, 0 deletions
diff --git a/modules/private/websites/immae/history/_includes/footer.html b/modules/private/websites/immae/history/_includes/footer.html new file mode 100644 index 0000000..a6adafb --- /dev/null +++ b/modules/private/websites/immae/history/_includes/footer.html | |||
@@ -0,0 +1,5 @@ | |||
1 | <footer class="p-3 text-center mt-5"> | ||
2 | <div class="w-25 border-top mb-3 mx-auto"></div> | ||
3 | <a href="https://changelog.site">Powered By ChangeLog.Site</a> | ||
4 | </footer> | ||
5 | {% include scripts.html %} \ No newline at end of file | ||
diff --git a/modules/private/websites/immae/history/_includes/head.html b/modules/private/websites/immae/history/_includes/head.html new file mode 100644 index 0000000..cd9112e --- /dev/null +++ b/modules/private/websites/immae/history/_includes/head.html | |||
@@ -0,0 +1,18 @@ | |||
1 | <head> | ||
2 | <meta charset="utf-8"> | ||
3 | <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
4 | <title>{% if page.title %}{{ page.title }}{% else %}{{ site.name }}{% endif %}</title> | ||
5 | <link rel="icon" type="image/png" href="/favicon.png"> | ||
6 | <!-- CSS --> | ||
7 | <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> | ||
8 | <link rel="stylesheet" href="{{ site.baseurl }}/assets/css/main.css" type="text/css"> | ||
9 | |||
10 | <!-- Font --> | ||
11 | <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro"> | ||
12 | |||
13 | <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}"> | ||
14 | <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}"> | ||
15 | |||
16 | </head> | ||
17 | |||
18 | \ No newline at end of file | ||
diff --git a/modules/private/websites/immae/history/_includes/header.html b/modules/private/websites/immae/history/_includes/header.html new file mode 100644 index 0000000..42eda83 --- /dev/null +++ b/modules/private/websites/immae/history/_includes/header.html | |||
@@ -0,0 +1,36 @@ | |||
1 | <nav class="bg-light border-bottom px-5 py-3"> | ||
2 | |||
3 | <div class="w-75 mx-auto"> | ||
4 | |||
5 | <div class="row"> | ||
6 | <div class="col-md-6"> | ||
7 | <div class="d-flex align-items-center"> | ||
8 | <a href="{{ site.website }}"> | ||
9 | <img src="{{ site.logo }}" alt="{{ site.name }}" class="logo" alt="Logo"> | ||
10 | </a> | ||
11 | <a href="{{ site.url }}"> | ||
12 | <span class="text-muted mx-3"> | ||
13 | Changes | ||
14 | </span> | ||
15 | </a> | ||
16 | </div> | ||
17 | </div> | ||
18 | |||
19 | <div class="col-md-6 ml-auto d-flex align-items-center justify-content-end"> | ||
20 | {% if site.rss-feed-icon %} | ||
21 | <a href="{{ site.baseurl }}/feed.xml" | ||
22 | class="inline-block mt-3 mt-md-0 text-orange d-flex align-items-center"> | ||
23 | <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 22 22" fill="none" | ||
24 | stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" | ||
25 | class="feather feather-rss"> | ||
26 | <path d="M4 11a9 9 0 0 1 9 9"></path> | ||
27 | <path d="M4 4a16 16 0 0 1 16 16"></path> | ||
28 | <circle cx="5" cy="19" r="1"></circle> | ||
29 | </svg> | ||
30 | </a> | ||
31 | {% endif %} | ||
32 | </div> | ||
33 | </div> | ||
34 | |||
35 | </div> | ||
36 | </nav> | ||
diff --git a/modules/private/websites/immae/history/_includes/post.html b/modules/private/websites/immae/history/_includes/post.html new file mode 100644 index 0000000..04f4a77 --- /dev/null +++ b/modules/private/websites/immae/history/_includes/post.html | |||
@@ -0,0 +1,26 @@ | |||
1 | <div class="row p-3"> | ||
2 | <div class="col-md-3 mb-3"> | ||
3 | <a href="{{ include.url | prepend: site.baseurl | replace: '//', '/' }}" class="post-date text-muted"> | ||
4 | {{ include.date | date: '%F' }} | ||
5 | </a> | ||
6 | </div> | ||
7 | <div class="col-md-9"> | ||
8 | <h2 class="title"> | ||
9 | {{ include.title }} | ||
10 | </h2> | ||
11 | <div> | ||
12 | {% if include.category %} | ||
13 | |||
14 | {% for category in site.data.categories %} | ||
15 | {% if category.name == include.category %} | ||
16 | {% assign color = category.color | downcase | prepend: 'bg-' %} | ||
17 | {% endif %} | ||
18 | {% endfor %} | ||
19 | <span class="category {% if color %}{{ color }}{% endif %}">{{ include.category }}</span> | ||
20 | {% endif %} | ||
21 | </div> | ||
22 | <div class="post-content my-4 text-grey-darker leading-normal text-base font-thin"> | ||
23 | {{ include.content }} | ||
24 | </div> | ||
25 | </div> | ||
26 | </div> | ||
diff --git a/modules/private/websites/immae/history/_includes/scripts.html b/modules/private/websites/immae/history/_includes/scripts.html new file mode 100644 index 0000000..b566db8 --- /dev/null +++ b/modules/private/websites/immae/history/_includes/scripts.html | |||
@@ -0,0 +1,3 @@ | |||
1 | <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script> | ||
2 | <script src="//unpkg.com/jscroll/dist/jquery.jscroll.min.js"></script> | ||
3 | <script src="{{ site.baseurl }}/assets/js/script.js"></script> | ||