Browse Source

Add full urls to fix a video in the Atom feed

master
Jens Pitkänen 4 months ago
parent
commit
d92a07e73e
3 changed files with 8 additions and 11 deletions
  1. +0
    -4
      NOTES.md
  2. +1
    -2
      public/2020/04/03/fps-movement.csv
  3. +7
    -5
      public/2020/04/03/fps-movement.md

+ 0
- 4
NOTES.md View File

@@ -3,7 +3,3 @@ everything works:
- The templating system first pastes the post inside the template/*
file, then copies over fields from the post's csv.
- The csv's lines 1-6 are in use by the template/* files.
- The csv's line 7 is in use as a "root path" variable for posts that
need to refer to resources in their folders, while avoiding relative
links. Eg. `/2020/03/23/`, used in the context
`href="{{7}}sample.mp4"`.

+ 1
- 2
public/2020/04/03/fps-movement.csv View File

@@ -3,6 +3,5 @@ Quake studies
tag:blog.neon.moe,2020-04-03:/2020/04/03/fps-movement
2020-04-03
2020-04-03T07:29:00+03:00
2020-04-03T07:29:00+03:00
2020-04-03T07:51:00+03:00
Or: I like Quake's movement, let's figure out how it works.
/2020/04/03/

+ 7
- 5
public/2020/04/03/fps-movement.md View File

@@ -24,12 +24,14 @@ the gun in the middle: it actually accentuates the lean by staying
upright.

<video width="400pt" controls loop preload="auto">
<source src="{{7}}sample.webm" type="video/webm">
<source src="{{7}}sample.mp4" type="video/mp4">
<source src="https://blog.neon.moe/2020/04/03/sample.webm" type="video/webm">
<source src="sample.webm" type="video/webm">
<source src="https://blog.neon.moe/2020/04/03/sample.mp4" type="video/mp4">
<source src="sample.mp4" type="video/mp4">
<p>
You can download the demonstration video here:
<a href="{{7}}sample.webm">WebM</a>,
<a href="{{7}}sample.mp4">MP4</a>.
You can download a demonstration video here:
<a href="https://blog.neon.moe/2020/04/03/sample.webm">WebM</a>,
<a href="https://blog.neon.moe/2020/04/03/sample.mp4">MP4</a>.
</p>
</video>



Loading…
Cancel
Save