Commit e808c509 authored by Joe Wegner's avatar Joe Wegner

Trying to open all external links in new tabs

parent 1174267c
baseURL = "https://jwegner.io/"
languageCode = "en-us"
title = "jwegner.io"
canonifyURLs = true
#canonifyURLs = true
SectionPagesMenu = "main"
enableGitInfo = true
enableRobotsTXT = true
hrefTargetBlank = true
noreferrerLinks = true
[author]
name = "Joe Wegner"
......
......@@ -2,7 +2,7 @@
title: "RHEL VMware Deployment"
description: "Details of PowerCLI script to deploy RHEL 7 VMs in VMware"
date: 2018-08-20T22:38:34-05:00
draft: true
draft: false
aliases:
- "/posts/rhel-vmware-deployment/"
categories:
......@@ -27,6 +27,7 @@ Starting out, I had a few goals in mind:
The following code is available in [my git repo](https://github.com/jwegner89/scripts/blob/a871868e5d7b2934273c240ff85e980486b171ef/powershell/Deploy-LinuxVM.ps1 "Git repo for the following code").
Note that this is the commit that I was working off of while writing, so it may be that there are further updates if you are reading this a substantial amount of time later.
At some point I will hopefully update this with a step-by-step walkthrough, but here is the first draft.
```powershell
#Requires -Version 5 -Modules VMware.PowerCLI
......
......@@ -47,7 +47,7 @@
<nav class="level">
<div class="level-left has-text-centered">
<div class="level-item">
<small>&copy; 2018 Joe Wegner. Theme adapted from <a title="Hugo Capsule Theme" href="https://github.com/sudorook/capsule" target="_blank" rel="noopener noreferrer">capsule</a> with styling from <a title="Font Awesom" href="https://fontawesome.com/" target="_blank" rel="noopener noreferrer">Font Awesome</a> and <a title="Bulma CSS Library" href="https://bulma.io/" target="_blank" rel="noopener noreferrer">Bulma</a>.</small>
<small>&copy; 2018 Joe Wegner. Theme adapted from <a title="Hugo Capsule Theme" href="https://github.com/sudorook/capsule" target="_blank" rel="noopener noreferrer">capsule</a> with styling from <a title="Font Awesome" href="https://fontawesome.com/" target="_blank" rel="noopener noreferrer">Font Awesome</a> and <a title="Bulma CSS Library" href="https://bulma.io/" target="_blank" rel="noopener noreferrer">Bulma</a>.</small>
</div>
</div>
</nav>
......
// © 2018 Bradley Gauthier, Quantum Pipes, LLC <https://www.sitecast.com/blog/open-markdown-links-in-new-tab/>
// force Markdown links to open in a new tab
(function() {
var links = document.links;
for (var i = 0, linksLength = links.length; i < linksLength; i++) {
if (links[i].hostname != window.location.hostname) {
links[i].target = "_blank";
links[i].setAttribute("rel", "noopener noreferrer");
links[i].className += " externalLink";
} else {
links[i].className += " localLink";
}
}
})();
// © 2018 Bradley Gauthier, Quantum Pipes, LLC <https://www.sitecast.com/blog/open-markdown-links-in-new-tab/>
(function(){var links=document.links;for(var i=0,linksLength=links.length;i<linksLength;i+=1){if(links[i].hostname!=window.location.hostname){links[i].target="_blank";links[i].setAttribute("rel","noopener noreferrer");links[i].className+=" externalLink"}else{links[i].className+=" localLink"}}})();
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