Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.

Index's pagination always points to a broken link "Tags" #68

Closed
blacktop opened this issue Jul 2, 2017 · 6 comments
Closed

Index's pagination always points to a broken link "Tags" #68

blacktop opened this issue Jul 2, 2017 · 6 comments

Comments

@blacktop
Copy link

blacktop commented Jul 2, 2017

screen shot 2017-07-02 at 10 54 13 am

This leads to a 404 and I am not sure how to fix it?

This is a truly beautiful theme. Thank you

@wonslung
Copy link

wonslung commented Jul 5, 2017

I'm having this same issue....thanks for any help

@chhh
Copy link

chhh commented Jul 7, 2017

same issue here

@jesposito
Copy link

Same issue - is there a quick fix?

@blacktop
Copy link
Author

blacktop commented Jul 22, 2017

I was able to fix it by changing this line: https://github.com/digitalcraftsman/hugo-material-docs/blob/master/layouts/partials/footer.html#L53

to this:

  {{ $title := (index (.Site.Pages.ByWeight) 1).Title  }}
  {{ $permalink := (index (.Site.Pages.ByWeight) 1).Permalink }}

@blacktop
Copy link
Author

FYI this also fixes the issue #73

ianabc added a commit to pimsmath/syzygy-intro that referenced this issue Oct 20, 2017
Somehow "Tags" is always the first link with this theme. The
problem is described and fixed in a "closed" issue

digitalcraftsman/hugo-material-docs#68

Signed-off-by: Ian Allison <[email protected]>
@RTodorov
Copy link

Why is this issue closed? It's still happening and not fixed in master. Can I open a PR and get it merged?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants