Skip to content

aurelia/aurelia.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

85b38d9 Β· Apr 29, 2025
Dec 16, 2024
Dec 12, 2024
Dec 15, 2024
Feb 2, 2025
Apr 29, 2025
Jan 12, 2025
Feb 4, 2025
Dec 13, 2024
Dec 12, 2024
Dec 16, 2024
Dec 21, 2024
Jan 12, 2025
Dec 16, 2024
Dec 21, 2024
Dec 16, 2024
Dec 13, 2024

Repository files navigation

Aurelia Website

The official website and blog for Aurelia (aurelia.io), built with Hugo.

πŸš€ Quick Start

  1. Prerequisites

  2. Installation

    # Clone the repository
    git clone https://github.com/aurelia/aurelia.github.io.git
    cd aurelia.github.io
    
    # Install dependencies
    npm install
  3. Development

    # Start the development server
    hugo serve -D -F --ignoreCache

    Visit http://localhost:1313 to see the site.

πŸ“ Project Structure

aurelia.github.io/
β”œβ”€β”€ content/          # Site content
β”‚   β”œβ”€β”€ blog/        # Blog posts organized by date
β”‚   β”‚   └── YYYY/    # Year folders
β”‚   β”‚       └── M/   # Month folders
β”‚   β”‚           └── D/# Day folders
β”‚   β”œβ”€β”€ _index.md    # Homepage content
β”‚   β”œβ”€β”€ faq.md       # FAQ page
β”‚   β”œβ”€β”€ sponsor.md   # Sponsor page
β”‚   └── roadmap.md   # Roadmap page
β”‚
β”œβ”€β”€ themes/
οΏ½οΏ½   └── aurelia-theme/# Custom Aurelia theme
β”‚       β”œβ”€β”€ assets/   # Theme assets (CSS, JS)
β”‚       β”œβ”€β”€ data/     # Theme data files
β”‚       └── layouts/  # Theme templates
β”‚
└── static/          # Static files

πŸ“ Content Management

Blog Posts

Create new blog posts in content/blog/YYYY/M/D/ with this frontmatter:

+++
title = "Post Title"
author = "Author Name"
author_url = "https://example.com" # Optional
description = "Post description"
date = 2024-01-01T10:00:00Z
lastmod = 2024-01-01T10:00:00Z
draft = false
toc = true  # Enables in-page navigation
+++

Post content goes here...

Content Embedding

The theme supports automatic embedding of various external content. Simply paste the URLs in your markdown:

# Code Playgrounds
https://dumber.gist.com/your-gist-id
https://stackblitz.com/edit/your-project
https://codepen.io/username/pen/pen-id

# Videos
https://www.youtube.com/watch?v=video-id

# Package Information
https://www.npmjs.com/package/package-name

# GitHub
https://github.com/username/repo

Table of Contents

Add toc = true to your page's frontmatter to enable an in-page navigation sidebar that automatically generates a table of contents from your page's headings.

+++
title = "Page Title"
toc = true
+++

The table of contents will appear as a floating sidebar on desktop and can be toggled on mobile devices.

Navigation

Edit themes/aurelia-theme/data/header.yaml to modify the navigation:

menu:
  - name: "Home"
    link: "/"
  - name: "Docs"
    dropdown: true
    sections:
      - title: "Current"
        items:
          - name: "Aurelia 2 Docs"
            link: "https://docs.aurelia.io"

Footer Configuration

Edit themes/aurelia-theme/data/footer.yaml to update footer links:

footer:
  links:
    - name: "GitHub"
      link: "https://github.com/aurelia"
    - name: "Twitter"
      link: "https://twitter.com/aureliaeffect"

πŸ›  Development

Local Development

  1. Start the Hugo server:

    hugo server -D
  2. Make changes to content or theme files

  3. Hugo will automatically reload your browser

Production Build

hugo

The site will be generated in the public/ directory.

🀝 Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

🌟 License

🌟 Community & Support