update folder structure

This commit is contained in:
hexlocation's laptop (asiago) 2024-03-29 08:43:01 -04:00
parent bad8050e83
commit f9593d42cc
13 changed files with 40 additions and 8 deletions

4
.gitignore vendored
View file

@ -129,4 +129,6 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
ignore
posts
templates

View file

@ -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"]

5
config.js Normal file
View file

@ -0,0 +1,5 @@
module.exports = {
branding: {
title: "hexlocation's blog"
},
}

3
default_posts/about.md Normal file
View file

@ -0,0 +1,3 @@
# About Me.
I'm hexlocation, a sys-admin by hobby, backend engineer & foss enjoyer.

7
default_posts/contact.md Normal file
View file

@ -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

View file

@ -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;

View file

@ -0,0 +1,9 @@
<div id="header-content">
<h1>disseminate</h1>
<hr>
<div id="link-container">
<a href="/">home</a>
<a href="/post/about.md">about</a>
<a href="/post/contact.md">contact</a>
</div>
</div>

View file

@ -1,6 +1,6 @@
<%- include('header') %>
<div id="main-content">
<table>
<table id="posts-table">
<!---
<tr>
<th id="title-header">Title</th>

View file

@ -1,4 +0,0 @@
<div id="header-content">
<h1>disseminate</h1>
<hr>
</div>