diff --git a/.gitignore b/.gitignore index 364fdec..7bde78f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ public/ +static/styles.css diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 236a4f5..26d1e65 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,12 +1,12 @@ steps: deploy: - image: alpine:latest - name: Zip files + image: node:18-alpine commands: - apk add --no-cache curl zip zola + - npx --yes tailwindcss -o static/styles.css --minify - zola build - - rm public/robots.txt public/sitemap.xml - cd public + - rm 404.html robots.txt sitemap.xml - zip -r project.zip . -x ".*" - 'AUTH_HEADER="Authorization: Bearer $PAGES_API_KEY"' - API_URL=https://pages.hadeedahmad.com/pages/me diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..fa9f3dc --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,8 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["templates/**/*.html"], + theme: { + extend: {}, + }, + plugins: [], +}; diff --git a/templates/base.html b/templates/base.html index 4c7bf2e..546996f 100644 --- a/templates/base.html +++ b/templates/base.html @@ -3,6 +3,7 @@ + Home - Hadeed Ahmad diff --git a/templates/index.html b/templates/index.html index 401182c..8ecc7a2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ {% block content %}

-

I am Hadeed Ahmad.

+

I am Hadeed Ahmad.

Profile Picture

Check out my Forgejo.