-
Notifications
You must be signed in to change notification settings - Fork 0
Home
To get the code onto your local desktop to edit:
- Go to the terminal and clone the code:
- Make changes into the code cloned on your local machine
- Add the files onto the github repository
- git add .
- Commit the changes
- git commit -m "commit changes"
- Push all the changes to the main repository
- git push origin master
- Home
- News
- People
- Research
- Publications
- Join Us
This is the main page or the About page of the website. File location: _pages/about.md If you want to edit the carousel or the text about the lab on the first page then this is where you have to go. The news section on the home page displays the 5 latest news articles, and the news section displays the rest.
This is the section where the lab adds more news articles to update it. File location: _pages/news.md This news.md file links to a news.liquid file which will store all the news articles. This is linked to a liquid file which accesses the _news folder. Location: /MacCurdyLab.github.io/_news In this folder you have to create a file named "announcement_number.md" For now this folder has 45 announcements. For all new announcements i.e news you can create announcement_46.md, announcement_47.md and so on.
Content for news in markdown.
This page displays the carousel of images, name of person, their position, description and image. This has a current member section and an Alumni section. Location: _pages/people.md This page only has the base code for the carousel and 2 sections of people: current and alumni. Images folder structure: assets
- people
- carousel
- current
- alumni
path: assets/img/people/carousel The files are named 1.jpg,2.jpg, etc If you want to add an additional image you can add {number}.jpg format only and it will be added to the carousel.
path: assets/img/people/current The files are named c1.jpg, c2.jpg, c3.png for convenience. You can name whatever you want as the format for the image or the name is not written in script. To add another image, means to add another person which is described in the later section
path: assets/img/people/alumni The files are named: a1.jpg, a2.png, a3.jpg etc for convenience. You can name whatever you want as the format for the image or the name as it is not written in script. To add another image, means to add another person which is described below.
path: _data/people.yml To the existing file, add another set of details of a person of the following format:
- name: position: image: description: The people are displayed in the order they are listed on in this yml document, if you want to change the order of displaying it, arrange accordingly.
path: _data/alumni.yml To the existing file, add another set of details of a person of the following format:
- name: position: image: description: The people are displayed in the order they are listed on in this yml document, if you want to change the order of displaying it, arrange accordingly.
path: _pages/research.md This page has all the bootstrap cards for various subtopics of research. To add another subtopic you need to add this code snippet into the main div tag:
In this snippet you replace name-of-subtopic with the new name and the cards are added in order to edit accordingly.
path: _pages/fabrication-automation.md In this page all the different subtopics are seperated by a "###" markdown. You can further add topics their description and image in plain HTML.
path: _pages/publications.md This page has the bib search feature to link to another page with publications where the actual content of publications exist.
path: _bibliography/papers.bib On this page the publications are arranged in order, in a way that the publication added at the end of the document is shown on the top of the list. The kind of bibtex required to add publications is as follows: @article{https://doi.org/10.1002/admt.202301668, bibtex_show={true}, year={2024}, publisher={Wiley-VCH GmbH}, comment = {preview={wave-mechanics.gif}, abbr={Tunable Metamaterials},}, author = {Lawrence Smith, Brandon Hayes, Kurtis Ford, Elizabeth Smith, David Flores, and Robert MacCurdy}, title = {Tunable Metamaterials for Impact Mitigation}, journal = {Advanced Materials Technologies}, volume = {n/a}, number = {n/a}, pages = {2301668}, keywords = {additive manufacturing, computational design, impact mitigation, metamaterials}, doi = {https://doi.org/10.1002/admt.202301668}, url = {https://onlinelibrary.wiley.com/doi/abs/10.1002/admt.202301668}, eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1002/admt.202301668}, pdf = {https://www.matterassembly.org/_files/ugd/037f1e_bee3bca59b70426b95568eea8e4a378c.pdf}, abstract = {.} } This sort of code will add another publication on to the page.
In the above given snippet there's a part of code written inside comment = {} removing this from the code will allow you to have an image and a small text on the image according to the publication. You can add/remove/comment that part for each of your publications according to your will.
path: _pages/join-us.md Join us page is very static and displays information about how to contact the lab if someone is interested to join it. Editing the page would directly involve editing the markdown text on the page.