From 11563f85af142367a20a9a9cbdc81f6a0ef806da Mon Sep 17 00:00:00 2001 From: Aaron Meyer Date: Sun, 19 Apr 2026 10:37:58 -0700 Subject: [PATCH 1/3] Some setup --- README.md | 72 ++++++++++++++++++++++++++++++++++++-- content/contact/index.html | 60 ++++++++++--------------------- 2 files changed, 88 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index 208f6dc2..4fbdd3f6 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,71 @@ -# asmlab.org +# Meyer Lab Website -Meyer lab website +This repository contains the source files for the [Meyer Lab](https://asmlab.org/) website, built using the [Hugo](https://gohugo.io/) static site generator. + +## Getting Started + +### Prerequisites + +To develop the site locally, you need to have [Hugo](https://gohugo.io/) installed on your machine. + +### Local Development + +1. **Clone the repository**: + ```bash + git clone + cd asmlab.org + ``` + +2. **Start the Hugo development server**: + Run the following command to start a local server: + ```bash + hugo server + ``` + Once the server is running, you can view your changes in real-time by navigating to `http://localhost:1313/` in your web browser. + +## Repository Structure + +The project follows the standard Hugo directory structure: + +- `content/`: Contains all the Markdown files that make up the website's pages. + - `content/news/`: News articles and updates. + - `content/publications/`: Lists of research publications. + - `content/research/`: Information about various research areas. + - `content/team/`: Information about lab members. + - `content/contact/`: Contact information and forms. +- `layouts/`: Contains the HTML templates used to render the content. + - `layouts/_default/`: Default templates for pages and lists. + - `layouts/partials/`: Reusable HTML snippets (e.g., headers, footers, navigation). + - `layouts/shortcodes/`: Custom Hugo shortcodes for embedding complex elements in Markdown. +- `assets/`: Contains assets that Hugo processes, such as SCSS/SASS files for styling. +- `static/`: Contains raw assets that are copied directly to the final build directory without processing. + - `static/public/photos/`: Headshots and other images. + - `static/public/images/`: General site images and icons. + - `static/research/`: Research-related graphics and diagrams. +- `hugo.yaml`: The main configuration file for the Hugo site, including site title, base URL, and taxonomies. + +## Modifying Content + +### Updating Text and Pages + +Most of the website's content is written in Markdown and located in the `content/` directory. + +- **To add a news item**: Create a new `.md` file in `content/news/`. +- **To update team members**: Edit the files in `content/team/` or update the corresponding entries in `content/team/index.md`. +- **To add research info**: Create or edit Markdown files in `content/research/`. + +### Changing the Design and Layout + +- **To edit global styles**: Modify the SCSS files in `assets/css/`. +- **To change page templates**: Edit the HTML files in `layouts/`. +- **To add/edit reusable components**: Modify the partials in `layouts/partials/`. +- **To add custom shortcodes**: Create new files in `layouts/shortcodes/`. + +### Managing Images and Assets + +- **To add new photos**: Place them in `static/public/photos/` and reference them in your Markdown content. +- **To add site-wide assets (like favicons)**: Place them in `static/`. + +## Deployment + +The website is automatically deployed via GitHub Actions. When you push changes to the `main` branch, a workflow is triggered that builds the static site and depls it to the hosting provider. diff --git a/content/contact/index.html b/content/contact/index.html index 434574a7..2cb7af3e 100644 --- a/content/contact/index.html +++ b/content/contact/index.html @@ -2,55 +2,31 @@ title: Contact/Operations --- -

Opportunities

+### Opportunities -We welcome applications from qualified candidates at all levels. To ensure that -we get to know you, -we have created a form with a few simple questions. Please note that we are unable to respond to individual email inquiries about -positions. +We welcome applications from qualified candidates at all levels. To ensure that we get to know you, [we have created a form with a few simple questions](https://forms.gle/JLt7gtaPHywepNvD8). Please note that we are unable to respond to individual email inquiries about positions.
-
- -

Operations

