Summary Files Commits Branches @commit @diff @stats
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
syndamia.com-19d96a1a402750f0ce8e05c7aeee23034891d7a6.tar
syndamia.com-19d96a1a402750f0ce8e05c7aeee23034891d7a6.tar.gz
syndamia.com-19d96a1a402750f0ce8e05c7aeee23034891d7a6.zip
Parent1388c8936f82d71b56e94f4ce407bd166ac90d7c (diff)
[generate,awk-edits] Renamed talks to slides
3 files changed, 4 insertions, 4 deletions
-rw-r--r--awk-edits/Pagenav.awk2
-rw-r--r--awk-edits/Presentation.awk4
-rwxr-xr-xgenerate.sh2
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
diff --git a/generate.sh b/generate.sh
index 9e6d10b..8eee64b 100755
--- a/generate.sh
+++ b/generate.sh
@@ -44,7 +44,7 @@
echo "$headc" > timestamps.txt
startTimer
- for file in $(find "$REPO_FOLDER/src" -type f -regex '.*\(blog\|tutorials\|talks\)/.*md'); do
+ for file in $(find "$REPO_FOLDER/src" -type f -regex '.*\(blog\|tutorials\|slides\)/.*md'); do
dates=($(git log --follow --pretty=format:%ad --date="format:%d %B %Y" -- $file))
line="./website${file:5:-2}html\t${dates[@]: -3:3}\t${dates[@]:0:3}"
echo -e $line >> timestamps.txt