Truly proper website
Go to file
DutchEllie 4cd86be5a0
continuous-integration/drone/push Build is passing Details
Added frame options
2022-04-20 14:45:04 +02:00
.drone/helm Added frame options 2022-04-20 14:45:04 +02:00
entity Added entity 2022-03-24 13:12:57 +01:00
src Removed debug messages 2022-04-19 23:06:27 +02:00
test-website Rewrote guestbook 2022-03-15 16:42:26 +01:00
web Added GNU and rewrote page 2022-04-18 13:49:16 +02:00
.drone.yml Started working on blogposts 2022-03-24 13:25:07 +01:00
.gitignore Last 2022-03-12 15:52:13 +01:00
Dockerfile Major refactor 2022-03-15 12:48:47 +01:00
LICENSE Initial commit 2022-03-01 09:00:33 +00:00
Makefile Fixed the API url in makefile [CI SKIP] 2022-03-24 13:36:44 +01:00
README.md App notes 2022-03-15 09:00:19 +01:00
comments.go.old Last 2022-03-12 15:52:13 +01:00
go.mod Compressing handlergit add . 2022-03-24 14:31:02 +01:00
go.sum Compressing handlergit add . 2022-03-24 14:31:02 +01:00

README.md

proper-website-2

Build Status

A truly proper website this time™

TODO:

  • Change domain to quenten.nl and staging.quenten.nl
  • Dynamically make domains for other branches
  • Make a generic page component, so that you don't have to add the standard panels every time (such as navbar, leftbar, header, etc)

App notes:

  • leftbar (under nav) is default always the same. This is in a standardized "page" component. it can be changed by specifying it when creating the "page" component, or maybe in a prerender/onnav (or both). Structure will be: Generic page component IS IMPLEMENTED BY "specific page" WHERE OnNav/OnPreRender specify its details WHICH IS CREATED with its own "newXPage()" function. See https://github.com/maxence-charriere/go-app/blob/master/docs/src/actions-page.go for example.
  • "main content" is an array of app.UI elements. This can also be further abstracted using "block" components (the ones with the cool color)
  • THOSE BLOCK COMPONENTS' CONTENT can be set manually on creation, OR by passing HTML/MarkDown (not decided yet)

This website will be done with this:

  • Backend written in Golang
  • Templating with Go
  • Database connection for comments and such
  • Markdown article writing

It will be done in the following order:

  • First get up a working simple proof of concept
  • Then make the comments better
  • Database better
  • Layout
  • Markdown article writing
  • Layout