-Our lab manual -contains instructions for getting started in the lab, expectations for members, -and other resources such as protocols. -The lab meeting schedule -can be edited in lab's shared Box folder. - -
-
+### Operations -
+[Our lab manual](https://docs.google.com/document/d/15Mbt8XmpchBY0foGIMyLk0-I3OKYF1tK7XOmuWQhk3o/edit?usp=sharing) contains instructions for getting started in the lab, expectations for members, and other resources such as protocols. -

Contact

+[The lab meeting schedule](https://ucla.box.com/s/fhtn0311b1qmw0l73qz3ccbaacq22cqj) can be edited in lab's shared Box folder. -
-

Packages/Lab:

- Meyer Lab
- 410 Westwood Plaza Room #5031
- Box 159910
- Los Angeles, CA 90095-1599 -
+


-
-

Mail/Office:

- Aaron Meyer
- 410 Westwood Plaza Room #4121G
- Box 159910
- Los Angeles, CA 90095-1599
- Phone: (310) 794-4821 -
+### Contact -
+#### Packages/Lab: +Meyer Lab
+410 Westwood Plaza Room #5031
+Box 159910
+Los Angeles, CA 90095-1599 -


+#### Mail/Office: +Aaron Meyer
+410 Westwood Plaza Room #4121G
+Box 159910
+Los Angeles, CA 90095-1599
+Phone: (310) 794-4821 From 9f5caef039110031c4fdc74084dd5077786982cc Mon Sep 17 00:00:00 2001 From: Aaron Meyer Date: Mon, 20 Apr 2026 20:12:09 -0700 Subject: [PATCH 2/3] Finish switch to markdown --- content/contact/index.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 content/contact/index.md diff --git a/content/contact/index.md b/content/contact/index.md new file mode 100644 index 00000000..a9aaceef --- /dev/null +++ b/content/contact/index.md @@ -0,0 +1,30 @@ +--- +title: Contact/Operations +--- + +### Opportunities + +We welcome applications from qualified candidates at all levels. To ensure that we get to know you, [we have created a form with a few simple questions](https://forms.gle/JLt7gtaPHywepNvD8). Please note that we are unable to respond to individual email inquiries about positions. + +### Operations + +[Our lab manual](https://docs.google.com/document/d/15Mbt8XmpchBY0foGIMyLk0-I3OKYF1tK7XOmuWQhk3o/edit?usp=sharing) contains instructions for getting started in the lab, expectations for members, and other resources such as protocols. [The lab meeting schedule](https://ucla.box.com/s/fhtn0311b1qmw0l73qz3ccbaacq22cqj) can be edited in lab's shared Box folder. + +
+ +### Contact + +#### Packages/Lab + +Meyer Lab
+410 Westwood Plaza Room #5031
+Box 159910
+Los Angeles, CA 90095-1599 + +#### Mail/Office + +Aaron Meyer
+410 Westwood Plaza Room #4121G
+Box 159910
+Los Angeles, CA 90095-1599
+Phone: (310) 794-4821 From 0d6333e57f41ddd7f78cdc8bd11454b632e58e6f Mon Sep 17 00:00:00 2001 From: Aaron Meyer <2065146+aarmey@users.noreply.github.com> Date: Mon, 20 Apr 2026 20:12:33 -0700 Subject: [PATCH 3/3] Delete content/contact/index.html --- content/contact/index.html | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 content/contact/index.html diff --git a/content/contact/index.html b/content/contact/index.html deleted file mode 100644 index 2cb7af3e..00000000 --- a/content/contact/index.html +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: Contact/Operations ---- - -### Opportunities - -We welcome applications from qualified candidates at all levels. To ensure that we get to know you, [we have created a form with a few simple questions](https://forms.gle/JLt7gtaPHywepNvD8). Please note that we are unable to respond to individual email inquiries about positions. - -
- -### Operations - -[Our lab manual](https://docs.google.com/document/d/15Mbt8XmpchBY0foGIMyLk0-I3OKYF1tK7XOmuWQhk3o/edit?usp=sharing) contains instructions for getting started in the lab, expectations for members, and other resources such as protocols. - -[The lab meeting schedule](https://ucla.box.com/s/fhtn0311b1qmw0l73qz3ccbaacq22cqj) can be edited in lab's shared Box folder. - -


- -### Contact - -#### Packages/Lab: -Meyer Lab
-410 Westwood Plaza Room #5031
-Box 159910
-Los Angeles, CA 90095-1599 - -#### Mail/Office: -Aaron Meyer
-410 Westwood Plaza Room #4121G
-Box 159910
-Los Angeles, CA 90095-1599
-Phone: (310) 794-4821