From b77ed632f0405d5f8b47cc8e38680eba323618be Mon Sep 17 00:00:00 2001 From: Jared Liw Zhi Long Date: Fri, 28 Jun 2024 01:47:23 +0800 Subject: [PATCH] Rename shortcode 'rel' to 'absURL', for consistency Signed-off-by: wolfishLamb --- .../projects/choices-ahead-post-spm-workshop.md | 16 ++++++++-------- content/projects/hello-world.md | 6 ++---- layouts/shortcodes/{rel.html => absURL.html} | 0 3 files changed, 10 insertions(+), 12 deletions(-) rename layouts/shortcodes/{rel.html => absURL.html} (100%) diff --git a/content/projects/choices-ahead-post-spm-workshop.md b/content/projects/choices-ahead-post-spm-workshop.md index 4205436..d6d34fb 100644 --- a/content/projects/choices-ahead-post-spm-workshop.md +++ b/content/projects/choices-ahead-post-spm-workshop.md @@ -63,18 +63,18 @@ Two powerful mediums, Google Meet, YouTube Live, and Slido (Q&A sessions) came t workshops a seamless and interactive experience. Participants were able to interact with the speakers after each session. -![A series of YouTube live streams.]({{< rel "ca2.0/ytb-live.png" >}}) +![A series of YouTube live streams.]({{< absURL "ca2.0/ytb-live.png" >}}) -![Group photo during the event.]({{< rel "ca2.0/group-photo.png" >}}) +![Group photo during the event.]({{< absURL "ca2.0/group-photo.png" >}}) ## Feedback The feedback from ‘Choices Ahead! 2.0’ workshop has been overwhelmingly positive. Participants have praised the beneficial content, knowledgeable speakers, and interactive sessions. Below is some of the feedback that we received: -![]({{< rel "ca2.0/feedback-1.png" >}}) -![]({{< rel "ca2.0/feedback-2.png" >}}) -![]({{< rel "ca2.0/feedback-3.png" >}}) +![]({{< absURL "ca2.0/feedback-1.png" >}}) +![]({{< absURL "ca2.0/feedback-2.png" >}}) +![]({{< absURL "ca2.0/feedback-3.png" >}}) ## Event Summary @@ -97,6 +97,6 @@ taking this project as inspiration and motivation to move forward. ## Gallery -![]({{< rel "ca2.0/gallery-1.png" >}}) -![]({{< rel "ca2.0/gallery-2.png" >}}) -![]({{< rel "ca2.0/gallery-3.png" >}}) \ No newline at end of file +![]({{< absURL "ca2.0/gallery-1.png" >}}) +![]({{< absURL "ca2.0/gallery-2.png" >}}) +![]({{< absURL "ca2.0/gallery-3.png" >}}) \ No newline at end of file diff --git a/content/projects/hello-world.md b/content/projects/hello-world.md index 7fd6026..e352c15 100644 --- a/content/projects/hello-world.md +++ b/content/projects/hello-world.md @@ -97,9 +97,7 @@ Now a nested list: Notice again how text always lines up on 4-space indents (including that last line which continues item 3 above). -Here's a link to [a website](http://foo.bar), to a [local -doc](local-doc.html), and to a [section heading in the current -doc](#an-h2-header). Here's a footnote [^1]. +Here's a link to [a website](http://foo.bar). Here's a footnote [^1]. [^1]: Footnote text goes here. @@ -129,7 +127,7 @@ term/definition pair to spread things out more.) Images can be specified like so: -![Example image.]({{< rel "masthead.png" >}}) +![Example image.]({{< absURL "masthead.png" >}}) And note that you can backslash-escape any punctuation characters which you wish to be displayed literally, ex.: \`foo\`, \*bar\*, etc. \ No newline at end of file diff --git a/layouts/shortcodes/rel.html b/layouts/shortcodes/absURL.html similarity index 100% rename from layouts/shortcodes/rel.html rename to layouts/shortcodes/absURL.html