feat(style): remove timeago.js, and improve article-time style
This commit is contained in:
@@ -9,14 +9,6 @@ let Stack = {
|
||||
*/
|
||||
menu();
|
||||
|
||||
/**
|
||||
* Add timeago
|
||||
*/
|
||||
const timeagoElements = document.querySelectorAll('article time[data-timeago=true]');
|
||||
if (timeagoElements.length) {
|
||||
timeago.render(timeagoElements);
|
||||
}
|
||||
|
||||
if (document.querySelector('.article-content')) {
|
||||
createGallery('.article-content');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user