Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
hanar3Public

About

Fun with markdown. Personal blog.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

byte39

Vitor Moreno’s personal website, built with Astro.

Add an article

Create a Markdown file in src/research/. The filename becomes its URL. For example, my-post.md builds to /research/my-post.html.

---
title: My next article
description: A short summary for the homepage and page metadata.
date: 2026-12-01
---

Start writing here. Use level-two headings for sections.

~~~rust
fn main() {
    println!("Hello, byte39!");
}
~~~

Only title and description are required. Set date to sort posts newest first, or leave it out to list the post after dated entries. Optional category and author fields default to Engineering notes and Vitor Moreno. Fenced code blocks, tables, and lists use the shared article styles.

Add a project

Create a Markdown file in src/projects/. The front matter sets the card’s title, category, and link, and the Markdown body becomes its description.

---
title: My project
category: Networking · Rust
url: https://github.com/hanar3/my-project
order: 30
---

A short description of what the project does.

Lower order numbers appear first. Projects without an order follow the numbered entries, sorted by filename.

Build and preview

npm ci
npm run dev

Astro reloads the site as you edit. Run npm run build to generate the static site in dist/, and npm run preview to serve that build locally. The existing Sites deployment uses the generated build.

The homepage lives in src/pages/index.astro, the shared site layout in src/layouts/Site.astro, and the article template in src/pages/research/[slug].astro. Tailwind styles live in src/site.css, and images and other static files go in public/.

Deploy to Netlify

GitHub Actions builds pull requests and deploys pushes to main when the repository has a NETLIFY_SITE_ID Actions variable and a NETLIFY_AUTH_TOKEN Actions secret. Use a Netlify project with manual deployment so GitHub Actions is the only production deploy trigger. Run the workflow manually for the first deploy after configuring the variable and secret.

About

Fun with markdown. Personal blog.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages