Comments (10)
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.
@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.
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.
Nevermind, I realise this is possible through config.toml
from hugo-blox-builder.
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.
@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.
@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.
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.
Gotcha. I guess I'll go for something along the lines of #323 then.
Thanks for your answer.
from hugo-blox-builder.
@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)
- fix docs: list_children missing? HOT 1
- highlight self name in authors list when importing from bibtex HOT 3
- 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
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 hugo-blox-builder.