Basially, the publication page is created to represent a
.bib file. But you can use the publication page as needed.
I made a library to parse the
mdfile. Follow the steps below to install the library.
Install pip(The Python Package Installer) first.
zzo-bibtex-paresrby typing this in your terminal.
pip install zzo-bibtex-parser==1.0.8
Prepare your .bib file to the root folder.
Assuming your file name is bibtex.bib, from the root of your project, type this.
zzo --path bibtex.bib
Make a publication menu. In your menu.toml file
... [[main]] identifier = "publication" name = "Publications" url = "publication" weight = 6
Set new param to your
... pubPaginate = 20
Now, you can see the publications page when you start the hugo
If the year of the post is the curreny year, the post set the
If you don’t have
.bib file and just take advantage of the publication page, you can manually make the pages.
Make a publication folder in content folder.
Make a subfolder and
_index.mdfile. This subfolder will be a section of the publication page. I’ll make an
articlefolder as an example.
1 2 3 4 5
--- title: article # must be the same with the folder name date: 2020-02-08 19:37:21.760316 description: Publication - article # for SEO ---
Make a folder in the article folder we made above and make
index.mdfile in that folder.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
--- authors: ['Watson, Brian M.'] publication: "American Libraries Magazine" abstract: "Kristin Pekoll, Assistant Director of ALA Office for Intellectual Freedom (OIF) began the session by announcing that OIF had recorded 531 affected items in 2018—which is a step beyond just challenges. These items included books films, board games, video games, magazines and much more. Sarah Ward, outreach librarian at Hunter College Libraries in New York … Continue reading Still Chilling: Censorship Beyond Banned Books →" links: - name: url link: https://americanlibrariesmagazine.org/blogs/the-scoop/still-chilling-censorship-beyond-banned-books/) shorttitle: "Still Chilling" copyright: "All rights reserved" title: "Still Chilling: Censorship Beyond Banned Books" ENTRYTYPE: "article" enableToc: False enableWhoami: True pinned: False publishDate: "2019-06-01" ---
In the above
ENTRYTYPEparam should be the same with the section name(In our case,
Now, you get the idea. Make any section you want and there, make any publication like above.
You can pin the publication by setting parameter
true. The pinned publication will show up in the overview page.