Browse Source

changed urls from xyz to ca

master
Sean Clarke 1 month ago
parent
commit
419e2cb4e7
3 changed files with 8 additions and 8 deletions
  1. +4
    -4
      model/Post.js
  2. +2
    -2
      partials/footer.html
  3. +2
    -2
      partials/header.html

+ 4
- 4
model/Post.js View File

@@ -56,7 +56,7 @@ Post.prototype.build = function(){
// var html = fs.readFileSync(process.cwd() + '/partials/header.html', 'utf8');
// adding back button and home button
html += '<a id="back" title="⬅️ Back" href="#" onclick="back();return false;">⬅️ Back</a>\n';
html += '<a id="home" title="🏡 Home" href="https://snld.xyz">🏡 Home</a>\n';
html += '<a id="home" title="🏡 Home" href="https://snld.ca">🏡 Home</a>\n';
html += convert.makeHtml(this.getPost());
html += fs.readFileSync(process.cwd() + '/partials/footer.html', 'utf8');

@@ -94,17 +94,17 @@ Post.prototype.header = function(){
<meta name="twitter:description" content="` + dets.desc + `">\n`;

if(dets.img) html += '<meta name="twitter:image" content="' + dets.img + '">\n';
else html += '<meta name="twitter:image" content="' + '/img/profile.PNG' + '">\n';
else html += '<meta name="twitter:image" content="' + 'https://snld.ca/img/profile.PNG' + '">\n';

html += `<!-- Favicon -->\n
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">\n
<!-- Stylesheets -->\n
<!-- <link href="/css/main.css" rel="stylesheet"> -->\n
<link href="https://snld.xyz/css/main.css" rel="stylesheet"> <!-- Used for Testing -->\n
<link href="https://snld.ca/css/main.css" rel="stylesheet"> <!-- Used for Testing -->\n
</head>\n
\n
<body>\n
<a href="https://snld.xyz">\n
<a href="https://snld.ca">\n
<div id="header">\n
<img class="profile" src="/img/profile.PNG" />\n
<img class="logo" src="/img/logo.PNG" />\n


+ 2
- 2
partials/footer.html View File

@@ -1,7 +1,7 @@
</div>
<div id="footer">
<p>
Made with <a href="https://git.snld.xyz/Seanland/build-a-blog">build-a-blog</a> | Copyright: <a href="http://seanland.ca">©️ Sean Clarke</a><!-- | Support Me: <a href="https://www.buymeacoffee.com/seanland">Buy me a ☕ or ☕☕</a> -->
Made with <a href="https://git.snld.ca/Seanland/build-a-blog">build-a-blog</a> | Copyright: <a href="http://seanland.ca">©️ Sean Clarke</a><!-- | Support Me: <a href="https://www.buymeacoffee.com/seanland">Buy me a ☕ or ☕☕</a> -->
</p>
<p>
<style>.bmc-button img{width: 27px !important;margin-bottom: 1px !important;box-shadow: none !important;border: none !important;vertical-align: middle !important;}.bmc-button{line-height: 36px !important;height:37px !important;text-decoration: none !important;display:inline-flex !important;color:#ffffff !important;background-color:#000000 !important;border-radius: 3px !important;border: 1px solid transparent !important;padding: 1px 9px !important;font-size: 23px !important;letter-spacing: 0.6px !important;box-shadow: 0px 1px 2px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;margin: 0 auto !important;font-family:'Cookie', cursive !important;-webkit-box-sizing: border-box !important;box-sizing: border-box !important;-o-transition: 0.3s all linear !important;-webkit-transition: 0.3s all linear !important;-moz-transition: 0.3s all linear !important;-ms-transition: 0.3s all linear !important;transition: 0.3s all linear !important;}.bmc-button:hover, .bmc-button:active, .bmc-button:focus {-webkit-box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;text-decoration: none !important;box-shadow: 0px 1px 2px 2px rgba(190, 190, 190, 0.5) !important;opacity: 0.85 !important;color:#ffffff !important;}</style><link href="https://fonts.googleapis.com/css?family=Cookie" rel="stylesheet"><a class="bmc-button" target="_blank" href="https://www.buymeacoffee.com/seanland"><img src="https://www.buymeacoffee.com/assets/img/BMC-btn-logo.svg" alt="Buy me a coffee"><span style="margin-left:5px">Buy me a coffee</span></a>
@@ -11,5 +11,5 @@

<!-- Javascript Declaration -->
<!-- <script src="/js/main.js"></script> -->
<script src="https://snld.xyz/js/main.js"></script> <!-- Used for testing -->
<script src="https://snld.ca/js/main.js"></script> <!-- Used for testing -->
</html>

+ 2
- 2
partials/header.html View File

@@ -10,11 +10,11 @@
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<!-- Stylesheets -->
<!-- <link href="/css/main.css" rel="stylesheet"> -->
<link href="https://snld.xyz/css/main.css" rel="stylesheet"> <!-- Used for Testing -->
<link href="https://snld.ca/css/main.css" rel="stylesheet"> <!-- Used for Testing -->
</head>

<body>
<a href="https://snld.xyz">
<a href="https://snld.ca">
<div id="header">
<img class="profile" src="/img/profile.PNG" />
<img class="logo" src="/img/logo.PNG" />


Loading…
Cancel
Save