diff --git a/source/src/components/search/Answer.astro b/source/src/components/search/Answer.astro new file mode 100644 index 0000000..a3ebb15 --- /dev/null +++ b/source/src/components/search/Answer.astro @@ -0,0 +1,50 @@ +--- +// Properties +const { Image, Link, Title, Description, Table, Sublinks } = Astro.props; + +// Configuration +import {DEFAULT_IMAGE_PROXY} from "@utils/GetConfig" + +// Toggle Functions +if (Image === null) { + var UseImage = false +} else { + var UseImage = true +} +--- + +
+

{Title}

+ {Link} + +

{UseImage ? : null} {Description}

+ + +
+ +