Skip to content

Commit

Permalink
Merge pull request #1 from ivoa/initial_user_guid_and_small_fixes
Browse files Browse the repository at this point in the history
Draft: Userguide and styling fixes.
  • Loading branch information
molinaro-m authored Oct 16, 2023
2 parents 2bf25f8 + 297b247 commit 6a4c78e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 14 deletions.
40 changes: 40 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Website documentation

## Adding new content

This document describes methods of adding new content to the IVOA website.
Please checkout a new branch and perform your writing locally.
Then make a merge request, so the changes can be checked before they are published to the website

### Links on the homepage
Adjusting the links on the homepage is done by updating [_index.html](../content/_index.html) in the `content` directory.

### Posts

Content, such as news, upcoming meetings, but also highlights, can be added by creating a new Markdown file (`index.md`) in the _content/posts_ directory. For organisation purposes, follow the structure `<year>/<title>/index.md`.

The content of the file should follow the following structure:
```
---
title: "My new page"
date: 2023-07-04T10:58:36+02:00
draft: false
author: John Doe
featured_image: cool_image.png
tags:
- banner
- news
---
Start of the content on the new page
```
Images should be added in the same directory as the new `index.md` file.


#### News & Upcoming meetings

To make the page show up under the _news & upcoming meetings_ section, you must add the tag `news` in the tags section of the preamble.

#### Highlights in the carrousel

To make the page show up in the carrousel, you must add the tag `banner` in the tags section of the preamble and a `features_image`. Only the latest(bases on the date in the post) _X_ amount of posts will be shown on the homepage.
14 changes: 0 additions & 14 deletions docs/adding_new_content.md

This file was deleted.

0 comments on commit 6a4c78e

Please sign in to comment.