-
Notifications
You must be signed in to change notification settings - Fork 1
/
_sitemap.html
70 lines (67 loc) · 3.01 KB
/
_sitemap.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<title>Sitemap | HTML Boilerplate 1.1.2</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<meta name="description" content="" />
<meta name="keywords" content="">
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
<link rel="icon" type="image/png" href="assets/images/favicon.png" />
<!-- vendor css -->
<link href="assets/css/utilities.min.css" rel="stylesheet" />
<!-- theme stylesheet -->
<link href="style.css" rel="stylesheet" />
<link href="assets/css/responsive.css" rel="stylesheet" />
</head>
<body>
<!-- start -->
<div class="wrapper">
<div class="main-container">
<div class="main-content">
<section class="container">
<div class="row justify-content-center">
<div class="cell-9">
<!-- header part -->
<div class="py-50">
<h1>All pages URLs</h1>
</div>
<table class="table-bordered">
<tr>
<th>No.</th>
<th>Name of page</th>
<th>Link of page</th>
</tr>
<tr>
<td>Home</td>
<td><a href="index.html"></a></td>
</tr>
<tr>
<td>404 Page</td>
<td><a href="404page.html"></a></td>
</tr>
<tr>
<td>Typography</td>
<td><a href="typography.html"></a></td>
</tr>
</table>
</div>
</div>
</section>
</div>
</div>
</div>
<script src="assets/js/jquery-3.5.1.min.js"></script>
<!--<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>-->
<script>
$(document).ready(function () {
$('table tr:not(:first)').each(function (index) {
var link_name = $(this).find('a').attr('href');
$(this).find('a').text(link_name.split('.')[0]).attr("target", "_blank");;
$(this).prepend('<td class="num">');
$('table .num').text(function (index) { return + (index + 1); });
});
});
</script>
</body>
</html>