LogSource/lib/functions/inline/clear_metadata.sh
Wheaterwax 0faf445b39
Some checks are pending
Deploy Arise to html branch / Deploy Arise (push) Waiting to run
initial commit with stuff from arise
2025-09-01 18:57:24 -03:00

22 lines
593 B
Bash

#!/bin/bash
#############
# DESCRIPTION
#############
# Clears the metadata variables to prevent metadata from carrying over to the wrong page. This is important because of how promiscuous bash is with its variables.
#
#############
# Usage:
# clear_metadata
clear_metadata() {
metadata=''
title=''
author=''
description=''
language=''
thumbnail=''
published_date=''
modified_date=''
relative_url=''
canonical_url=''
}