Comments (4)
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.
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.
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.
Thank you very much! It is very kind of you! It works perfectly.
from wowchemy-hugo-themes.
Related Issues (20)
- All three map providers supported by Hugo are not available in China HOT 1
- Dark mode breaks highlighting lines in code blocks HOT 8
- Problem with deployment on GitHub Pages (Node.js 16) HOT 1
- filter will not work on hugo v0.123.7 HOT 1
- Add Google Scholar expected meta tags to publication pages HOT 2
- Add slider to gallery block HOT 1
- HUGO language HOT 1
- The latest version will cause an error when building when following the tutorial for configuration. HOT 1
- Build with Hugo, `publish.yaml` failing HOT 1
- `cite` short code usage in the documentation causing an error HOT 1
- People Widget HOT 2
- Non functional fields in `academic-cv` HOT 1
- Author formatting in tailwind publications HOT 2
- Need to improve the clarity of the avatar and provide a size option HOT 3
- Added color options for the gray font on the home page background HOT 1
- Port `author_notes` feature from Bootstrap to Tailwind module
- Let the user choose Katex or Mathjax HOT 1
- What is the template used on the documention site
- Citation view not wrapping in case of many links HOT 6
- No TOC shown for book since hugo v0.123.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wowchemy-hugo-themes.