diff --git a/docs/index.html b/docs/index.html index 77ba874..767682e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,10 +1,14 @@ - + + + + + - + - +
itty.bitty is experimental technology that renders linked content from outside sources. Learn more.

This content is only as trustworthy as its source, and it should be treated with the caution diff --git a/docs/build-v1.sh b/docs/v1/build-v1.sh similarity index 92% rename from docs/build-v1.sh rename to docs/v1/build-v1.sh index 1fb5abe..ef0ecdc 100755 --- a/docs/build-v1.sh +++ b/docs/v1/build-v1.sh @@ -1,5 +1,4 @@ #! /bin/bash -cd docs/legacy terser data.js > data-min.js terser index.js > index-min.js uglifycss index.css > index-min.css diff --git a/functions/index.js b/functions/index.js index a41a050..7736bb7 100644 --- a/functions/index.js +++ b/functions/index.js @@ -15,7 +15,7 @@ exports.index = functions.https.onRequest((request, response) => { let content = ""; if (title) content += `${title}`; - if (desc) content += ``; + if (desc && desc.length > 1) content += ``; if (image) { if (image.startsWith("http")) { content += ``;