aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-16 14:19:41 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-03-16 14:19:41 +0900
commit602652b13cb1d2a737d094558fbef4cb8e2a1110 (patch)
tree84fade966d187f267e1633c31b923697bb768bfa
parent058269e94ead1c6b567fb18f8809ade12f4f92cc (diff)
downloadsite-602652b13cb1d2a737d094558fbef4cb8e2a1110.tar.gz
Proofread and update metadata
-rw-r--r--_layout/footer.html2
-rw-r--r--_layout/hair.html2
-rw-r--r--_layout/head.html6
-rw-r--r--_libs/fead/sources1
-rw-r--r--blog/gifrip.md6
5 files changed, 10 insertions, 7 deletions
diff --git a/_layout/footer.html b/_layout/footer.html
index c8c3838..5ba0bd1 100644
--- a/_layout/footer.html
+++ b/_layout/footer.html
@@ -4,7 +4,7 @@
terms</a></span><br>
{{isnotpage /tag/*}}Last modified: {{author_date}}; <span class=nowrap>View
- <a href=https://trong.loang.net/~cnx/site/tree/file/{{fd_rpath}}>page
+ <a href=https://trong.loang.net/~cnx/site/tree/{{fd_rpath}}>page
source</a></span><br>{{end}}
Part of <a href=https://fediring.net>Fediring</a>; <span class=nowrap>Visit
diff --git a/_layout/hair.html b/_layout/hair.html
index dc79374..ffebb85 100644
--- a/_layout/hair.html
+++ b/_layout/hair.html
@@ -2,8 +2,6 @@
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content='width=device-width, initial-scale=1'>
-{{isnotempty rss}}<meta name=description content='{{rss_description}}'>{{end}}
-
<link rel='alternate' type='application/rss+xml' title='{{website_title}}'
href='/{{ispage /tag/*}}tag/{{fd_tag}}/{{end}}{{rss_file}}.xml'>
<link rel='icon' href='/assets/favicon.png'>
diff --git a/_layout/head.html b/_layout/head.html
index d6b043e..70779f7 100644
--- a/_layout/head.html
+++ b/_layout/head.html
@@ -1,4 +1,10 @@
{{insert hair.html}}
+{{isnotempty rss}}<meta name=description content='{{rss_description}}'>{{end}}
+{{isdef title}}<meta property=og:title content='{{title}}'>{{end}}
+<meta property=og:site_name content={{website_title}}>
+<meta property=og:type content=article>
+<meta property=og:url content={{fd_full_url}}>
+<meta property=og:image content={{website_url}}/assets/favicon.png>
{{if hasmath}}<link rel=stylesheet href=/css/katex.min.css>{{end}}
{{isdef title}}<title>{{title}} - McSinyx</title>{{end}}
<body>
diff --git a/_libs/fead/sources b/_libs/fead/sources
index 1215258..0e24388 100644
--- a/_libs/fead/sources
+++ b/_libs/fead/sources
@@ -6,7 +6,6 @@ https://blog.ganssle.io/feeds/all.atom.xml
https://changelog.complete.org/feed
https://codesections.com/rss.xml
https://danct12.github.io/feed.xml
-https://dataswamp.org/~solene/rss.xml
https://drewdevault.com/blog/index.xml
https://harihareswara.net/atom
https://jvns.ca/atom.xml
diff --git a/blog/gifrip.md b/blog/gifrip.md
index d21d3eb..dfb9353 100644
--- a/blog/gifrip.md
+++ b/blog/gifrip.md
@@ -42,13 +42,13 @@ whatever information they're meant to communicate. Don't replace
the audio with a subtitle just so it can be an animated image.
Don't loop anything longer than a few seconds.
-There is an old saying: if tis doing fine being a video, let it be a video!
+There is an old saying: *if tis doing fine being a video, let it be a video*.
Videos don't need each frame to be perfect, and thus all the following steps
can be done in a single ffmpeg command. Work smart, even just for shitposting.
## Extract Frames
-Open the source video in [mpv], seek then spam `.s` repeatedly.
+Open the source video in [mpv], seek then spam `s.` repeatedly.
That's all, y waste time write lot word wen few word do trick?
Aight, maybe there's a bit more to it. Operating on the level of frames
@@ -69,7 +69,7 @@ In addition, videos from social media (and space-efficient movies)
are heavily compressed and look pretty bad for their resolution. Usually
I have to shrink them down to two third or a half of their original width
for them to look decently sharp. When you have the geometry in mind,
-fire up [ImageMagick]:
+summon the [image wizard][ImageMagick]:
```sh
crop="-crop ${w}x${h}+${dx}+${dy}"