${meta[title]} - ${cfg[title]}"; else echo "${cfg[title]}"; fi
-if [[ ${meta[author]} ]]; then echo ""; fi
-if [[ ${meta[description]} ]]; then echo ""; fi
-if [[ ${meta[keywords]} ]]; then echo ""; fi
-if [[ ${meta[refresh]} ]]; then echo ""; fi
-if [[ ${meta[redirect]} ]]; then echo ""; fi
-if [[ ${meta[css]} ]]; then echo ""; fi
-if [[ ${meta[title]} ]]; then echo ""; fi
-#if [[ ${meta[og:type]} ]]; then echo ""; fi
-if [[ ${cfg[url]} ]]; then echo ""; fi
-#if [[ ${meta[og:image} ]]; then echo ""; fi
-if [[ ${meta[lang]} ]]; then echo ""; fi
-if [[ ${meta[description]} ]]; then echo ""; fi
-if [[ ${meta[unsafe]} ]]; then echo "${meta[unsafe]}"; fi
+if [[ "${meta[title]}" != "" ]]; then echo "$(html_encode "${meta[title]}") - ${cfg[title]}"; else echo "${cfg[title]}"; fi
+if [[ "${meta[author]}" != "" ]]; then echo ""; fi
+if [[ "${meta[description]}" != "" ]]; then echo ""; fi
+if [[ "${meta[keywords]}" != "" ]]; then echo ""; fi
+if [[ "${meta[refresh]}" != "" ]]; then echo ""; fi
+if [[ "${meta[redirect]}" != "" ]]; then echo ""; fi
+if [[ "${meta[css]}" != "" ]]; then echo ""; fi
+if [[ "${meta[title]}" != "" ]]; then echo ""; fi
+#if [[ "${meta[og:type]}" != "" ]]; then echo ""; fi
+if [[ "${cfg[url]}" != "" ]]; then echo ""; fi
+#if [[ "${meta[og:image}" != "" ]]; then echo ""; fi
+if [[ "${meta[lang]}" != "" ]]; then echo ""; fi
+if [[ "${meta[description]}" != "" ]]; then echo ""; fi
+if [[ "${meta[unsafe]}" != "" ]]; then echo "${meta[unsafe]}"; fi
echo "