Coder Social home page Coder Social logo

Comments (4)

gcushen avatar gcushen commented on September 11, 2024

Hi

As briefly mentioned at the end of the Publications section of the latest README (https://github.com/gcushen/hugo-academic/blob/master/README.md ), the image variables are just place holders for now.

However, I have already developed this new functionality for my own website (but not uploaded this new code to my public website yet).

One issue I was considering before also committing it to hugo-academic is how to deal with inconsistency. Most websites utilizing images in lists, do so for all items in the list of publications (and blog articles), like your link also appears to do. The website formatting might not look too good if some posts/publications have images and others do not.

For publications in particular, I am leaning towards keeping the simple list view available and adding a global variable to enable a more detailed list view if desired, which would include short abstract, image, authors, etc.

from wowchemy-hugo-themes.

vinaypn avatar vinaypn commented on September 11, 2024

Hi

Thanks for developing the theme. Thank you also for reverting back promptly.

I agree that the simple list view is nice. It is just that in some areas (Vision, Graphics), it is attractive to add an image in the list. People notice the image and are inclined to read the abstract.

For the inconsistency, one approach could perhaps be to have a placeholder image (default avatar) that would be used for those publications that do not have an image or a flag whether the site creator wants to use the image module in list or not.

from wowchemy-hugo-themes.

gcushen avatar gcushen commented on September 11, 2024

These features have now been added in commit f06857f .

You can add an image = "my-image.jpg" option to the page +++ preamble to enable displaying an image in publication, post, and project page headers. It will automatically assume that the image is located in your static/img/ folder.

Secondly, you can enable the detailed publication list on the homepage by setting detailed_list = true under [params.publications] in config.toml.

The README documentation and example content will be updated to reflect this shortly.

Let me know if you have any other feedback!

from wowchemy-hugo-themes.

vinaypn avatar vinaypn commented on September 11, 2024

Thank you very much! It is very kind of you! It works perfectly.

from wowchemy-hugo-themes.

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.