documentation

LUGAN Website Architecture & Maintenance

The official LUGAN website is built entirely on Jekyll, utilizing GitHub Pages for automatic building and hosting. This approach ensures maximum maintainability and allows us to treat our website content exactly like our code (“Governance as Code”).


Core Philosophy


Structure & Navigation


How to Publish a Repository

If a repository is intended to be a visible part of the LUGAN website:

  1. Go to the repository Settings.
  2. Navigate to the Pages section (sidebar).
  3. Under Build and deployment, select Source -> Deploy from a branch.
  4. Select the branch (usually main) and folder (/root), then click Save.
  5. Critical Step: once GitHub generates the live URL (e.g., linux-user-group-ancona.github.io/repo-name), copy it and paste it into the “About” section (website url) on the main page of the repository. This ensures the link is visible to everyone.

⚠️ Troubleshooting: Markdown Not Rendering?

If your Markdown page is not redirecting correctly, or if it renders as raw text/code instead of a styled HTML page, it is likely due to a missing Jekyll trigger.

Follow these two steps to fix it:

1. Ensure _config.yml Exists

Make sure a file named _config.yml exists in the root of the repository (even if it is empty or contains minimal settings). Paste these lines inside the file:

defaults:
  - scope:
      path: "" # apply to all files
    values:
      layout: "page" # use default page layout

2. Add Empty Front Matter

You must add the front matter markers at the very top of your .md file. This tells Jekyll to process the file.

Add these exact lines at line 1 of your file:

---
---
# Your Title Here
... rest of the content ...