Permalink
Browse files

Jade -> Pug

codebase converted.
  • Loading branch information...
AhoyLemon committed Apr 7, 2017
1 parent f9fba6e commit c9a70b0ffc5b381bb43149302a47bdc8fccf381b
View
@@ -0,0 +1,44 @@
+
+<meta charset="utf-8"/>
+<title></title>
+<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
+<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab:100,400,300,700|Roboto:400,300,700,400italic"/>
+<link rel="stylesheet" href="css/damn.css?v=undefined"/>
+<meta name="viewport" content="width=device-width, initial-scale=1"/>
+<meta name="description"/>
+<meta http-equiv="last-modified"/>
+<!-- favicons-->
+<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png"/>
+<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png"/>
+<link rel="apple-touch-icon" sizes="72x72" href="/apple-touch-icon-72x72.png"/>
+<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon-76x76.png"/>
+<link rel="apple-touch-icon" sizes="114x114" href="/apple-touch-icon-114x114.png"/>
+<link rel="apple-touch-icon" sizes="120x120" href="/apple-touch-icon-120x120.png"/>
+<link rel="apple-touch-icon" sizes="144x144" href="/apple-touch-icon-144x144.png"/>
+<link rel="apple-touch-icon" sizes="152x152" href="/apple-touch-icon-152x152.png"/>
+<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon-180x180.png"/>
+<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"/>
+<link rel="icon" type="image/png" href="/favicon-194x194.png" sizes="194x194"/>
+<link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96"/>
+<link rel="icon" type="image/png" href="/android-chrome-192x192.png" sizes="192x192"/>
+<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"/>
+<link rel="manifest" href="/manifest.json"/>
+<meta name="msapplication-TileColor" content="#222730"/>
+<meta name="msapplication-TileImage" content="/mstile-144x144.png"/>
+<meta name="theme-color" content="#222730"/>
+<!--social-->
+<!-- Twitter-->
+<meta name="twitter:card" content="summary"/>
+<meta name="twitter:creator" content="@AhoyLemon"/>
+<meta name="twitter:site" content="@AhoyLemon"/>
+<meta name="twitter:title" content="#{siteTitle}"/>
+<meta name="twitter:description" content="#{description}"/>
+<meta name="twitter:image" content="#{siteURL}/img/twitter-card.png"/>
+<meta name="twitter:url" content="#{siteURL}"/>
+<!-- OpenGraph-->
+<meta property="og:title" content="#{siteTitle}"/>
+<meta property="og:type" content="website"/>
+<meta property="og:url" content="#{siteURL}"/>
+<meta property="og:image" content="#{siteURL}/img/og-image.png"/>
+<meta property="og:description" content="#{description}"/>
+<meta property="og:email" content="lemon@thefpl.us"/>
View
Binary file not shown.
View
Binary file not shown.
View
Binary file not shown.
Binary file not shown.
View
@@ -5,10 +5,10 @@
<title>damn.dog</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab:100,400,300,700|Roboto:400,300,700,400italic">
- <link rel="stylesheet" href="css/damn.css?v=2017-01-21@13:41:55">
+ <link rel="stylesheet" href="css/damn.css?v=#{lastUpdated}">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <meta name="description" content="A guessing game for wikiHow illustrations.">
- <meta http-equiv="last-modified" content="2017-01-21@13:41:55">
+ <meta name="description" content="#{description}">
+ <meta http-equiv="last-modified" content="#{lastUpdated}">
<!-- favicons-->
<link rel="apple-touch-icon" sizes="57x57" href="/apple-touch-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-touch-icon-60x60.png">
@@ -33,30 +33,30 @@
<meta name="twitter:card" content="summary">
<meta name="twitter:creator" content="@AhoyLemon">
<meta name="twitter:site" content="@AhoyLemon">
- <meta name="twitter:title" content="damn.dog">
- <meta name="twitter:description" content="A guessing game for wikiHow illustrations.">
- <meta name="twitter:image" content="http://damn.dog/img/twitter-card.png">
- <meta name="twitter:url" content="http://damn.dog">
+ <meta name="twitter:title" content="#{siteTitle}">
+ <meta name="twitter:description" content="#{description}">
+ <meta name="twitter:image" content="#{siteURL}/img/twitter-card.png">
+ <meta name="twitter:url" content="#{siteURL}">
<!-- OpenGraph-->
- <meta property="og:title" content="damn.dog">
+ <meta property="og:title" content="#{siteTitle}">
<meta property="og:type" content="website">
- <meta property="og:url" content="http://damn.dog">
- <meta property="og:image" content="http://damn.dog/img/og-image.png">
- <meta property="og:description" content="A guessing game for wikiHow illustrations.">
+ <meta property="og:url" content="#{siteURL}">
+ <meta property="og:image" content="#{siteURL}/img/og-image.png">
+ <meta property="og:description" content="#{description}">
<meta property="og:email" content="lemon@thefpl.us">
</head>
<body>
<header id="ScoreHeader">
<div class="inner score-holder">
- <div class="box score-box"><span class="score label">score</span><span id="ScoreNumber" class="score number">0</span></div>
- <div class="box percent-box"><span class="percent label">correct</span><span id="ScorePercent" class="percent number">0%</span></div>
+ <div class="box score-box"><span class="score label">score</span><span class="score number" id="ScoreNumber">0</span></div>
+ <div class="box percent-box"><span class="percent label">correct</span><span class="percent number" id="ScorePercent">0%</span></div>
<div class="box hamburger-holder">
<button class="hamburger">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 32 32">
- <g id="HamburgerOpen" class="open">
+ <g class="open" id="HamburgerOpen">
<path d="M28.8 6.9H3.2c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5h25.6c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5zM28.8 17.5H3.2c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5h25.6c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5zM28.8 28H3.2c-.8 0-1.5-.7-1.5-1.5S2.4 25 3.2 25h25.6c.8 0 1.5.7 1.5 1.5s-.7 1.5-1.5 1.5z"></path>
</g>
- <g id="HamburgerClose" class="close">
+ <g class="close" id="HamburgerClose">
<path d="M29.7 25.4L18.3 16l11.3-9.5c.6-.5.7-1.5.2-2.1-.5-.6-1.5-.7-2.1-.2L16 14 4.1 4.2c-.6-.5-1.5-.4-2.1.2-.5.7-.4 1.6.2 2.1L13.6 16 2.3 25.5c-.6.5-.7 1.5-.2 2.1.3.4.7.5 1.1.5.3 0 .7-.1 1-.4L16 17.9l11.8 9.8c.3.2.6.3 1 .3s.9-.2 1.2-.5c.5-.6.4-1.6-.3-2.1z"></path>
</g>
</svg>
@@ -77,16 +77,16 @@
</div>
<div class="share-round-holder helper-holder">
<div class="share-round">
- <div class="child"><span>Just copy the URL. The other person will see this round.</span><a id="CloseSharebox" class="button close-sharebox">Alright.</a></div>
+ <div class="child"><span>Just copy the URL. The other person will see this round.</span><a class="button close-sharebox" id="CloseSharebox">Alright.</a></div>
</div>
</div>
- <div id="HomescreenHolder" class="homescreen-help-holder helper-holder">
+ <div class="homescreen-help-holder helper-holder" id="HomescreenHolder">
<div class="homescreen-help">
<div class="tap-that-icon top-right-icon">Tap that <span class="opera">heart </span>icon <span class="arrow">↑</span></div>
<p class="ios">Tap the icon below, then choose <b>Add To Home Screen </b>from the menu that appears.</p>
<p class="android">Then choose<b>Add to Home screen</b> from the menu that appears.</p>
<p class="edge">Then choose <b>Pin this page to start</b> from the menu that appears.</p>
- <p class="desktop-chrome">Then choose <b>More Tools</b> and then <b>Add To Desktop</b></p><a id="CloseHomeScreenHelp" class="button close-homescreen-help">Okay, did it.</a>
+ <p class="desktop-chrome">Then choose <b>More Tools</b> and then <b>Add To Desktop</b></p><a class="button close-homescreen-help" id="CloseHomeScreenHelp">Okay, did it.</a>
<div class="tap-that-icon ios bottom-center-icon"><span class="arrow">↓</span></div>
</div>
</div>
@@ -197,23 +197,23 @@
<section class="image-holder">
<div class="child">
<h1 data-display="guess">What is the title of this wikiHow article?</h1>
- <h1 data-display="wrong" class="nope">Nope.</h1>
- <h1 data-display="correct" class="yup">That's right.</h1><img id="HeroPic">
- <div data-display="guess" class="input-holder">
+ <h1 class="nope" data-display="wrong">Nope.</h1>
+ <h1 class="yup" data-display="correct">That's right.</h1><img id="HeroPic">
+ <div class="input-holder" data-display="guess">
<select id="GuessTitle">
<option></option>
<optgroup label=""></optgroup>
</select>
</div>
- <div data-display="wrong" class="result"><span class="correctis">Correct answer is </span><a id="CorrectTitle" target="_blank" class="correct-title"></a></div>
- <div data-display="correct" class="result"><a id="ActualTitle" target="_blank" class="correct-title"></a></div>
- <div data-display="play again" class="button-holder">
+ <div class="result" data-display="wrong"><span class="correctis">Correct answer is </span><a class="correct-title" id="CorrectTitle" target="_blank"></a></div>
+ <div class="result" data-display="correct"><a class="correct-title" id="ActualTitle" target="_blank"></a></div>
+ <div class="button-holder" data-display="play again">
<button id="PlayAgain">Play Again</button>
</div>
</div>
</section>
</main>
- <section id="GameOver" class="game-over">
+ <section class="game-over" id="GameOver">
<div class="stripes">
<div class="child">
<h2>GAME OVER</h2>
@@ -241,7 +241,7 @@ <h2>GAME OVER</h2>
</div>
</section>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
- <script src="js/min/damn.min.js?v=2017-01-21@13:41:55"></script>
+ <script src="js/min/damn.min.js?v=#{lastUpdated}"></script>
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Oops, something went wrong.

0 comments on commit c9a70b0

Please sign in to comment.