gscan 5.3.3 → 5.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/cli.js +180 -104
- package/package.json +16 -13
- package/app/ghost-version.js +0 -39
- package/app/index.js +0 -154
- package/app/middlewares/log-request.js +0 -30
- package/app/middlewares/sentry.js +0 -11
- package/app/middlewares/upload-validation.js +0 -43
- package/app/public/android-chrome-192x192.png +0 -0
- package/app/public/android-chrome-256x256.png +0 -0
- package/app/public/apple-touch-icon.png +0 -0
- package/app/public/favicon-16x16.png +0 -0
- package/app/public/favicon-32x32.png +0 -0
- package/app/public/favicon.ico +0 -0
- package/app/public/gscan.css +0 -2960
- package/app/public/js/gscan.js +0 -38
- package/app/public/logo-black-01.png +0 -0
- package/app/public/logo-gscan-black.png +0 -0
- package/app/public/logo-white-01.png +0 -0
- package/app/public/mstile-150x150.png +0 -0
- package/app/public/safari-pinned-tab.svg +0 -28
- package/app/tpl/error-404.hbs +0 -5
- package/app/tpl/error.hbs +0 -12
- package/app/tpl/index.hbs +0 -58
- package/app/tpl/layouts/default.hbs +0 -194
- package/app/tpl/partials/icon-arrow-down.hbs +0 -12
- package/app/tpl/partials/icon-arrow-up.hbs +0 -12
- package/app/tpl/partials/rule-fail.hbs +0 -25
- package/app/tpl/partials/rule-pass.hbs +0 -3
- package/app/tpl/partials/toggle.hbs +0 -4
- package/app/tpl/result.hbs +0 -80
package/app/public/js/gscan.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
(function ($) {
|
|
2
|
-
$(document).ready(function () {
|
|
3
|
-
if ($('#theme')[0]) {
|
|
4
|
-
$('#theme-submit').prop('disabled', !$('#theme')[0].files.length);
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
$(document).on('change', '#theme', function () {
|
|
8
|
-
$('#theme-submit').prop('disabled', !$(this)[0].files.length);
|
|
9
|
-
});
|
|
10
|
-
|
|
11
|
-
// Mobile Menu Trigger
|
|
12
|
-
$('.gh-nav-burger').click(function () {
|
|
13
|
-
$('.gh-mobilehead').toggleClass('gh-mobilehead-open');
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
// Toggle dropdown arrow
|
|
17
|
-
$('#version').on('click', function () {
|
|
18
|
-
$('.gh-input-icon.select-arrow').toggleClass('.active');
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
/** Toggle Details **/
|
|
22
|
-
if ($('.toggle-details').length) {
|
|
23
|
-
$('.toggle-details').on('click', function () {
|
|
24
|
-
if ($(this).find('~ .details').is(':hidden')) {
|
|
25
|
-
$(this).find('~ .details').show();
|
|
26
|
-
$(this).find('.show').hide();
|
|
27
|
-
$(this).find('.hide').show();
|
|
28
|
-
$(this).parent().addClass('expanded');
|
|
29
|
-
} else {
|
|
30
|
-
$(this).find('~ .details').hide();
|
|
31
|
-
$(this).find('.show').show();
|
|
32
|
-
$(this).find('.hide').hide();
|
|
33
|
-
$(this).parent().removeClass('expanded');
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
}(jQuery));
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" standalone="no"?>
|
|
2
|
-
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
|
3
|
-
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
|
4
|
-
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
|
5
|
-
width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
|
|
6
|
-
preserveAspectRatio="xMidYMid meet">
|
|
7
|
-
<metadata>
|
|
8
|
-
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
|
9
|
-
</metadata>
|
|
10
|
-
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
|
|
11
|
-
fill="#000000" stroke="none">
|
|
12
|
-
<path d="M2175 5114 c-710 -35 -1152 -142 -1481 -359 -397 -263 -605 -746
|
|
13
|
-
-674 -1565 -6 -69 -13 -285 -17 -480 -15 -925 66 -1475 278 -1881 276 -527
|
|
14
|
-
827 -767 1884 -820 251 -13 845 -7 1055 11 1085 90 1560 424 1770 1245 99 387
|
|
15
|
-
138 839 127 1465 -11 582 -55 933 -158 1255 -179 562 -504 859 -1106 1011
|
|
16
|
-
-200 50 -401 82 -673 105 -123 10 -867 20 -1005 13z m530 -604 c371 -31 710
|
|
17
|
-
-154 1008 -367 97 -70 278 -241 359 -340 481 -589 575 -1404 241 -2078 -271
|
|
18
|
-
-547 -759 -921 -1372 -1052 -118 -26 -142 -27 -381 -27 -240 0 -263 1 -383 27
|
|
19
|
-
-548 117 -987 422 -1282 892 -292 465 -365 1067 -194 1603 134 417 407 775
|
|
20
|
-
785 1027 255 171 594 288 906 314 149 12 172 12 313 1z"/>
|
|
21
|
-
<path d="M2425 4124 c-315 -48 -569 -134 -755 -254 -81 -53 -218 -185 -276
|
|
22
|
-
-266 -59 -82 -137 -248 -169 -359 -14 -49 -35 -146 -46 -215 -19 -116 -44
|
|
23
|
-
-243 -91 -450 -29 -127 -34 -314 -13 -441 46 -275 164 -501 369 -704 202 -200
|
|
24
|
-
419 -317 699 -376 121 -26 374 -32 472 -11 297 63 813 327 1112 569 172 139
|
|
25
|
-
289 280 367 444 60 124 86 227 93 371 16 317 -103 589 -448 1026 -68 86 -169
|
|
26
|
-
202 -224 258 -159 160 -381 297 -599 369 -170 57 -305 68 -491 39z"/>
|
|
27
|
-
</g>
|
|
28
|
-
</svg>
|
package/app/tpl/error-404.hbs
DELETED
package/app/tpl/error.hbs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<div class="inner">
|
|
2
|
-
<header class="gh-header">
|
|
3
|
-
<h4 class="pricing-subheader center-text">Uh-Oh, There was an error.</h4>
|
|
4
|
-
</header>
|
|
5
|
-
<section class="center-text">
|
|
6
|
-
<p>{{message}}</p>
|
|
7
|
-
<p>{{context}}</p>
|
|
8
|
-
<p>{{details}}</p>
|
|
9
|
-
<p>{{stack}}</p>
|
|
10
|
-
<p>Please visit our <a href="https://forum.ghost.org/">forum</a> and let us know!</p>
|
|
11
|
-
</section>
|
|
12
|
-
</div>
|
package/app/tpl/index.hbs
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
<div class="inner flex">
|
|
2
|
-
<div class="newsletter-success-message">
|
|
3
|
-
<h3>✉️ Nice! Please check your email</h3>
|
|
4
|
-
<p><em>Click on the link in your inbox to confirm your subscription</em></p>
|
|
5
|
-
</div>
|
|
6
|
-
<div class="newsletter-confirmed-message">
|
|
7
|
-
<h3>✅ Alright! You're all set</h3>
|
|
8
|
-
<p><em>Thanks for subscribing — we'll send you the next newsletter</em></p>
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<header class="gh-header">
|
|
12
|
-
<p class="gh-subhead"><strong>Scan your theme.</strong> Upload a zip to check for errors, deprecations and other compatibility issues.</p>
|
|
13
|
-
</header>
|
|
14
|
-
|
|
15
|
-
<section class="gh-gscan-uploader">
|
|
16
|
-
<form class="gh-gscan-uploader-form" action="/" method="post" enctype="multipart/form-data">
|
|
17
|
-
<div class="gh-form-group">
|
|
18
|
-
<input class="gh-input" type="file" accept="application/zip" name="theme" id="theme"/>
|
|
19
|
-
</div>
|
|
20
|
-
<div class="gh-form-group">
|
|
21
|
-
<label for="version">Ghost version:</label>
|
|
22
|
-
<span class="gh-input-icon select-arrow">{{> icon-arrow-up}}</span>
|
|
23
|
-
<span class="gh-input-icon select-arrow active">{{> icon-arrow-down}}</span>
|
|
24
|
-
<select class="gh-input gh-select" name="version" id="version">
|
|
25
|
-
<option value="v6" selected>{{ghostVersions.v6.major}}</option>
|
|
26
|
-
<option value="v5">{{ghostVersions.v5.major}}</option>
|
|
27
|
-
<option value="v4">{{ghostVersions.v4.major}}</option>
|
|
28
|
-
<option value="v3">{{ghostVersions.v3.major}}</option>
|
|
29
|
-
<option value="v2">{{ghostVersions.v2.major}}</option>
|
|
30
|
-
<option value="v1">{{ghostVersions.v1.major}}</option>
|
|
31
|
-
</select>
|
|
32
|
-
</div>
|
|
33
|
-
<button class="gh-btn" id="theme-submit" type="submit"><span>Start scanning →</span></button>
|
|
34
|
-
</form>
|
|
35
|
-
</section>
|
|
36
|
-
</div>
|
|
37
|
-
|
|
38
|
-
<div class="gh-section gh-section-themenewsletter">
|
|
39
|
-
<div class="inner">
|
|
40
|
-
<header class="gh-section-head">
|
|
41
|
-
<h2>Want to make sure you're always up to date?</h2>
|
|
42
|
-
<p>Subscribe to the theme developer mailing list to be notified in advance of major changes in Ghost. No marketing campaigns. No jibber jabber. Unsubscribe anytime.</p>
|
|
43
|
-
</header>
|
|
44
|
-
<div class="newsletter-form-container">
|
|
45
|
-
<form id="subForm" class="newsletter-form js-cm-form" action="https://www.createsend.com/t/subscribeerror?description=" method="post"
|
|
46
|
-
data-id="2BE4EF332AA2E32596E38B640E905619C85F3F597FD033B6F6C6422EB1015CD3797460F8635AD5359E57FD834AC206B931043CF78DEA9DF7C031BD9E6544B488">
|
|
47
|
-
<div class="newsletter-form-group">
|
|
48
|
-
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" stroke="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
49
|
-
<path d="M3.33332 3.33334H16.6667C17.5833 3.33334 18.3333 4.08334 18.3333 5.00001V15C18.3333 15.9167 17.5833 16.6667 16.6667 16.6667H3.33332C2.41666 16.6667 1.66666 15.9167 1.66666 15V5.00001C1.66666 4.08334 2.41666 3.33334 3.33332 3.33334Z" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
50
|
-
<path d="M18.3333 5L9.99999 10.8333L1.66666 5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
51
|
-
</svg>
|
|
52
|
-
<input id="fieldEmail" class="gh-input js-cm-email-input" name="cm-vlkgh-vlkgh" type="email" placeholder="yourname@example.com" required="">
|
|
53
|
-
<button class="gh-btn gh-btn-subscribe" type="submit"><span>Subscribe</span></button>
|
|
54
|
-
</div>
|
|
55
|
-
</form>
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
</div>
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8">
|
|
6
|
-
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
7
|
-
|
|
8
|
-
{{{block "meta"}}}
|
|
9
|
-
<title>The official tool to test your Ghost theme - Ghost.org</title>
|
|
10
|
-
<meta name="description" content="Upload any Ghost theme to GScan to speed up your workflow. Check for errors, deprecations and other compatibility issues & keep your site up to date.">
|
|
11
|
-
|
|
12
|
-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap&text=%E2%86%90|%E2%86%92" rel="stylesheet">
|
|
13
|
-
|
|
14
|
-
<link rel="stylesheet" href="/gscan.css?v=1">
|
|
15
|
-
|
|
16
|
-
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
|
17
|
-
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
18
|
-
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
19
|
-
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#0d1013">
|
|
20
|
-
<meta name="msapplication-TileColor" content="#0d1013">
|
|
21
|
-
<meta name="theme-color" content="#ffffff">
|
|
22
|
-
|
|
23
|
-
<meta name="HandheldFriendly" content="True">
|
|
24
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
25
|
-
</head>
|
|
26
|
-
|
|
27
|
-
<body class="gh-gscan {{{block " bodyclass "}}}">
|
|
28
|
-
|
|
29
|
-
<div class="gh-viewport">
|
|
30
|
-
|
|
31
|
-
<header class="gh-head">
|
|
32
|
-
<nav class="gh-navbar inner">
|
|
33
|
-
<div class="gh-navbar-left">
|
|
34
|
-
<a class="gh-nav-logo gh-navbar-item" href="/">
|
|
35
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 294" preserveAspectRatio="xMidYMid meet" class="ghost-orb-logo-bl">
|
|
36
|
-
<title>Ghost Logo</title>
|
|
37
|
-
<style>
|
|
38
|
-
svg.ghost-orb-logo-bl {
|
|
39
|
-
width: 100%;
|
|
40
|
-
background-size: 100% 100%;
|
|
41
|
-
background-repeat: no-repeat;
|
|
42
|
-
background-image: url(/logo-black-01.png);
|
|
43
|
-
}
|
|
44
|
-
</style>
|
|
45
|
-
</svg>
|
|
46
|
-
<svg class="gscan-badge" viewbox="0 0 350 141" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
47
|
-
<rect width="350" height="141" rx="28" fill="url(#paint1_linear)"/>
|
|
48
|
-
<path d="M92.406 92.818c-2.11 2.594-5.09 4.612-8.945 6.056-3.854 1.417-8.125 2.126-12.813 2.126-4.921 0-9.244-1.096-12.968-3.289-3.698-2.219-6.563-5.428-8.594-9.625-2.005-4.198-3.034-9.132-3.086-14.8v-3.97c0-5.83.95-10.87 2.852-15.12 1.927-4.279 4.687-7.54 8.28-9.787C60.753 42.136 64.985 41 69.829 41c6.745 0 12.018 1.658 15.82 4.973 3.803 3.289 6.055 8.089 6.758 14.399H81c-.52-3.343-1.68-5.79-3.477-7.34-1.77-1.55-4.218-2.326-7.343-2.326-3.985 0-7.019 1.537-9.102 4.612s-3.138 7.647-3.164 13.717v3.73c0 6.123 1.133 10.748 3.398 13.877 2.266 3.128 5.586 4.692 9.961 4.692 4.401 0 7.54-.962 9.415-2.888V78.38H70.023v-8.864h22.383v23.302zM131.43 84.877c0-2.273-.782-4.01-2.344-5.214-1.563-1.23-4.375-2.513-8.438-3.85-4.062-1.364-7.278-2.7-9.648-4.01-6.458-3.584-9.688-8.41-9.688-14.48 0-3.155.86-5.962 2.579-8.422 1.744-2.487 4.231-4.425 7.461-5.815 3.255-1.39 6.901-2.086 10.937-2.086 4.063 0 7.682.762 10.859 2.286 3.178 1.497 5.638 3.623 7.383 6.377 1.771 2.754 2.657 5.883 2.657 9.385h-11.719c0-2.674-.821-4.746-2.461-6.216-1.641-1.498-3.946-2.246-6.914-2.246-2.865 0-5.091.628-6.68 1.885-1.588 1.23-2.383 2.86-2.383 4.893 0 1.898.925 3.489 2.774 4.772 1.875 1.284 4.622 2.487 8.242 3.61 6.667 2.059 11.523 4.612 14.57 7.66 3.047 3.048 4.571 6.845 4.571 11.39 0 5.054-1.862 9.025-5.586 11.913-3.724 2.86-8.737 4.291-15.04 4.291-4.374 0-8.359-.816-11.953-2.447-3.593-1.657-6.341-3.917-8.242-6.778-1.875-2.86-2.812-6.176-2.812-9.946h11.757c0 6.444 3.75 9.666 11.25 9.666 2.787 0 4.961-.575 6.524-1.725 1.562-1.176 2.344-2.807 2.344-4.893zM195.805 80.746c-.443 6.283-2.709 11.23-6.797 14.84-4.063 3.61-9.427 5.414-16.094 5.414-7.292 0-13.034-2.513-17.226-7.54-4.167-5.054-6.25-11.979-6.25-20.775v-3.57c0-5.615.963-10.561 2.89-14.84 1.927-4.278 4.675-7.553 8.242-9.826 3.594-2.3 7.761-3.449 12.5-3.449 6.563 0 11.849 1.805 15.86 5.414 4.01 3.61 6.328 8.677 6.953 15.201h-11.719c-.286-3.77-1.315-6.497-3.086-8.182-1.745-1.711-4.414-2.567-8.008-2.567-3.906 0-6.836 1.444-8.789 4.332-1.927 2.86-2.916 7.313-2.969 13.355v4.412c0 6.31.925 10.923 2.774 13.837 1.875 2.915 4.818 4.372 8.828 4.372 3.62 0 6.315-.843 8.086-2.527 1.797-1.711 2.826-4.345 3.086-7.901h11.719zM235.609 88.166h-20.547l-3.906 12.032h-12.461l21.172-58.396h10.86l21.289 58.396h-12.461l-3.946-12.032zm-17.382-9.746h14.218l-7.148-21.858-7.07 21.858zM303.578 100.198h-11.719l-22.812-38.423v38.423h-11.719V41.802h11.719l22.851 38.503V41.802h11.68v58.396z" fill="#fff"/>
|
|
49
|
-
<defs>
|
|
50
|
-
<linearGradient id="paint1_linear" x1="0" y1="0" x2="353.479" y2="131.658" gradientUnits="userSpaceOnUse">
|
|
51
|
-
<stop stop-color="#ED26D3"/>
|
|
52
|
-
<stop offset="1" stop-color="#FF1433"/>
|
|
53
|
-
</linearGradient>
|
|
54
|
-
</defs>
|
|
55
|
-
</svg>
|
|
56
|
-
</a>
|
|
57
|
-
|
|
58
|
-
</div>
|
|
59
|
-
<div class="gh-navbar-right">
|
|
60
|
-
<a class="gh-navbar-item" href="https://docs.ghost.org/themes/" target="blank" rel="noopener">Theme Docs</a>
|
|
61
|
-
<a class="gh-navbar-btn gh-btn" href="https://ghost.org/"><span>Ghost.org</span></a>
|
|
62
|
-
</div>
|
|
63
|
-
</nav>
|
|
64
|
-
</header>
|
|
65
|
-
|
|
66
|
-
{{!-- Mobile Navbar + Menu --}}
|
|
67
|
-
<header class="gh-mobilehead">
|
|
68
|
-
<nav class="gh-mobilenavbar">
|
|
69
|
-
<a class="gh-nav-burger" href="#">
|
|
70
|
-
<div class="hamburger hamburger--collapse" aria-label="Menu" role="button" aria-controls="navigation">
|
|
71
|
-
<div class="hamburger-box">
|
|
72
|
-
<div class="hamburger-inner"></div>
|
|
73
|
-
</div>
|
|
74
|
-
</div>
|
|
75
|
-
</a>
|
|
76
|
-
<a class="gh-nav-logo" href="/">
|
|
77
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 294" preserveAspectRatio="xMidYMid meet" class="ghost-orb-logo-bl">
|
|
78
|
-
<title>Ghost Logo</title>
|
|
79
|
-
<style>
|
|
80
|
-
svg.ghost-orb-logo-bl {
|
|
81
|
-
width: 100%;
|
|
82
|
-
background-size: 100% 100%;
|
|
83
|
-
background-repeat: no-repeat;
|
|
84
|
-
background-image: url(/logo-black-01.png);
|
|
85
|
-
}
|
|
86
|
-
</style>
|
|
87
|
-
</svg>
|
|
88
|
-
<svg class="gscan-badge" viewbox="0 0 350 141" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
89
|
-
<rect width="350" height="141" rx="28" fill="url(#paint0_linear)"/>
|
|
90
|
-
<path d="M92.406 92.818c-2.11 2.594-5.09 4.612-8.945 6.056-3.854 1.417-8.125 2.126-12.813 2.126-4.921 0-9.244-1.096-12.968-3.289-3.698-2.219-6.563-5.428-8.594-9.625-2.005-4.198-3.034-9.132-3.086-14.8v-3.97c0-5.83.95-10.87 2.852-15.12 1.927-4.279 4.687-7.54 8.28-9.787C60.753 42.136 64.985 41 69.829 41c6.745 0 12.018 1.658 15.82 4.973 3.803 3.289 6.055 8.089 6.758 14.399H81c-.52-3.343-1.68-5.79-3.477-7.34-1.77-1.55-4.218-2.326-7.343-2.326-3.985 0-7.019 1.537-9.102 4.612s-3.138 7.647-3.164 13.717v3.73c0 6.123 1.133 10.748 3.398 13.877 2.266 3.128 5.586 4.692 9.961 4.692 4.401 0 7.54-.962 9.415-2.888V78.38H70.023v-8.864h22.383v23.302zM131.43 84.877c0-2.273-.782-4.01-2.344-5.214-1.563-1.23-4.375-2.513-8.438-3.85-4.062-1.364-7.278-2.7-9.648-4.01-6.458-3.584-9.688-8.41-9.688-14.48 0-3.155.86-5.962 2.579-8.422 1.744-2.487 4.231-4.425 7.461-5.815 3.255-1.39 6.901-2.086 10.937-2.086 4.063 0 7.682.762 10.859 2.286 3.178 1.497 5.638 3.623 7.383 6.377 1.771 2.754 2.657 5.883 2.657 9.385h-11.719c0-2.674-.821-4.746-2.461-6.216-1.641-1.498-3.946-2.246-6.914-2.246-2.865 0-5.091.628-6.68 1.885-1.588 1.23-2.383 2.86-2.383 4.893 0 1.898.925 3.489 2.774 4.772 1.875 1.284 4.622 2.487 8.242 3.61 6.667 2.059 11.523 4.612 14.57 7.66 3.047 3.048 4.571 6.845 4.571 11.39 0 5.054-1.862 9.025-5.586 11.913-3.724 2.86-8.737 4.291-15.04 4.291-4.374 0-8.359-.816-11.953-2.447-3.593-1.657-6.341-3.917-8.242-6.778-1.875-2.86-2.812-6.176-2.812-9.946h11.757c0 6.444 3.75 9.666 11.25 9.666 2.787 0 4.961-.575 6.524-1.725 1.562-1.176 2.344-2.807 2.344-4.893zM195.805 80.746c-.443 6.283-2.709 11.23-6.797 14.84-4.063 3.61-9.427 5.414-16.094 5.414-7.292 0-13.034-2.513-17.226-7.54-4.167-5.054-6.25-11.979-6.25-20.775v-3.57c0-5.615.963-10.561 2.89-14.84 1.927-4.278 4.675-7.553 8.242-9.826 3.594-2.3 7.761-3.449 12.5-3.449 6.563 0 11.849 1.805 15.86 5.414 4.01 3.61 6.328 8.677 6.953 15.201h-11.719c-.286-3.77-1.315-6.497-3.086-8.182-1.745-1.711-4.414-2.567-8.008-2.567-3.906 0-6.836 1.444-8.789 4.332-1.927 2.86-2.916 7.313-2.969 13.355v4.412c0 6.31.925 10.923 2.774 13.837 1.875 2.915 4.818 4.372 8.828 4.372 3.62 0 6.315-.843 8.086-2.527 1.797-1.711 2.826-4.345 3.086-7.901h11.719zM235.609 88.166h-20.547l-3.906 12.032h-12.461l21.172-58.396h10.86l21.289 58.396h-12.461l-3.946-12.032zm-17.382-9.746h14.218l-7.148-21.858-7.07 21.858zM303.578 100.198h-11.719l-22.812-38.423v38.423h-11.719V41.802h11.719l22.851 38.503V41.802h11.68v58.396z" fill="#fff"/>
|
|
91
|
-
<defs>
|
|
92
|
-
<linearGradient id="paint0_linear" x1="0" y1="0" x2="353.479" y2="131.658" gradientUnits="userSpaceOnUse" >
|
|
93
|
-
<stop stop-color="#ED26D3"/>
|
|
94
|
-
<stop offset="1" stop-color="#FF1433"/>
|
|
95
|
-
</linearGradient>
|
|
96
|
-
</defs>
|
|
97
|
-
</svg>
|
|
98
|
-
</a>
|
|
99
|
-
</nav>
|
|
100
|
-
<div class="gh-mobilemenu">
|
|
101
|
-
<a class="gh-navbar-item" href="https://gscan.ghost.org">GScan</a>
|
|
102
|
-
<a class="gh-navbar-item" href="https://docs.ghost.org/themes/">Theme Docs</a>
|
|
103
|
-
<a class="gh-navbar-item" href="https://ghost.org/">Ghost.org</a>
|
|
104
|
-
</div>
|
|
105
|
-
</header>
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
{{!-- Main Outlet --}}
|
|
109
|
-
<main class="gh-main" role="main">
|
|
110
|
-
{{{body}}}
|
|
111
|
-
</main>
|
|
112
|
-
|
|
113
|
-
<footer class="gh-foot">
|
|
114
|
-
<div class="gh-foot-support inner">
|
|
115
|
-
<div class="gh-support-email" href="https://ghost.org/pricing/">
|
|
116
|
-
<h4>Ready to upgrade to the best?</h4>
|
|
117
|
-
<p>Spend less time running your servers and more time running your site. <strong><a href="https://ghost.org/pricing/">Ghost(Pro)</a></strong>
|
|
118
|
-
has got you covered</p>
|
|
119
|
-
</div>
|
|
120
|
-
<div class="gh-support-slack">
|
|
121
|
-
<h4>Looking for help or advice?</h4>
|
|
122
|
-
<p>Join the <strong><a href="https://forum.ghost.org">Ghost community</a></strong> and meet thousands of other professional users and developers
|
|
123
|
-
now</p>
|
|
124
|
-
</div>
|
|
125
|
-
</div>
|
|
126
|
-
<div class="gh-foot-content inner">
|
|
127
|
-
<nav class="gh-foot-min-nav">
|
|
128
|
-
<a class="gh-foot-min-item gh-foot-min-logo" href="https://ghost.org/">
|
|
129
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 294" preserveAspectRatio="xMidYMid meet" class="ghost-orb-logo-wh">
|
|
130
|
-
<title>Ghost Logo</title>
|
|
131
|
-
<style>
|
|
132
|
-
svg.ghost-orb-logo-wh {
|
|
133
|
-
width: 100%;
|
|
134
|
-
background-size: 100% 100%;
|
|
135
|
-
background-repeat: no-repeat;
|
|
136
|
-
background-image: url(/logo-white-01.png);
|
|
137
|
-
max-width: 100px;
|
|
138
|
-
}
|
|
139
|
-
</style>
|
|
140
|
-
</svg>
|
|
141
|
-
<svg class="gscan-badge" viewbox="0 0 350 141" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
142
|
-
<rect width="350" height="141" rx="28" fill="url(#paint2_linear)"/>
|
|
143
|
-
<path d="M92.406 92.818c-2.11 2.594-5.09 4.612-8.945 6.056-3.854 1.417-8.125 2.126-12.813 2.126-4.921 0-9.244-1.096-12.968-3.289-3.698-2.219-6.563-5.428-8.594-9.625-2.005-4.198-3.034-9.132-3.086-14.8v-3.97c0-5.83.95-10.87 2.852-15.12 1.927-4.279 4.687-7.54 8.28-9.787C60.753 42.136 64.985 41 69.829 41c6.745 0 12.018 1.658 15.82 4.973 3.803 3.289 6.055 8.089 6.758 14.399H81c-.52-3.343-1.68-5.79-3.477-7.34-1.77-1.55-4.218-2.326-7.343-2.326-3.985 0-7.019 1.537-9.102 4.612s-3.138 7.647-3.164 13.717v3.73c0 6.123 1.133 10.748 3.398 13.877 2.266 3.128 5.586 4.692 9.961 4.692 4.401 0 7.54-.962 9.415-2.888V78.38H70.023v-8.864h22.383v23.302zM131.43 84.877c0-2.273-.782-4.01-2.344-5.214-1.563-1.23-4.375-2.513-8.438-3.85-4.062-1.364-7.278-2.7-9.648-4.01-6.458-3.584-9.688-8.41-9.688-14.48 0-3.155.86-5.962 2.579-8.422 1.744-2.487 4.231-4.425 7.461-5.815 3.255-1.39 6.901-2.086 10.937-2.086 4.063 0 7.682.762 10.859 2.286 3.178 1.497 5.638 3.623 7.383 6.377 1.771 2.754 2.657 5.883 2.657 9.385h-11.719c0-2.674-.821-4.746-2.461-6.216-1.641-1.498-3.946-2.246-6.914-2.246-2.865 0-5.091.628-6.68 1.885-1.588 1.23-2.383 2.86-2.383 4.893 0 1.898.925 3.489 2.774 4.772 1.875 1.284 4.622 2.487 8.242 3.61 6.667 2.059 11.523 4.612 14.57 7.66 3.047 3.048 4.571 6.845 4.571 11.39 0 5.054-1.862 9.025-5.586 11.913-3.724 2.86-8.737 4.291-15.04 4.291-4.374 0-8.359-.816-11.953-2.447-3.593-1.657-6.341-3.917-8.242-6.778-1.875-2.86-2.812-6.176-2.812-9.946h11.757c0 6.444 3.75 9.666 11.25 9.666 2.787 0 4.961-.575 6.524-1.725 1.562-1.176 2.344-2.807 2.344-4.893zM195.805 80.746c-.443 6.283-2.709 11.23-6.797 14.84-4.063 3.61-9.427 5.414-16.094 5.414-7.292 0-13.034-2.513-17.226-7.54-4.167-5.054-6.25-11.979-6.25-20.775v-3.57c0-5.615.963-10.561 2.89-14.84 1.927-4.278 4.675-7.553 8.242-9.826 3.594-2.3 7.761-3.449 12.5-3.449 6.563 0 11.849 1.805 15.86 5.414 4.01 3.61 6.328 8.677 6.953 15.201h-11.719c-.286-3.77-1.315-6.497-3.086-8.182-1.745-1.711-4.414-2.567-8.008-2.567-3.906 0-6.836 1.444-8.789 4.332-1.927 2.86-2.916 7.313-2.969 13.355v4.412c0 6.31.925 10.923 2.774 13.837 1.875 2.915 4.818 4.372 8.828 4.372 3.62 0 6.315-.843 8.086-2.527 1.797-1.711 2.826-4.345 3.086-7.901h11.719zM235.609 88.166h-20.547l-3.906 12.032h-12.461l21.172-58.396h10.86l21.289 58.396h-12.461l-3.946-12.032zm-17.382-9.746h14.218l-7.148-21.858-7.07 21.858zM303.578 100.198h-11.719l-22.812-38.423v38.423h-11.719V41.802h11.719l22.851 38.503V41.802h11.68v58.396z" fill="#fff"/>
|
|
144
|
-
<defs>
|
|
145
|
-
<linearGradient id="paint2_linear" x1="0" y1="0" x2="353.479" y2="131.658" gradientUnits="userSpaceOnUse">
|
|
146
|
-
<stop stop-color="#ED26D3"/>
|
|
147
|
-
<stop offset="1" stop-color="#FF1433"/>
|
|
148
|
-
</linearGradient>
|
|
149
|
-
</defs>
|
|
150
|
-
</svg>
|
|
151
|
-
</a>
|
|
152
|
-
<a class="gh-foot-min-item" href="https://ghost.org/docs/">Help Center</a>
|
|
153
|
-
<a class="gh-foot-min-item" href="https://status.ghost.org">Status</a>
|
|
154
|
-
<a class="gh-foot-min-item" href="https://twitter.com/ghost">@Ghost</a>
|
|
155
|
-
</nav>
|
|
156
|
-
<div class="gh-foot-min-back">
|
|
157
|
-
<a class="gh-foot-min-item" href="https://ghost.org/">Back to Ghost</a>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
</footer>
|
|
161
|
-
|
|
162
|
-
</div>{{!-- /.gh-viewport --}}
|
|
163
|
-
|
|
164
|
-
<script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>
|
|
165
|
-
<script type="text/javascript" src="/js/gscan.js"></script>
|
|
166
|
-
|
|
167
|
-
{{!--Campaign Monitor Scripts for Newsletter--}}
|
|
168
|
-
<script type="text/javascript" src="https://js.createsend1.com/javascript/copypastesubscribeformlogic.js"></script>
|
|
169
|
-
<script>
|
|
170
|
-
// Parse the URL parameter
|
|
171
|
-
function getParameterByName(name, url) {
|
|
172
|
-
if (!url) url = window.location.href;
|
|
173
|
-
name = name.replace(/[\[\]]/g, "\\$&");
|
|
174
|
-
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
|
|
175
|
-
results = regex.exec(url);
|
|
176
|
-
if (!results) return null;
|
|
177
|
-
if (!results[2]) return '';
|
|
178
|
-
return decodeURIComponent(results[2].replace(/\+/g, " "));
|
|
179
|
-
}
|
|
180
|
-
// Give the parameter a variable name
|
|
181
|
-
var dynamicContent = getParameterByName('s');
|
|
182
|
-
|
|
183
|
-
$(document).ready(function() {
|
|
184
|
-
|
|
185
|
-
// Check if the URL parameter is apples
|
|
186
|
-
if (dynamicContent == 'true') {
|
|
187
|
-
$('body').addClass("successfully-subscribed");
|
|
188
|
-
} else if (dynamicContent == 'confirmed') {
|
|
189
|
-
$('body').addClass("successfully-confirmed");
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
|
-
</script>
|
|
193
|
-
</body>
|
|
194
|
-
</html>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<svg width="26px" height="17px" viewBox="0 0 26 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 39.1 (31720) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
-
<title>arrow-down3</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<defs></defs>
|
|
7
|
-
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
|
|
8
|
-
<g id="Stroke-40" transform="translate(1.000000, 2.000000)" stroke-width="3" stroke="#0B0B0A">
|
|
9
|
-
<polyline points="0.4687 0.1798 11.9687 13.3228 23.4687 0.1798"></polyline>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
2
|
-
<svg width="26px" height="17px" viewBox="0 0 26 17" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 39.1 (31720) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
-
<title>arrow-up3</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<defs></defs>
|
|
7
|
-
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="round" stroke-linejoin="round">
|
|
8
|
-
<g id="Stroke-41" transform="translate(1.000000, 2.000000)" stroke-width="3" stroke="#0B0B0A">
|
|
9
|
-
<polyline points="23.4687 13.3227 11.9687 0.1797 0.4687 13.3227"></polyline>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
</svg>
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<article class="rule fail">
|
|
2
|
-
<p>{{{rule}}}</p>
|
|
3
|
-
{{> toggle}}
|
|
4
|
-
|
|
5
|
-
<div class="details hide">
|
|
6
|
-
{{#if message}}
|
|
7
|
-
<p>{{message}}</p>
|
|
8
|
-
{{/if}}
|
|
9
|
-
|
|
10
|
-
{{#if details}}
|
|
11
|
-
<p>{{{details}}}</p>
|
|
12
|
-
{{/if}}
|
|
13
|
-
|
|
14
|
-
{{#if failures}}
|
|
15
|
-
<div><h4>Affected files:</h4></div>
|
|
16
|
-
<ul>
|
|
17
|
-
{{#each failures}}
|
|
18
|
-
<li><strong>{{ref}}:</strong> {{message}}</li>
|
|
19
|
-
{{/each}}
|
|
20
|
-
</ul>
|
|
21
|
-
{{/if}}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
</div>
|
|
25
|
-
</article>
|
package/app/tpl/result.hbs
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
<section class="gh-section report">
|
|
2
|
-
<div class="inner">
|
|
3
|
-
<header>
|
|
4
|
-
<div class="report-heading">
|
|
5
|
-
<div class="result-summary">
|
|
6
|
-
<p>Theme compatibility</p>
|
|
7
|
-
<div class="title">{{#if name}}<strong>{{name}} {{version}}</strong>{{/if}} for Ghost version <span>{{checkedVersion}}</span></div>
|
|
8
|
-
</div>
|
|
9
|
-
<div class="health-meter {{results.score.level}}">
|
|
10
|
-
<span class="score"><strong>{{results.score.value}}</strong> / 100</span>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="progress-bar">
|
|
14
|
-
<div class="progress-bar-value {{results.score.level}}"style="width: {{results.score.value}}%">.</div>
|
|
15
|
-
</div>
|
|
16
|
-
<div>
|
|
17
|
-
<a href="/" class="gh-btn gh-btn-link"><span>Start over →</span></a>
|
|
18
|
-
</div>
|
|
19
|
-
</header>
|
|
20
|
-
</div>
|
|
21
|
-
|
|
22
|
-
<div class="inner report-body">
|
|
23
|
-
<div class="results report-section">
|
|
24
|
-
{{#if results.error}}
|
|
25
|
-
<section class="level-group errors">
|
|
26
|
-
<header class="level-group-header">
|
|
27
|
-
<h3 class="level">Errors</h3>
|
|
28
|
-
<p>Highly recommended to fix, functionality could be restricted!</p>
|
|
29
|
-
</header>
|
|
30
|
-
<div class="rule-group">
|
|
31
|
-
{{#each results.error}}
|
|
32
|
-
{{> rule-fail}}
|
|
33
|
-
{{/each}}
|
|
34
|
-
</div>
|
|
35
|
-
</section>
|
|
36
|
-
{{/if}}
|
|
37
|
-
|
|
38
|
-
{{#if results.warning}}
|
|
39
|
-
<section class="level-group warnings">
|
|
40
|
-
<header class="result-group-header">
|
|
41
|
-
<h3 class="level">Warnings</h3>
|
|
42
|
-
</header>
|
|
43
|
-
<div class="rule-group">
|
|
44
|
-
{{#each results.warning}}
|
|
45
|
-
{{> rule-fail}}
|
|
46
|
-
{{/each}}
|
|
47
|
-
</div>
|
|
48
|
-
</section>
|
|
49
|
-
{{/if}}
|
|
50
|
-
|
|
51
|
-
{{#if results.recommendation}}
|
|
52
|
-
<section class="level-group recommendations">
|
|
53
|
-
<header class="result-group-header">
|
|
54
|
-
<h3 class="level">Recommendations</h3>
|
|
55
|
-
</header>
|
|
56
|
-
<div class="rule-group">
|
|
57
|
-
{{#each results.recommendation}}
|
|
58
|
-
{{> rule-fail}}
|
|
59
|
-
{{/each}}
|
|
60
|
-
</div>
|
|
61
|
-
</section>
|
|
62
|
-
{{/if}}
|
|
63
|
-
|
|
64
|
-
{{#if results.pass}}
|
|
65
|
-
<section class="level-group passes">
|
|
66
|
-
<header class="result-group-header">
|
|
67
|
-
<h3 class="level">{{results.pass.length}} passed rules</h3>
|
|
68
|
-
</header>
|
|
69
|
-
{{> toggle}}
|
|
70
|
-
<div class="rule-group details hide">
|
|
71
|
-
{{#each results.pass}}
|
|
72
|
-
{{> rule-pass}}
|
|
73
|
-
{{/each}}
|
|
74
|
-
</div>
|
|
75
|
-
</section>
|
|
76
|
-
{{/if}}
|
|
77
|
-
</div>
|
|
78
|
-
</div>
|
|
79
|
-
|
|
80
|
-
</section>
|