Code Monkey home page Code Monkey logo

website's Introduction

temporaerhaus.de

The new website for the Temporärhaus. Now based on Hugo, a static site generator. All the content from the old wordpress website is migrated.

How to blog

Option 1: Using User Interface (Netlify CMS)

Prerequisites

  • GitHub account with write access to this repository

Writing

  • Visit hausweb.netlify.app/admin and sign in with your GitHub account.
  • Click New Post and enjoy writing.
  • Hit Publish when the post is ready.
  • If you leave the english translation blank, but still want the german version being displayed on the english website, you will have to create a symlink in the content/posts directory (see below).

Option 2: Using Git

Prerequisites

Writing

  • Create a new file in content/posts, named yyyy-mm-dd-slug.de.md, for example 2016-07-01-macht-hoch-die-tuer.de.md. You may use hugo new for that, because this provides you with a nice template for your post: hugo new posts/2016-07-01-macht-hoch-die-tuer.de.md
  • To preview your post, run Hugo development server locally: hugo server. The initial build process may take a while. After that, Hugo should reload all changes automatically.
  • Media files are to be stored in the static/wp-content/uploads/yyyy/mm directory (for backwards compability with wordpress)

Translating

  • The english translation of the post goes into a identically named file, but with the suffix .en.md instead of .de.md, e.g. 2016-07-01-macht-hoch-die-tuer.en.md
  • In the frontmatter of this file, set language: en. The url or slug parameter, if set, has to be prefixed with /en/.
  • In case there is no translation (yet), consider creating a symlink to the german file, like ln -s 2016-07-01-macht-hoch-die-tuer.de.md 2016-07-01-macht-hoch-die-tuer.en.md, so that the english website shows at least the german text (related Hugo issue: gohugoio/hugo#2529).

Commiting

  • Commit and push your changes to the main branch. The website is re-deployed automatically.
  • If the post is not supposed to go online yet, set draft: true in the frontmatter or consider commiting to a different branch and submitting a pull request.

TODO

  • don't embed external images

website's People

Contributors

robbi5 avatar verschwoercode avatar ghabiger avatar stkdiretto avatar ech0-de avatar jayaitch256 avatar jaqpi avatar dermatthias avatar semaphor avatar zeitungsleser avatar felixwohlfrom avatar nadjawenger avatar jaydizz avatar gruenzeug avatar curtisanne avatar looniverse avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.