atomic-server icon indicating copy to clipboard operation
atomic-server copied to clipboard

Site Class / ontology

Open joepio opened this issue 1 year ago • 1 comments

Building websites with AtomicServer should be as easy as possible. We already have an Article class which we use on some pages in production (example). We also have an argu-site which I made when migrating a bunch of our Argu customers to AtomicServer. This Class has some issues:

Customizability vs interoperability

  • We want developers to be able to very easily make any changes to classes & properties
  • We want to encourage re-use of classes and properties to improve interoperability

How can get both:

  • We host standard classes (e.g. /classes/Site, /classes/MenuItem /classes/Article)
  • We host the properties (e.g./properties/menu-item)
  • User clones the classes, turning them into local classes.

Todo

  • [ ] Site class
  • [ ] GUI for this class
  • [ ] menu-item list of pages to link to
  • [ ] redeploy-link item that when opened, triggers a redeploy
  • [ ] default-image for seo / socials
  • [ ] default-description
  • [ ] social-links, maybe just add a bunch of links and assume some icons
  • [ ] mapping onto a config.toml from Zola might make sense
  • [ ] tags. We already have tags in Table class
  • [ ] Add an Ontology for websites? Or stick to one class?
  • [ ] Update atomic-sveltekit-demo to use this new class, update readme.

joepio avatar Jul 31 '24 09:07 joepio