update folder structure
This commit is contained in:
parent
bad8050e83
commit
f9593d42cc
13 changed files with 40 additions and 8 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -129,4 +129,6 @@ dist
|
||||||
.yarn/build-state.yml
|
.yarn/build-state.yml
|
||||||
.yarn/install-state.gz
|
.yarn/install-state.gz
|
||||||
.pnp.*
|
.pnp.*
|
||||||
|
ignore
|
||||||
|
posts
|
||||||
|
templates
|
||||||
|
|
|
@ -6,9 +6,9 @@ RUN yarn global add typescript
|
||||||
RUN tsc
|
RUN tsc
|
||||||
RUN mkdir /app
|
RUN mkdir /app
|
||||||
RUN cp -r /tmp/build/* /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/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
|
COPY ./scripts/docker_run.sh /app/run.sh
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
CMD ["/app/run.sh"]
|
CMD ["/app/run.sh"]
|
||||||
|
|
5
config.js
Normal file
5
config.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
module.exports = {
|
||||||
|
branding: {
|
||||||
|
title: "hexlocation's blog"
|
||||||
|
},
|
||||||
|
}
|
3
default_posts/about.md
Normal file
3
default_posts/about.md
Normal 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
7
default_posts/contact.md
Normal 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
|
|
@ -11,6 +11,16 @@
|
||||||
#header-content {
|
#header-content {
|
||||||
text-align: center;
|
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;
|
color:white;
|
||||||
font-family: 'Arial', sans-serif;
|
font-family: 'Arial', sans-serif;
|
9
default_templates/header.ejs
Normal file
9
default_templates/header.ejs
Normal 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>
|
|
@ -1,6 +1,6 @@
|
||||||
<%- include('header') %>
|
<%- include('header') %>
|
||||||
<div id="main-content">
|
<div id="main-content">
|
||||||
<table>
|
<table id="posts-table">
|
||||||
<!---
|
<!---
|
||||||
<tr>
|
<tr>
|
||||||
<th id="title-header">Title</th>
|
<th id="title-header">Title</th>
|
|
@ -1,4 +0,0 @@
|
||||||
<div id="header-content">
|
|
||||||
<h1>disseminate</h1>
|
|
||||||
<hr>
|
|
||||||
</div>
|
|
Loading…
Reference in a new issue