Skip to content

Commit ea9a46d

Browse files
committed
de-amped and added adsense
1 parent 64d0a27 commit ea9a46d

File tree

1 file changed

+30
-81
lines changed

1 file changed

+30
-81
lines changed

index.html

Lines changed: 30 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
<!DOCTYPE html>
2-
<html amp lang=en itemscope itemtype="http://schema.org/WebPage" itemref="logo">
2+
<html lang=en itemscope itemtype="http://schema.org/WebPage" itemref="logo">
33
<head>
44
<meta charset=utf-8>
55
<link rel="canonical" href="https://jpt.cicirello.org/">
66
<link itemprop="url" href="https://jpt.cicirello.org/">
77
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1">
88
<meta name="title" content="JavaPermutationTools - A Java library for computation on permutations and sequences">
99
<meta name="referrer" content="strict-origin-when-cross-origin">
10+
<meta http-equiv="Content-Security-Policy" content="object-src 'none'; script-src 'sha384-i9On6a8pULeN0XD9l3J0gZMnvbggxt4HiEpfuxzePuYS3uDQJ/7mbPyYPfqe/wSg' 'unsafe-inline' 'unsafe-eval' 'strict-dynamic' https: http:; base-uri 'none'; style-src https://*.doubleclick.net https://*.googlesyndication.com https://fonts.googleapis.com 'unsafe-inline'; font-src fonts.gstatic.com;">
1011
<meta itemprop="name" content="JavaPermutationTools - A Java library for computation on permutations and sequences">
1112
<meta name="description" content="The JavaPermutationTools (JPT) library includes an efficient object-oriented implementation of Permutations, as well as a variety of permutation distance metrics, distance metrics on sequences (i.e., Strings, arrays, and other ordered data types), and implementations of algorithms for randomly sampling from arrays.">
1213
<meta itemprop="description" content="The JavaPermutationTools (JPT) library includes an efficient object-oriented implementation of Permutations, as well as a variety of permutation distance metrics, distance metrics on sequences (i.e., Strings, arrays, and other ordered data types), and implementations of algorithms for randomly sampling from arrays.">
@@ -19,15 +20,16 @@
1920
<meta property="og:image:width" content="1280">
2021
<meta property="og:image:height" content="640">
2122
<meta property="og:description" content="The JavaPermutationTools (JPT) library includes an efficient object-oriented implementation of Permutations, as well as a variety of permutation distance metrics, distance metrics on sequences (i.e., Strings, arrays, and other ordered data types), and implementations of algorithms for randomly sampling from arrays.">
22-
<style amp-custom>
23+
<style>
2324
header, nav, footer, article, aside, section { display: block; }
2425
footer { clear: both; }
2526
body { background-color: #f6f0bb; font-family: Arial, Helvetica, sans-serif; }
2627
#siteheader, aside, footer { background-color: #bfd9bf; }
2728
#siteheader, aside, footer, article { border: 2px solid #4CAF50; border-radius: 25px; margin: 10px; padding: 10px; }
29+
img.respimg { max-width: 100%; height: auto; }
2830
h1, h2, h3, h4, h5, h6, strong { color: #862d2d; }
29-
h2, h3, div.sponsor-badges { text-align:center; }
30-
div.sponsor-badges amp-img { margin-top: 8px; }
31+
h1, h2, h3, div.sponsor-badges, div.center { text-align:center; }
32+
div.sponsor-badges img { margin-top: 8px; }
3133
a { color: #005500; }
3234
a:visited { color:#862d2d; }
3335
#toggle { position: absolute; left: -100vw; display: none; }
@@ -47,101 +49,47 @@
4749
section li { margin-bottom: 16px; }
4850
section ul { margin-bottom: 32px; }
4951
#copyright { text-align: center; color: #862d2d; }
50-
#logo, #backup-logo, h1 {max-width: 1280px;}
5152
h1 {margin: 10px auto; padding: 10px;}
52-
amp-img.contain img { object-fit: contain; }
5353
.badge-height { position: relative; width: 100%; height: 20px;}
54+
.footer-link { padding: 0 10px 0 10px; }
5455
@media screen and (min-width:601px){
5556
#menu-icon { display: none; }
5657
nav div a:not(.active) { display: block; }
5758
}
5859
</style>
59-
<style amp-boilerplate>
60-
body {
61-
-webkit-animation: -amp-start 8s steps(1, end) 0s 1 normal both;
62-
-moz-animation: -amp-start 8s steps(1, end) 0s 1 normal both;
63-
-ms-animation: -amp-start 8s steps(1, end) 0s 1 normal both;
64-
animation: -amp-start 8s steps(1, end) 0s 1 normal both;
65-
}
66-
@-webkit-keyframes -amp-start {
67-
from {
68-
visibility: hidden;
69-
}
70-
to {
71-
visibility: visible;
72-
}
73-
}
74-
@-moz-keyframes -amp-start {
75-
from {
76-
visibility: hidden;
77-
}
78-
to {
79-
visibility: visible;
80-
}
81-
}
82-
@-ms-keyframes -amp-start {
83-
from {
84-
visibility: hidden;
85-
}
86-
to {
87-
visibility: visible;
88-
}
89-
}
90-
@-o-keyframes -amp-start {
91-
from {
92-
visibility: hidden;
93-
}
94-
to {
95-
visibility: visible;
96-
}
97-
}
98-
@keyframes -amp-start {
99-
from {
100-
visibility: hidden;
101-
}
102-
to {
103-
visibility: visible;
104-
}
105-
}
106-
</style>
107-
<noscript><style amp-boilerplate>
108-
body {
109-
-webkit-animation: none;
110-
-moz-animation: none;
111-
-ms-animation: none;
112-
animation: none;
113-
}
114-
</style></noscript>
115-
<script async src="https://cdn.ampproject.org/v0.js"></script>
60+
<script async src="https://www.cicirello.org/js/dynamic_loader.min.js" integrity="sha384-i9On6a8pULeN0XD9l3J0gZMnvbggxt4HiEpfuxzePuYS3uDQJ/7mbPyYPfqe/wSg" crossorigin="anonymous"></script>
11661
</head>
11762
<body>
11863
<header itemprop="hasPart" itemscope itemtype="https://schema.org/WPHeader" id="siteheader">
11964
<div itemscope>
12065
<h1>
12166
<a href=".">
122-
<amp-img id="logo" itemprop="primaryImageOfPage" itemscope itemtype="http://schema.org/ImageObject"
123-
src="images/jpt.webp"
124-
alt="JavaPermutationTools - A Java library for computation on permutations and sequences"
125-
width="1280"
126-
height="640"
127-
layout="responsive"
67+
<picture id="logo" itemprop="primaryImageOfPage" itemscope itemtype="http://schema.org/ImageObject">
68+
<source
69+
type="image/webp"
12870
srcset="images/jpt.webp 1280w,
12971
images/jpt960.webp 960w,
13072
images/jpt640.webp 640w,
131-
images/jpt320.webp 320w">
132-
<amp-img id="backup-logo"
133-
fallback
73+
images/jpt320.webp 320w"
74+
sizes="(width <= 320px) 320px,
75+
(width <= 640px) 640px,
76+
(width <= 960px) 960px,
77+
1280px">
78+
<img
13479
src="images/jpt.png"
13580
alt="JavaPermutationTools - A Java library for computation on permutations and sequences"
13681
width="1280"
13782
height="640"
138-
layout="responsive"
83+
class="respimg"
13984
srcset="images/jpt.png 1280w,
14085
images/jpt960.png 960w,
14186
images/jpt640.png 640w,
142-
images/jpt320.png 320w">
143-
</amp-img>
144-
</amp-img>
87+
images/jpt320.png 320w"
88+
sizes="(width <= 320px) 320px,
89+
(width <= 640px) 640px,
90+
(width <= 960px) 960px,
91+
1280px">
92+
</picture>
14593
</a>
14694
</h1>
14795
<nav>
@@ -154,12 +102,13 @@ <h1>
154102
<div><a href="https://github.com/cicirello/jpt-examples">Example Programs</a></div>
155103
<div><a href="https://github.com/cicirello/JavaPermutationTools/issues">Issue Tracker</a></div>
156104
<div><a href="https://github.com/cicirello/JavaPermutationTools/blob/master/CHANGELOG.md">ChangeLog</a></div>
105+
<div><a href="https://www.cicirello.org/">Author</a></div>
157106
</nav>
158107
</div>
159108
<div class="sponsor-badges">
160-
<a href="https://github.com/sponsors/cicirello"><amp-img src="/images/github-sponsors.svg" alt="GitHub Sponsors" width="107" height="28">GitHub Sponsors</amp-img></a>
161-
<a href="https://liberapay.com/cicirello"><amp-img src="/images/Liberapay.svg" alt="Liberapay" width="119" height="28">Sponsor on Liberapay</amp-img></a>
162-
<a href="https://ko-fi.com/cicirello"><amp-img src="/images/ko-fi.svg" alt="Ko-Fi" width="82" height="28">Sponsor on Ko-Fi</amp-img></a>
109+
<a href="https://github.com/sponsors/cicirello"><img src="images/github-sponsors.svg" alt="GitHub Sponsors" width="107" height="28"></a>
110+
<a href="https://liberapay.com/cicirello"><img src="images/Liberapay.svg" alt="Liberapay" width="119" height="28"></a>
111+
<a href="https://ko-fi.com/cicirello"><img src="images/ko-fi.svg" alt="Ko-Fi" width="82" height="28"></a>
163112
</div>
164113
</header>
165114
<article itemprop="mainEntity" itemscope itemtype="http://schema.org/SoftwareSourceCode">
@@ -194,7 +143,7 @@ <h3>Overview</h3>
194143
</section>
195144
<section>
196145
<h3>How to Cite</h3>
197-
<div class="badge-height"><a href="https://doi.org/10.21105/joss.00950"><amp-img class="contain" layout="fill" alt="https://doi.org/10.21105/joss.00950" src="https://joss.theoj.org/papers/10.21105/joss.00950/status.svg"></amp-img></a></div>
146+
<div class="center"><a href="https://doi.org/10.21105/joss.00950"><img alt="https://doi.org/10.21105/joss.00950" src="https://joss.theoj.org/papers/10.21105/joss.00950/status.svg" height="20" width="168"></a></div>
198147
<p>If you use JPT in your research, please cite the following article which describes the library:</p>
199148
<ul>
200149
<li>Vincent A. Cicirello.
@@ -291,7 +240,7 @@ <h3>Dependent Libraries</h3>
291240
</section>
292241
<section>
293242
<h3>Importing from Maven Central</h3>
294-
<div class="badge-height"><a href="https://central.sonatype.com/artifact/org.cicirello/jpt/"><amp-img class="contain" layout="fill" alt="Latest release on Maven Central" src="https://img.shields.io/maven-central/v/org.cicirello/jpt.svg?label=Maven%20Central&logo=apachemaven"></amp-img></a></div>
243+
<div class="center badge-height"><a href="https://central.sonatype.com/artifact/org.cicirello/jpt/"><img alt="Latest release on Maven Central" src="https://img.shields.io/maven-central/v/org.cicirello/jpt.svg?label=Maven%20Central&logo=apachemaven"></a></div>
295244
<p>To import JPT from the Maven Central repository (if your build tool is
296245
Maven), add the following to the dependencies section of
297246
your &ldquo;pom.xml&rdquo; (for other build tools, see the tool's documentation

0 commit comments

Comments
 (0)