Summary Files Commits Branches @commit @diff @stats
path: root / awk-edits
diff options
context:
space:
mode:
Commit19d96a1a402750f0ce8e05c7aeee23034891d7a6 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-10-01 08:20:57 +0300
Committer
 Syndamia <kamen@syndamia.com>
2023-10-01 08:20:57 +0300
Files297f2fdcf32512008c5cf144edd3259fdc0125c3 /awk-edits
syndamia.com-19d96a1a402750f0ce8e05c7aeee23034891d7a6.tar
syndamia.com-19d96a1a402750f0ce8e05c7aeee23034891d7a6.tar.gz
syndamia.com-19d96a1a402750f0ce8e05c7aeee23034891d7a6.zip
Parent1388c8936f82d71b56e94f4ce407bd166ac90d7c (diff)
[generate,awk-edits] Renamed talks to slides
2 files changed, 3 insertions, 3 deletions
-rw-r--r--awk-edits/Pagenav.awk2
-rw-r--r--awk-edits/Presentation.awk4
diff --git a/awk-edits/Pagenav.awk b/awk-edits/Pagenav.awk
index df3f744..cb1b1d3 100644
--- a/awk-edits/Pagenav.awk
+++ b/awk-edits/Pagenav.awk
@@ -17,7 +17,7 @@ BEGIN {
fileCheck = ARGV[1]; # FILENAME isn't available in BEGIN
elem = "";
- if (match(fileCheck, /(blog|tutorials|talks)\/.*\//)) {
+ if (match(fileCheck, /(blog|tutorials|slides)\/.*\//)) {
dateCreate = "";
dateEdited = "";
FS = "\t"
diff --git a/awk-edits/Presentation.awk b/awk-edits/Presentation.awk
index e41e63d..bbd3fe7 100644
--- a/awk-edits/Presentation.awk
+++ b/awk-edits/Presentation.awk
@@ -6,7 +6,7 @@
# Inside each slide, normal element flow is respected.
# Each slide is the size of a landscape-oriented A4 sheet of paper. Light/dark
# mode settings are respected (of course).
-# Currently, this is active only in pages under the "talks" folder.
+# Currently, this is active only in pages under the "slides" folder.
#
# == ftags ==
@@ -82,7 +82,7 @@
# Refer to src/talks/demo/index.md
BEGIN {
- nopresentation=substr(ARGV[1], "talks") == 0 # FILENAME isn't available yet
+ nopresentation=substr(ARGV[1], "slides") == 0 # FILENAME isn't available yet
# names is name of ftag, meaning if `names[i] = "examp"` the ftag will be &&examp
# ended specifies how the HTML tag is ended