Commit ec01e29a authored by John's avatar John

Site updated: 2018-04-27 17:30:30

parent 1659e802
...@@ -87,26 +87,6 @@ ...@@ -87,26 +87,6 @@
<h2>2018</h2> <h2>2018</h2>
<li class="post-item">
<div class="meta">
<time datetime="2018-04-30T17:40:00.000Z" itemprop="datePublished">2018-04-30</time>
</div>
<span>
<a class="" href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a>
</span>
</li>
<li class="post-item"> <li class="post-item">
<div class="meta"> <div class="meta">
......
...@@ -87,26 +87,6 @@ ...@@ -87,26 +87,6 @@
<h2>2018</h2> <h2>2018</h2>
<li class="post-item">
<div class="meta">
<time datetime="2018-04-30T17:40:00.000Z" itemprop="datePublished">2018-04-30</time>
</div>
<span>
<a class="" href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a>
</span>
</li>
<li class="post-item"> <li class="post-item">
<div class="meta"> <div class="meta">
......
...@@ -87,26 +87,6 @@ ...@@ -87,26 +87,6 @@
<h2>2018</h2> <h2>2018</h2>
<li class="post-item">
<div class="meta">
<time datetime="2018-04-30T17:40:00.000Z" itemprop="datePublished">2018-04-30</time>
</div>
<span>
<a class="" href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a>
</span>
</li>
<li class="post-item"> <li class="post-item">
<div class="meta"> <div class="meta">
......
<!DOCTYPE html>
<html>
<head>
<!-- so meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta property="og:type" content="website">
<meta property="og:title" content="TheBestJohn">
<meta property="og:url" content="http://blog.thebestjohn.com/categories/Web-Dev/Gitlab/Automation/index.html">
<meta property="og:site_name" content="TheBestJohn">
<meta property="og:locale" content="default">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="TheBestJohn">
<link rel="shortcut icon" href="/images/favicon.ico">
<link rel="icon" type="image/png" href="/images/favicon-192x192.png" sizes="192x192">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<!-- title -->
<title>TheBestJohn</title>
<!-- styles -->
<link rel="stylesheet" href="/css/style.css">
<!-- persian styles -->
<link rel="stylesheet" href="/css/rtl.css">
<!-- rss -->
</head>
<body class="max-width mx-auto px3 ltr">
<div class="content index my4">
<header id="header">
<a href="/">
<div id="logo" style="background-image: url(/images/logo.png);"></div>
<div id="title">
<h1>TheBestJohn</h1>
</div>
</a>
<div id="nav">
<ul>
<li class="icon">
<a href="#"><i class="fas fa-bars fa-2x"></i></a>
</li>
<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/archives/">Writing</a></li>
</ul>
</div>
</header>
<div id="archive">
<ul class="post-list">
<h2>2018</h2>
<li class="post-item">
<div class="meta">
<time datetime="2018-04-30T17:40:00.000Z" itemprop="datePublished">2018-04-30</time>
</div>
<span>
<a class="" href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a>
</span>
</li>
</ul>
</div>
</div>
<footer id="footer">
<div class="footer-left">
Copyright &copy; 2018 TheBestJohn
</div>
<div class="footer-right">
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/archives/">Writing</a></li>
</ul>
</nav>
</div>
</footer>
</body>
</html>
<!-- styles -->
<link rel="stylesheet" href="/lib/font-awesome/css/fontawesome-all.min.css">
<link rel="stylesheet" href="/lib/justified-gallery/css/justifiedGallery.min.css">
<!-- jquery -->
<script src="/lib/jquery/jquery.min.js"></script>
<script src="/lib/justified-gallery/js/jquery.justifiedGallery.min.js"></script>
<script src="/js/main.js"></script>
<!-- search -->
<!-- Google Analytics -->
<!-- Baidu Analytics -->
<!-- Disqus Comments -->
<script type="text/javascript">
var disqus_shortname = 'thebestjohn';
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>
<!DOCTYPE html>
<html>
<head>
<!-- so meta -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="HandheldFriendly" content="True">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta property="og:type" content="website">
<meta property="og:title" content="TheBestJohn">
<meta property="og:url" content="http://blog.thebestjohn.com/categories/Web-Dev/Gitlab/index.html">
<meta property="og:site_name" content="TheBestJohn">
<meta property="og:locale" content="default">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="TheBestJohn">
<link rel="shortcut icon" href="/images/favicon.ico">
<link rel="icon" type="image/png" href="/images/favicon-192x192.png" sizes="192x192">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<!-- title -->
<title>TheBestJohn</title>
<!-- styles -->
<link rel="stylesheet" href="/css/style.css">
<!-- persian styles -->
<link rel="stylesheet" href="/css/rtl.css">
<!-- rss -->
</head>
<body class="max-width mx-auto px3 ltr">
<div class="content index my4">
<header id="header">
<a href="/">
<div id="logo" style="background-image: url(/images/logo.png);"></div>
<div id="title">
<h1>TheBestJohn</h1>
</div>
</a>
<div id="nav">
<ul>
<li class="icon">
<a href="#"><i class="fas fa-bars fa-2x"></i></a>
</li>
<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/archives/">Writing</a></li>
</ul>
</div>
</header>
<div id="archive">
<ul class="post-list">
<h2>2018</h2>
<li class="post-item">
<div class="meta">
<time datetime="2018-04-30T17:40:00.000Z" itemprop="datePublished">2018-04-30</time>
</div>
<span>
<a class="" href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a>
</span>
</li>
</ul>
</div>
</div>
<footer id="footer">
<div class="footer-left">
Copyright &copy; 2018 TheBestJohn
</div>
<div class="footer-right">
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/about/">About</a></li>
<li><a href="/archives/">Writing</a></li>
</ul>
</nav>
</div>
</footer>
</body>
</html>
<!-- styles -->
<link rel="stylesheet" href="/lib/font-awesome/css/fontawesome-all.min.css">
<link rel="stylesheet" href="/lib/justified-gallery/css/justifiedGallery.min.css">
<!-- jquery -->
<script src="/lib/jquery/jquery.min.js"></script>
<script src="/lib/justified-gallery/js/jquery.justifiedGallery.min.js"></script>
<script src="/js/main.js"></script>
<!-- search -->
<!-- Google Analytics -->
<!-- Baidu Analytics -->
<!-- Disqus Comments -->
<script type="text/javascript">
var disqus_shortname = 'thebestjohn';
(function(){
var dsq = document.createElement('script');
dsq.type = 'text/javascript';
dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
}());
</script>
...@@ -87,26 +87,6 @@ ...@@ -87,26 +87,6 @@
<h2>2018</h2> <h2>2018</h2>
<li class="post-item">
<div class="meta">
<time datetime="2018-04-30T17:40:00.000Z" itemprop="datePublished">2018-04-30</time>
</div>
<span>
<a class="" href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a>
</span>
</li>
<li class="post-item"> <li class="post-item">
<div class="meta"> <div class="meta">
......
...@@ -111,22 +111,6 @@ ...@@ -111,22 +111,6 @@
<li class="post-item">
<div class="meta">
<time datetime="2018-04-30T17:40:00.000Z" itemprop="datePublished">2018-04-30</time>
</div>
<span>
<a class="" href="/posts/setting-up-hexo-auto-deploy-from-gitlab/">Setting up Hexo Auto-deploy from Gitlab</a>
</span>
</li>
<li class="post-item"> <li class="post-item">
<div class="meta"> <div class="meta">
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<meta property="og:site_name" content="TheBestJohn"> <meta property="og:site_name" content="TheBestJohn">
<meta property="og:description" content="Recently I’ve become disillusioned with most CMS options. They’re a pain to keep updated, plugins are constantly being abandoned, and they’re so prevalent in sites that they make a very attractive tar"> <meta property="og:description" content="Recently I’ve become disillusioned with most CMS options. They’re a pain to keep updated, plugins are constantly being abandoned, and they’re so prevalent in sites that they make a very attractive tar">
<meta property="og:locale" content="default"> <meta property="og:locale" content="default">
<meta property="og:updated_time" content="2018-04-27T15:31:39.635Z"> <meta property="og:updated_time" content="2018-04-27T16:49:33.983Z">
<meta name="twitter:card" content="summary"> <meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Static Site what?!"> <meta name="twitter:title" content="Static Site what?!">
<meta name="twitter:description" content="Recently I’ve become disillusioned with most CMS options. They’re a pain to keep updated, plugins are constantly being abandoned, and they’re so prevalent in sites that they make a very attractive tar"> <meta name="twitter:description" content="Recently I’ve become disillusioned with most CMS options. They’re a pain to keep updated, plugins are constantly being abandoned, and they’re so prevalent in sites that they make a very attractive tar">
...@@ -70,8 +70,6 @@ ...@@ -70,8 +70,6 @@
<span id="actions"> <span id="actions">
<ul> <ul>
<li><a class="icon" href="/posts/setting-up-hexo-auto-deploy-from-gitlab/"><i class="fas fa-chevron-left" aria-hidden="true" onmouseover="$('#i-prev').toggle();" onmouseout="$('#i-prev').toggle();"></i></a></li>
<li><a class="icon" href="/posts/hello-world/"><i class="fas fa-chevron-right" aria-hidden="true" onmouseover="$('#i-next').toggle();" onmouseout="$('#i-next').toggle();"></i></a></li> <li><a class="icon" href="/posts/hello-world/"><i class="fas fa-chevron-right" aria-hidden="true" onmouseover="$('#i-next').toggle();" onmouseout="$('#i-next').toggle();"></i></a></li>
...@@ -140,7 +138,7 @@ ...@@ -140,7 +138,7 @@
<h3 id="Enter-Hexo"><a href="#Enter-Hexo" class="headerlink" title="Enter, Hexo"></a>Enter, <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a></h3><p>Hexo is a neat little package. </p> <h3 id="Enter-Hexo"><a href="#Enter-Hexo" class="headerlink" title="Enter, Hexo"></a>Enter, <a href="https://hexo.io/" target="_blank" rel="noopener">Hexo</a></h3><p>Hexo is a neat little package. </p>
<p>Originally I thought I would install it, set up an apache virtual reverse proxy via an <code>.htaccess</code> file and let node serve static files. Some people do this. It’s a valid way to serve a site. The problem that I have with this, is that it’s just another vulnerable layer of code that I don’t have the inclination to audit. It could potentially have glaring security holes and I wouldn’t know. Again, I want to clarify that I don’t know much of anything about security. I’m not a cryptographer, nor an expert on cyber security. However, I can easily read the html that comes out the other end of the site generator and verify that there are no well-known issues with the javascript or html.</p> <p>Originally I thought I would install it, set up an apache virtual reverse proxy via an <code>.htaccess</code> file and let node serve static files. Some people do this. It’s a valid way to serve a site. The problem that I have with this, is that it’s just another vulnerable layer of code that I don’t have the inclination to audit. It could potentially have glaring security holes and I wouldn’t know. Again, I want to clarify that I don’t know much of anything about security. I’m not a cryptographer, nor an expert on cyber security. However, I can easily read the html that comes out the other end of the site generator and verify that there are no well-known issues with the javascript or html.</p>
<p>So what to do? Well, the output is a fully static html/css/js site. No need for node, no need for a reverse proxy. This will just work when popped into a public directory of a webserver.</p> <p>So what to do? Well, the output is a fully static html/css/js site. No need for node, no need for a reverse proxy. This will just work when popped into a public directory of a webserver.</p>
<a href="/posts/setting-up-hexo-auto-deploy-from-gitlab/" title="getting that set up">getting that set up</a>
</div> </div>
</article> </article>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment