initial commit
This commit is contained in:
commit
9df80bf3d3
62 changed files with 3401 additions and 0 deletions
22
lib/functions/inline/clear_metadata.sh
Normal file
22
lib/functions/inline/clear_metadata.sh
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
#!/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=''
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue