add deprecation banner to website

This commit is contained in:
Doug 2024-07-02 17:03:32 +02:00
parent c9185670f6
commit 5f7fce4c6a

View File

@ -1,48 +1,95 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<!-- Basic Page Needs <!-- Basic Page Needs
================================================== --> ================================================== -->
<meta charset="utf-8"> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="description" content="Fork Awesome, a fork of the iconic font and CSS framework"> <meta
<meta name="author" content="The Fork Awesome community"> name="description"
<link rel="shortcut icon" href="{{ page.relative_path }}assets/ico/favicon.ico"> content="Fork Awesome, a fork of the iconic font and CSS framework"
/>
<meta name="author" content="The Fork Awesome community" />
<link
rel="shortcut icon"
href="{{ page.relative_path }}assets/ico/favicon.ico"
/>
<title>{% if page.title %}{{ page.title }}{% endif %}</title> <title>{% if page.title %}{{ page.title }}{% endif %}</title>
<!-- CSS <!-- CSS
================================================== --> ================================================== -->
<link rel="stylesheet" href="{{ page.relative_path }}assets/css/site.css"> <link rel="stylesheet" href="{{ page.relative_path }}assets/css/site.css" />
<link rel="stylesheet" href="{{ page.relative_path }}assets/css/pygments.css"> <link
<link rel="stylesheet" href="{{ page.relative_path }}assets/css/share.min.css"> rel="stylesheet"
<link rel="stylesheet" href="{{ page.relative_path }}assets/fork-awesome/css/fork-awesome.css"> href="{{ page.relative_path }}assets/css/pygments.css"
/>
<link
rel="stylesheet"
href="{{ page.relative_path }}assets/css/share.min.css"
/>
<link
rel="stylesheet"
href="{{ page.relative_path }}assets/fork-awesome/css/fork-awesome.css"
/>
<!-- Twitter <!-- Twitter
================================================== --> ================================================== -->
<meta name="twitter:title" content="{% if page.title %}{{ page.title }}{% endif %}"> <meta
<meta name="twitter:card" content="summary_large_image"> name="twitter:title"
<meta name="twitter:description" content="Fork Awesome, a fork of the iconic font and CSS toolkit"> content="{% if page.title %}{{ page.title }}{% endif %}"
<meta name="twitter:image" content="https://forkawesome.github.io/Fork-Awesome/assets/images/banner.jpg"> />
<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:description"
content="Fork Awesome, a fork of the iconic font and CSS toolkit"
/>
<meta
name="twitter:image"
content="https://forkawesome.github.io/Fork-Awesome/assets/images/banner.jpg"
/>
<!-- FACEBOOK <!-- FACEBOOK
================================================== --> ================================================== -->
<meta property="og:url" content="https://forkawesome.github.io/Fork-Awesome/"> <meta
<meta property="og:title" content="{% if page.title %}{{ page.title }}{% endif %}"> property="og:url"
<meta name="description" property="og:description" content="Fork Awesome, a fork of the iconic font and CSS toolkit" /> content="https://forkawesome.github.io/Fork-Awesome/"
<meta property="og:image" content="https://forkawesome.github.io/Fork-Awesome/assets/images/banner.jpg"> />
<meta
property="og:title"
content="{% if page.title %}{{ page.title }}{% endif %}"
/>
<meta
name="description"
property="og:description"
content="Fork Awesome, a fork of the iconic font and CSS toolkit"
/>
<meta
property="og:image"
content="https://forkawesome.github.io/Fork-Awesome/assets/images/banner.jpg"
/>
<!--[if lt IE 9]> <!--[if lt IE 9]>
<script src="{{ page.relative_path }}assets/js/html5shiv.js"></script> <script src="{{ page.relative_path }}assets/js/html5shiv.js"></script>
<script src="{{ page.relative_path }}assets/js/respond.min.js"></script> <script src="{{ page.relative_path }}assets/js/respond.min.js"></script>
<![endif]--> <![endif]-->
</head>
</head> <body class="font-awesome {{ page.view_class }}">
<body class="font-awesome {{ page.view_class }}"> <div id="wrap">
<div id="wrap"> <!-- necessary for sticky footer. wrap all content except footer --> <!-- necessary for sticky footer. wrap all content except footer -->
{% include navbar.html %} <p
style="
{{ content }} background: #f2dede;
border: 0.5rem solid #a94442;
padding: 1rem;
margin: 0;
font-size: 2.5rem;
text-align: center;
"
>
<b>Fork Awesome is deprecated!</b> Please use a different icon system. See <a href="https://github.com/ForkAwesome/Fork-Awesome">github</a> for more details.
</p>
{% include navbar.html %} {{ content }}
</div> </div>
{% include footer.html %} {% include footer.html %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/{{ site.jquery.version }}/jquery.min.js"></script> <script src="https://ajax.googleapis.com/ajax/libs/jquery/{{ site.jquery.version }}/jquery.min.js"></script>
@ -50,6 +97,5 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap.version }}/js/bootstrap.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap.version }}/js/bootstrap.min.js"></script>
<script src="{{ page.relative_path }}assets/js/site.js"></script> <script src="{{ page.relative_path }}assets/js/site.js"></script>
<script src="{{ page.relative_path }}assets/js/share.min.js"></script> <script src="{{ page.relative_path }}assets/js/share.min.js"></script>
</body> </body>
</html> </html>