Closed theodore-s-beers closed 6 years ago
Projects were initially designed only to be accessed via the Project widget. Furthermore, one of the main principles of Academic is to attempt to simplify things and keep everything on a single page (the home page) where possible.
The only part that doesn't sit well with me is that it's inconsistent with the other sections. For example, there's no obvious way (as far as I know) of clicking through to the talk section index, but it exists nonetheless.
A link to the talk index/archive page appears in the talk widget (not selected talk widget) when you have more talks than fit in the widget. This is controlled by count
option in home/talks.md
(https://raw.githubusercontent.com/gcushen/hugo-academic/master/exampleSite/content/home/talks.md):
# Number of talks to list.
count = 10
Hence, the link to the index page is consistent with how post and publication widgets link to their index pages.
Ah, I hadn't noticed that. (It's unlikely I'll ever have enough talks posted at once to trigger the overflow…) Thanks for the clarification!
Separately, is it considered desirable in web design that each directory, if addressed on its own, should lead somewhere relevant? I'm building a new version of my page that includes a couple projects, and it bothers my OCD that /project goes to 404. I may just add a simple redirect to /#projects.
Hello,
Google crawler notice me there is no project page. This page is referenced in sitemap.xml
I could create an file _index.md
on order to get a blank page instead of 403 or 404. Maybe we should create a layout to list all projects?
Regards,
@anayrat good point. We should either remove the project index from the sitemap or add a page for it. Since the Project widget is designed to show all projects within the widget, I'm not so sure it's necessary to create another page to list them...
Personally, I'd have gone with consistency. I believe projects should have a separate page like posts and publications. I was able to do this by copying the academic-kickstart/themes/academic/layouts/section/post.html
to academic-kickstart/layouts/section/project.html
and creating an _index.md
in academic-kickstart/content/project/
. Note that this method does not mess with the theme folder.
And there is a file for layouts/section/project.html, but it's empty.