index.html- The site itselfcss/- Custom CSS filescolors.css- Theme colorsmain.css- Overrides for w3pro.cssw3pro.css- W3.CSS Pro, as downloaded in October 2024
img/- Graphic assets.favicon.png- 32px by 32px.group/- Group photos. 1080px on the longest side, 144ppi,.jpgfiles.portraits/- Individual photos. 1080px by 1080px, 144ppi,.jpgfiles.README/- Images for~/README.md.
js/- Custom javascript files.show.js- Function for revealing hidden children (ie mobile navigation)publications.js- Scripts to handle pagination of publications.
- Update Zotero collection.
- Export the Zotero collection as a
.csv. - Open the exported file in Excel.
- Create a new column in the first position with "HTML" as the column title.
- Select all the data on the sheet (including the column created above) and press
CTRL+tto convert it to a table. - Sort the data by the "Publication Year"
- In the "HTML" column you created, add the following formula to each cell:
=
"<li class='publication w3-hide'><p><a href='"
& IF(NOT(ISBLANK([@DOI])),"https://doi.org/" & [@DOI], [@Url])
& "'>"
& [@Title]
& "</a>, "
& [@Author]
& ", "
& IF(NOT(ISBLANK([@[Publication Title]])), "<i>"&[@[Publication Title]]&"</i>, ","")
& [@[Publication Year]]
& "</p></li>"
- If done properly, the "HTML" column should contain cells of formatted HTML elements for each publication, looking something like this:
- Delete all the current publications in
index.html. There are comments in the file indicating where they begin and end. - Copy and paste the "HTML" column data from the spreadsheet into
index.htmlwhere indicated by the comments. - Save and publish.
- Export HTML directly from Zotero with "Create Bibliography From Collection" with "American Medical Association 11th edition" formatting, then transclude it into
index.htmlwhen the page loads.
- Publications
- Pagination
- Transclusion
