diff --git a/.gitignore b/.gitignore index ceaea36..73f8ba4 100644 --- a/.gitignore +++ b/.gitignore @@ -129,4 +129,6 @@ dist .yarn/build-state.yml .yarn/install-state.gz .pnp.* - +ignore +posts +templates diff --git a/Dockerfile b/Dockerfile index 3bb6a41..21cfffe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,9 +6,9 @@ RUN yarn global add typescript RUN tsc RUN mkdir /app RUN cp -r /tmp/build/* /app -RUN cp -r /tmp/posts /app/default_posts +RUN cp -r /tmp/default_posts /app/default_posts RUN cp -r /tmp/node_modules /app -RUN cp -r /tmp/templates /app/default_templates +RUN cp -r /tmp/default_templates /app/default_templates COPY ./scripts/docker_run.sh /app/run.sh WORKDIR /app CMD ["/app/run.sh"] diff --git a/config.js b/config.js new file mode 100644 index 0000000..7f9061a --- /dev/null +++ b/config.js @@ -0,0 +1,5 @@ +module.exports = { + branding: { + title: "hexlocation's blog" + }, +} diff --git a/default_posts/about.md b/default_posts/about.md new file mode 100644 index 0000000..1f7012d --- /dev/null +++ b/default_posts/about.md @@ -0,0 +1,3 @@ +# About Me. + +I'm hexlocation, a sys-admin by hobby, backend engineer & foss enjoyer. diff --git a/default_posts/contact.md b/default_posts/contact.md new file mode 100644 index 0000000..4e340d6 --- /dev/null +++ b/default_posts/contact.md @@ -0,0 +1,7 @@ +# Contact Information. + +You can find me here: +* Matrix: @hexlocation@clatter.cc +* Telegram: @inimitableX +* Discord: hex.maybe +* Email: hex[at]clatter[dot]cc diff --git a/posts/hello.md b/default_posts/hello.md similarity index 100% rename from posts/hello.md rename to default_posts/hello.md diff --git a/posts/lol.md b/default_posts/lol.md similarity index 100% rename from posts/lol.md rename to default_posts/lol.md diff --git a/templates/footer.ejs b/default_templates/footer.ejs similarity index 100% rename from templates/footer.ejs rename to default_templates/footer.ejs diff --git a/templates/global-style.ejs b/default_templates/global-style.ejs similarity index 79% rename from templates/global-style.ejs rename to default_templates/global-style.ejs index 0e98927..f0e5347 100644 --- a/templates/global-style.ejs +++ b/default_templates/global-style.ejs @@ -11,6 +11,16 @@ #header-content { text-align: center; } + #link-container a { + color: #808080 !important; + } + #link-container { + display: flex; + justify-content: center; + gap: 20px; + flex-direction: row; + flex-wrap: wrap; + } * { color:white; font-family: 'Arial', sans-serif; diff --git a/default_templates/header.ejs b/default_templates/header.ejs new file mode 100644 index 0000000..3ee3f28 --- /dev/null +++ b/default_templates/header.ejs @@ -0,0 +1,9 @@ +
+

disseminate

+
+ +
diff --git a/templates/index.ejs b/default_templates/index.ejs similarity index 95% rename from templates/index.ejs rename to default_templates/index.ejs index 17a7ad8..f80ffa8 100644 --- a/templates/index.ejs +++ b/default_templates/index.ejs @@ -1,6 +1,6 @@ <%- include('header') %>
- +