---
name: hub-news-posts
description: This skill should be used when creating Galaxy Hub news posts, writing content for galaxyproject.org/news, or converting content to Galaxy Hub markdown format.
---
# Galaxy Hub News Posts
Create news posts for the Galaxy Project website (galaxyproject.org).
## Directory Structure
Posts live in `/content/news/YYYY-MM-DD-slug-name/`:
```
content/news/2025-01-15-my-announcement/
├── index.md # Main content file
├── hero.png # Images in same directory
└── images/ # OR in images/ subdirectory
└── figure1.png
```
## Required Frontmatter
```yaml
---
title: "Post Title"
date: "YYYY-MM-DD"
tease: "Short description for listing pages"
authors: "Author Name"
tags: [galaxy, training, tools]
subsites: [all]
---
```
### Optional Frontmatter Fields
| Field | Description |
|-------|-------------|
| `main_subsite` | Primary subsite (eu, freiburg, global) |
| `supporters` | Funding/support logos [elixir, denbi, eosc] |
| `location.name` | Event location |
| `hide_tease` | Set false to show tease on listing |
| `autotoc` | Enable/disable table of contents |
## Image Handling
**Option A - Same directory** (simpler):
```markdown


```
**Option B - images/ subdirectory** (for many images):
```html
```
**CRITICAL**: HTML img tags MUST use `./` prefix:
- `
` ✓
- `
` ❌ (build fails!)
## Vega Charts
Use external URLs only (gists work well):
```html
|
Value label |