Giter Site home page Giter Site logo

Comments (10)

gcushen avatar gcushen commented on September 7, 2024 1

The publication filter for the publication index page (located at http://YOUR_URL/publication/) has been implemented in update ae3a757.

If you click on the commit link, you can see which new parameters you'll need to add to your config.toml and publication frontmatter by looking at the highlighted changes for files in the exampleSite/ folder.

Demo at https://gcushen.github.io/hugo-academic-demo/publication/ .

I look forward to hearing your feedback :)

from hugo-blox-builder.

gcushen avatar gcushen commented on September 7, 2024

@sorooshafiee yes, this is an interesting idea and it is something I have been considering.

Ideally this would be implemented using JS and JSON, but at the time the theme was created, Hugo could not produce a good JSON output of page data. Maybe things have changed now, I'll try to look into it again.

Also, if you look at any reference management tool, it supports a massive range of publication types and the most relevant publication types may vary a bit according to discipline. However, something similar to the four types you mentioned should provide a good general selection for everyone whilst maintaining the theme's simplicity.

from hugo-blox-builder.

abjer avatar abjer commented on September 7, 2024

Perhaps you could also make the publications section more generic, for instance as 'Research' and include a subsection with unpublished manuscripts/working papers.

from hugo-blox-builder.

abjer avatar abjer commented on September 7, 2024

Nevermind, I realise this is possible through config.toml

from hugo-blox-builder.

hogtave avatar hogtave commented on September 7, 2024

Hi,
I think the publication filter is a great idea and gives an extra degree of flexibility, given that we can create custom types (e.g "first author" or β€œpatent” types). However, I found that only the first type specified with publication_types is taken into account.
Has anyone run into the same problem?

from hugo-blox-builder.

jagd avatar jagd commented on September 7, 2024

@hogtave
you can add your own category item e.g. patent easily.

First author should be orthogonal to this category list , you may want to apply #323 to your code.

from hugo-blox-builder.

hogtave avatar hogtave commented on September 7, 2024

@jagd thank you, i missed #323 for the first author usecase.

I realized i was really unclear in my previous comment.
What i meant is that, in the case a publication has several types, only the first type is taken into account when filtering the publication on http://YOUR_URL/publication/.
For instance, if i create the types #7 "Academic Publications" in the config file and in a publication, if i let publication_types be ["1","7"]. Then, on http://YOUR_URL/publication/, i'll be able to see the publication in the list by setting "Conference proceedings", but i'll have a blank page when selecting the filter "Academic Publications".
The publications widgets on the front page works perfectly with both publication_type=1 and publication_type=7 tho.
Am i missing something?
NB : i used this to have two publication widgets on the frontpage, one for patents, one for actual publications.

from hugo-blox-builder.

jagd avatar jagd commented on September 7, 2024

Indeed I have understood you @hogtave quite well.
That was actually also my first idea to handle this issue. I've modify the template and actually have implemented this "multiple publication_types" feature.

It worked as what you described, however I realized that I may not like this way to handle the categories and then I switched back to the single pub type. There were several reasons for that.

from hugo-blox-builder.

hogtave avatar hogtave commented on September 7, 2024

Gotcha. I guess I'll go for something along the lines of #323 then.
Thanks for your answer.

from hugo-blox-builder.

sbmaruf avatar sbmaruf commented on September 7, 2024

@gcushen So far the papers are automatically sorted by year. Is there any way to do with dates (with year, month, date)?
Sometimes we may need to sort our important papers at first in a specific year. (Like you always want to show your best paper of the year at first. )

from hugo-blox-builder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.