feat(style): remove timeago.js, and improve article-time style

This commit is contained in:
Jimmy Cai
2020-09-03 11:47:55 +02:00
parent 4bf9d82961
commit af487e0f3f
3 changed files with 3 additions and 15 deletions
-8
View File
@@ -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');
}