diff options
| author | EuAndreh <eu@euandre.org> | 2025-04-10 08:05:12 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2025-04-10 08:05:12 -0300 |
| commit | 064c0fbf8312e5118f59618d98b38eb76c076580 (patch) | |
| tree | 75f39d14d8d9aab16aced12855c90442be249298 /src | |
| parent | src/*: "./" is enough for sourcing with ".", no need to use realpath(1) (diff) | |
| download | mkwb-064c0fbf8312e5118f59618d98b38eb76c076580.tar.gz mkwb-064c0fbf8312e5118f59618d98b38eb76c076580.tar.xz | |
src/{feedentry,html}: Normalize variables - remove underscores
Diffstat (limited to '')
| -rwxr-xr-x | src/feedentry | 4 | ||||
| -rwxr-xr-x | src/html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/feedentry b/src/feedentry index 086d3fe..2321614 100755 --- a/src/feedentry +++ b/src/feedentry @@ -12,8 +12,8 @@ eval "$(assert-arg -- "$FILENAME" 'FILENAME.htmlbody')" update_xml= -if [ -n "${updated_at:-}" ]; then - update_iso="$(date -ud "$updated_at" -Is)" +if [ -n "${updatedat:-}" ]; then + update_iso="$(date -ud "$updatedat" -Is)" update_xml=" <updated> $update_iso </updated>" @@ -57,7 +57,7 @@ EOF } h1() { - if [ "${custom_body:-}" = true ]; then + if [ "${custombody:-}" = true ]; then return fi @@ -69,7 +69,7 @@ EOF } comments() { - if [ "${custom_body:-}" = true ]; then + if [ "${custombody:-}" = true ]; then return fi |
