timvink / mkdocs-git-revision-date-localized-plugin

MkDocs plugin to add a last updated date to your site pages
https://timvink.github.io/mkdocs-git-revision-date-localized-plugin/index.html
MIT License
206 stars 44 forks source link

Error when document has no .timeago class #61

Closed ErliSoares closed 3 years ago

ErliSoares commented 3 years ago

Can be simulated using a template in markdown

---
template: landingpage.html
title: Gestão da Cafeicultura
---

Error:

Uncaught TypeError: Cannot read properties of undefined (reading 'getAttribute')
    at timeago_mkdocs_material.js:7
    at Object.next (bundle.d9c629a2.min.js:3)
    at t._next (bundle.d9c629a2.min.js:3)
    at t.next (bundle.d9c629a2.min.js:3)
    at bundle.d9c629a2.min.js:3
    at Ge (bundle.d9c629a2.min.js:3)
    at t.next (bundle.d9c629a2.min.js:3)
    at t.next (bundle.d9c629a2.min.js:3)
    at Object.next (bundle.d9c629a2.min.js:3)
    at t._next (bundle.d9c629a2.min.js:3)