Verified Commit fa1cd551 authored by Jake Jarvis's avatar Jake Jarvis 馃惣

better shortcodes for tweets and videos

parent d80286a6
---
title: "Does Cloudflare's 1.1.1.1 DNS Block Archive.is?"
date: 2019-05-06 09:35:12-0400
date: 2019-05-04 09:35:12-0400
description: "Short answer: no. Quite the opposite, actually -- Archive.is is intentionally blocking 1.1.1.1 users. Here's why."
tags:
- Cloudflare
......
<video class="embed" width="{{ if .Get "width" }}{{ .Get "width" }}{{ else }}640{{ end }}" height="{{ if .Get "height" }}{{ .Get "height" }}{{ else }}385{{ end }}" {{ if .Get "poster" }}poster="{{ .Get "poster" }}" {{ end }}controls>
{{ if .Get "webm" }}<source src="{{ .Get "webm" }}" type="video/webm">{{ end }}
{{ if .Get "mp4" }}<source src="{{ .Get "mp4" }}" type="video/mp4">{{ end }}
{{ if .Get "ogg" }}<source src="{{ .Get "ogg" }}" type="video/ogg">{{ end }}
Your browser does not support HTML5 video. <a href="{{ .Get "mp4" }}">Load the video directly.</a>
</video>
\ No newline at end of file
......@@ -720,6 +720,11 @@ body#notes main#single article div#content hr {
border: 1px solid #ccc;
}
body#notes main#single article div#content video.embed {
display: block;
margin: 0 auto;
}
body#notes main#single article div#content div.embed.video-player {
position: relative;
padding-bottom: 56.25%;
......@@ -738,6 +743,11 @@ body#notes main#single article div#content div.embed.video-player iframe.youtube
display: inline-block;
}
body#notes main#single article div#content twitter-widget {
margin: 0 auto;
display: block;
}
body#notes main#single article div#commento {
border-top: 1px solid #ccc;
padding-top: 20px;
......
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