Skip to content
Permalink
Browse files

Add wayback shortcode

  • Loading branch information
jasikpark committed Mar 4, 2020
1 parent 6825a97 commit c84ab18b4aec11237a3a1abb20bc8a9bcbcb6a2c
Showing with 102 additions and 2 deletions.
  1. +2 −2 content/day-on-the-trails/index.md
  2. +12 −0 layouts/_default/baseof.html
  3. +88 −0 layouts/shortcodes/wayback.html
@@ -8,7 +8,7 @@ PublishDate = "2020-01-15T20:13:21-06:00"
Title = "A Day on the Trails"
+++

We went and visited the [Balcones Canyonlands](https://www.fws.gov/refuge/balcones_canyonlands/) located at [+30° 30' 27.03", -98° 1' 30.19"](https://duckduckgo.com/?q=%2B30%C2%B0+30%27+27.03%22%2C+-98%C2%B0+1%27+30.19%22&t=ffab&ia=web&iaxm=maps&strict_bbox=0&bbox=30.573871674243332%2C-98.07886115080203%2C30.466956326396026%2C-97.90033331877078) while visiting our cousins! This first pic is my brother looking out at the canyon. You can see the Colorado River in the distance, in addition to the reserve entrance.
We went and visited the [Balcones Canyonlands](https://www.fws.gov/refuge/balcones_canyonlands/){{< wayback href="https://www.fws.gov/refuge/balcones_canyonlands/">}} located at [+30° 30' 27.03", -98° 1' 30.19"](https://duckduckgo.com/?q=%2B30%C2%B0+30%27+27.03%22%2C+-98%C2%B0+1%27+30.19%22&t=ffab&ia=web&iaxm=maps&strict_bbox=0&bbox=30.573871674243332%2C-98.07886115080203%2C30.466956326396026%2C-97.90033331877078){{< wayback href="https://duckduckgo.com/?q=%2B30%C2%B0+30%27+27.03%22%2C+-98%C2%B0+1%27+30.19%22&t=ffab&ia=web&iaxm=maps&strict_bbox=0&bbox=30.573871674243332%2C-98.07886115080203%2C30.466956326396026%2C-97.90033331877078" >}} while visiting our cousins! This first pic is my brother looking out at the canyon. You can see the Colorado River in the distance, in addition to the reserve entrance.

{{< img src="IMG_4053" alt="cool people enjoying nature" title="cool people enjoying nature" >}}

@@ -24,4 +24,4 @@ Selfie :p

We took a route around the edge of the mesa once we got to the top, and then cut across the middle, which rose just a bit to let us see for miles around.

{{< img src="IMG_4055" alt="my brother staring into the void, with a gravel path going off into the distance" title="i'm on top of the world EH" >}}
{{< img src="IMG_4055" alt="my brother staring into the void, with a gravel path going off into the distance" title="i'm on top of the world EH" >}}
@@ -82,6 +82,18 @@
h1 span {
color: var(--text-bright);
}

.wayback {
text-decoration: none;
}

.wayback svg {
fill: var(--links);
}

.wayback:hover {
background: var(--focus);
}
</style>
<!--<meta name="description" content="{{ .Description }}">-->
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
@@ -0,0 +1,88 @@
<a class="wayback" href="{{ (printf "https://web.archive.org/web/*/%s" (.Get "href")) }}">
<svg alt="Wayback Machine Link" title="Wayback Machine Link" version="1.1" xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="1rem" height="1rem"
viewBox="0 0 599.998 583.111" enable-background="new 0 0 599.998 583.111" xml:space="preserve">
<g id="A">
<g>
<path
d="M146.564,60.034l-6.583-18.256h-22.381l-6.583,18.256h-5.441L123.042,12.2c0.351-0.878,1.492-4.389,1.492-5.178
c0-3.687-4.038-3.687-6.758-4.125V0.965h16.5l21.416,59.068H146.564z M128.483,12.024l-9.391,25.629h19.397L128.483,12.024z" />
<path
d="M221.758,60.034l-15.535-27.296h-5.441v27.296h-9.655V12.901c0-8.426,0-8.776-8.338-10.005V0.965h22.557
c10.62,0,23.785,2.282,23.785,15.71c0,8.865-5.09,13.166-13.429,14.482l16.15,28.876H221.758z M206.662,5.09
c-6.319,0-5.88,2.37-5.88,7.899v15.623h5.002c7.636,0,13.692-2.809,13.692-11.41C219.476,8.513,215,5.09,206.662,5.09z" />
<path d="M287.723,60.911c-20.187,0-25.892-13.077-25.892-31.246c0-16.939,5.617-28.964,24.488-28.964
c5.968,0,11.936,0.79,17.554,2.633l0.526,14.658h-2.545c-0.176-1.843-0.878-3.774-1.843-5.354
c-2.722-4.74-7.286-7.724-12.815-7.724c-13.253,0-15.008,14.57-15.008,24.751c0,10.883,3.335,26.331,17.027,26.331
c5.793,0,10.621-1.141,15.36-4.477v6.056C299.045,60.034,293.778,60.911,287.723,60.911z" />
<path d="M376.778,60.034V31.333h-23.872v28.701h-9.655V12.551c0-7.636-1.404-7.812-8.776-8.601V2.019L352.906,0v27.208h23.872
V0.965h9.655v59.068H376.778z" />
<path d="M420.354,60.034v-2.194c6.583,0,7.461-1.755,7.461-8.163v-37.74c0-6.407-0.878-8.163-7.461-8.163V1.58h24.575v2.194
c-6.582,0-7.46,1.843-7.46,8.163v37.74c0,6.32,0.878,8.163,7.46,8.163v2.194H420.354z" />
<path d="M509.035,60.034h-7.636L484.196,12.2c-2.633-7.373-3.071-7.899-10.619-9.304V0.965h17.026l17.203,48.097h0.175
l16.765-48.097h5.705L509.035,60.034z" />
<path d="M599.734,60.034h-35.02V12.901c0-8.426-0.088-8.688-8.339-10.005V0.965h42.042l0.264,12.99h-2.458
c0-6.583-3.247-8.865-9.479-8.865h-6.847c-4.037,0-5.529,0.088-5.529,4.564V27.12h10.62c5.003,0,6.407-2.282,7.197-6.758h2.457
v18.432h-2.457c0-4.916-2.106-7.548-7.197-7.548h-10.62v19.572c0,4.828,1.054,5.091,5.529,5.091h9.743
c5.968,0,7.46-2.984,7.898-8.602h2.458L599.734,60.034z" />
</g>
<rect x="139.201" y="558.561" width="423.263" height="21.705" />
<rect x="155.897" y="516.818" width="390.704" height="30.055" />
<rect x="153.393" y="174.535" width="388.617" height="41.742" />
<polygon
points="347.701,101.486 144.21,149.072 155.897,162.012 347.701,162.012 539.506,162.012 551.193,149.072 " />
<g>
<path d="M59.068,583.111h-2.194c0-6.582-1.755-7.46-8.163-7.46H10.971c-6.407,0-8.162,0.878-8.162,7.46H0.614v-24.575h2.194
c0,6.583,1.843,7.461,8.162,7.461h37.741c6.319,0,8.163-0.878,8.163-7.461h2.194V583.111z" />
<path d="M59.068,486.655L9.127,515.619v0.176h49.941v5.529H11.234c-8.25,0-7.899,1.316-9.304,8.776H0v-18.519l47.746-27.648
v-0.175H0v-5.529h59.068V486.655z" />
<path d="M12.989,399.853c-6.846,0-8.864,2.984-8.864,9.567v5.968h54.943v9.655H4.125v6.056c0,6.67,1.931,8.952,8.601,9.479v2.458
L0,442.685v-44.938l12.989-0.351V399.853z" />
<path d="M59.068,327.093v35.021H11.936c-8.426,0-8.688,0.087-10.005,8.338H0v-42.042l12.989-0.263v2.457
c-6.583,0-8.864,3.248-8.864,9.479v6.846c0,4.037,0.088,5.529,4.564,5.529h17.466v-10.62c0-5.002-2.282-6.406-6.758-7.197v-2.457
h18.432v2.457c-4.915,0-7.548,2.106-7.548,7.197v10.62h19.572c4.828,0,5.091-1.053,5.091-5.529v-9.742
c0-5.969-2.984-7.46-8.602-7.899v-2.457L59.068,327.093z" />
<path
d="M59.068,256.44l-27.296,15.535v5.442h27.296v9.654H11.936c-8.426,0-8.776,0-10.005,8.338H0v-22.556
c0-10.62,2.282-23.786,15.71-23.786c8.864,0,13.166,5.091,14.481,13.429l28.876-16.149V256.44z M4.125,271.536
c0,6.32,2.37,5.881,7.899,5.881h15.623v-5.003c0-7.636-2.809-13.692-11.41-13.692C7.548,258.722,4.125,263.198,4.125,271.536z" />
<path d="M59.068,173.938L9.127,202.902v0.176h49.941v5.529H11.234c-8.25,0-7.899,1.316-9.304,8.777H0v-18.519l47.746-27.647
v-0.175H0v-5.53h59.068V173.938z" />
<path d="M59.068,87.662v35.021H11.936c-8.426,0-8.688,0.087-10.005,8.337H0V88.979l12.989-0.263v2.458
c-6.583,0-8.864,3.247-8.864,9.479v6.846c0,4.037,0.088,5.529,4.564,5.529h17.466v-10.62c0-5.003-2.282-6.407-6.758-7.197v-2.458
h18.432v2.458c-4.915,0-7.548,2.106-7.548,7.197v10.62h19.572c4.828,0,5.091-1.053,5.091-5.529v-9.743
c0-5.968-2.984-7.46-8.602-7.899v-2.458L59.068,87.662z" />
<path d="M12.989,12.182c-6.846,0-8.864,2.984-8.864,9.567v5.969h54.943v9.654H4.125v6.056c0,6.671,1.931,8.953,8.601,9.479v2.458
L0,55.013V10.075l12.989-0.351V12.182z" />
</g>
<path d="M209.446,348.42c-0.335-20.5-0.866-41.001-1.669-61.487c-0.756-19.302-2-38.585-2.939-57.881
c-0.081-1.666-0.787-2.026-2.169-2.328c-5.693-1.241-11.416-1.824-17.163-1.833c-5.747,0.009-11.47,0.592-17.163,1.833
c-1.382,0.301-2.088,0.662-2.169,2.328c-0.939,19.296-2.183,38.579-2.939,57.881c-0.803,20.486-1.335,40.987-1.669,61.487
c-0.237,14.528-0.09,29.067,0.14,43.599c0.254,16.121,0.612,32.246,1.265,48.355c0.7,17.288,1.782,34.562,2.731,51.839
c0.182,3.311,0.521,6.613,0.78,9.831c6.379,1.66,12.704,2.619,19.025,2.698c6.321-0.079,12.645-1.038,19.025-2.698
c0.259-3.218,0.597-6.521,0.779-9.831c0.949-17.277,2.031-34.551,2.731-51.839c0.653-16.109,1.011-32.234,1.265-48.355
C209.536,377.487,209.684,362.948,209.446,348.42z" />
<path d="M315.257,348.42c-0.335-20.5-0.867-41.001-1.67-61.487c-0.757-19.302-2.001-38.585-2.939-57.881
c-0.081-1.666-0.786-2.026-2.169-2.328c-5.692-1.241-11.416-1.824-17.162-1.833c-5.747,0.009-11.47,0.592-17.163,1.833
c-1.382,0.301-2.088,0.662-2.169,2.328c-0.938,19.296-2.183,38.579-2.939,57.881c-0.803,20.486-1.335,40.987-1.669,61.487
c-0.237,14.528-0.09,29.067,0.139,43.599c0.255,16.121,0.612,32.246,1.265,48.355c0.701,17.288,1.782,34.562,2.731,51.839
c0.182,3.311,0.521,6.613,0.779,9.831c6.38,1.66,12.705,2.619,19.025,2.698c6.321-0.079,12.645-1.038,19.025-2.698
c0.258-3.218,0.597-6.521,0.779-9.831c0.948-17.277,2.03-34.551,2.73-51.839c0.653-16.109,1.011-32.234,1.266-48.355
C315.347,377.487,315.494,362.948,315.257,348.42z" />
<path d="M437.972,348.42c-0.335-20.5-0.866-41.001-1.67-61.487c-0.756-19.302-2-38.585-2.938-57.881
c-0.082-1.666-0.787-2.026-2.17-2.328c-5.692-1.241-11.415-1.824-17.162-1.833c-5.747,0.009-11.47,0.592-17.163,1.833
c-1.382,0.301-2.088,0.662-2.169,2.328c-0.938,19.296-2.183,38.579-2.938,57.881c-0.804,20.486-1.335,40.987-1.67,61.487
c-0.237,14.528-0.09,29.067,0.14,43.599c0.255,16.121,0.612,32.246,1.265,48.355c0.701,17.288,1.782,34.562,2.731,51.839
c0.183,3.311,0.521,6.613,0.779,9.831c6.38,1.66,12.704,2.619,19.025,2.698c6.321-0.079,12.645-1.038,19.025-2.698
c0.258-3.218,0.597-6.521,0.779-9.831c0.949-17.277,2.03-34.551,2.731-51.839c0.652-16.109,1.01-32.234,1.265-48.355
C438.062,377.487,438.209,362.948,437.972,348.42z" />
<path d="M541.277,348.42c-0.335-20.5-0.866-41.001-1.669-61.487c-0.757-19.302-2.001-38.585-2.939-57.881
c-0.082-1.666-0.787-2.026-2.17-2.328c-5.691-1.241-11.415-1.824-17.162-1.833c-5.746,0.009-11.47,0.592-17.162,1.833
c-1.383,0.301-2.088,0.662-2.169,2.328c-0.939,19.296-2.184,38.579-2.939,57.881c-0.803,20.486-1.335,40.987-1.67,61.487
c-0.237,14.528-0.09,29.067,0.14,43.599c0.255,16.121,0.612,32.246,1.266,48.355c0.7,17.288,1.782,34.562,2.73,51.839
c0.183,3.311,0.521,6.613,0.779,9.831c6.381,1.66,12.705,2.619,19.025,2.698c6.321-0.079,12.646-1.038,19.025-2.698
c0.259-3.218,0.597-6.521,0.779-9.831c0.949-17.277,2.031-34.551,2.731-51.839c0.653-16.109,1.01-32.234,1.265-48.355
C541.367,377.487,541.515,362.948,541.277,348.42z" />
</g>
</svg>
</a>

0 comments on commit c84ab18

Please sign in to comment.
You can’t perform that action at this time.