diff --git a/layouts/partials/vikunja-cloud-banner.html b/layouts/partials/vikunja-cloud-banner.html new file mode 100644 index 0000000..eb597ea --- /dev/null +++ b/layouts/partials/vikunja-cloud-banner.html @@ -0,0 +1,7 @@ + +

Vikunja Cloud is here!

+

+ Get a hosted Vikunja Account. +

+
diff --git a/layouts/post/single.html b/layouts/post/single.html index f93f828..57035ab 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -1,24 +1,17 @@ {{ partial "header.html" . }} -
-
-

- - {{ .Title }} - -

-

- {{ .Date.Format "2006-01-02" }} -

+
+ {{ partial "vikunja-cloud-banner.html" }} + {{ partial "footer.html" . }} diff --git a/tailwind.config.js b/tailwind.config.js index 1b41341..e2f169f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -5,6 +5,11 @@ module.exports = { './src/*.css', './layouts/**/*.html' ], + safelist: [ + 'p-4', + '!text-white', + '!underline', + ], theme: { extend: { colors: { @@ -25,6 +30,5 @@ module.exports = { plugins: [ require('@tailwindcss/typography'), require('@tailwindcss/forms'), - require('@tailwindcss/aspect-ratio'), ], }