pidgin/nest

c76fb0834ef9
Update the update-lastmod.js file to use date from file

The update-lastmod file was taking the first commit for the specific file and replacing the "date" attribute with the date of the commit. This fix sets the date as the attribute date if it exists and if it doesn't uses the first commit date.

Testing Done:
1. Build docker container
2. Run docker container
3. Run the update-lastmod.js script with node and verified that the files with dates stayed the same and ones without used the first commit.

Reviewed at https://reviews.imfreedom.org/r/640/
/*td img {
margin: 0 !important;
width: 30px;
}
*/
/* stuff from the old pidgin.im */
ul.condensed {
display: block;
}
.condensed li {
width: 33%;
display: inline-block;
}
.donate-button {
display: inline-block;
border-radius: 25px;
color: rgb(0, 0, 0) !important;
background: #fff;
padding: 10px;
width: 100%;
text-align: center;
font-weight: bolder;
font-size: 20px;
}
/*****************************************************************************
* Visual fixes
*****************************************************************************/
#body-inner li p {
/* This is to fix the unwanted p-tags that blackfriday adds */
margin-block-start: 0;
margin-block-end: 0;
}
#body-inner li pre {
margin: 1rem 0;
}
#body-inner li {
margin-block-start: 0.3rem;
margin-block-end: 0.3rem;
}
#body-inner {
margin-bottom: 0;
}
nav#TableOfContents ul li:first-child:nth-last-child(1) {
/* Hide bullets for list items without siblings, aka, the H1 item when
* all headings are all H2 (or lower). */
list-style-type: none;
}
nav#TableOfContents code {
/* Make titles with code snippets look nicer */
white-space: nowrap;
color: #8451a1;
background: #e2e2fd;
padding: 0px 2px;
}
/*****************************************************************************
* Footline
*****************************************************************************/
#footline {
background: rgb(246, 246, 246);
border-radius: 15px;
text-align: center;
margin-top: 15px;
padding: 1rem;
}
.footline-block {
margin-block-end: 1rem;
margin-top: 0;
}
.footline-block:last-child {
margin-block-end: 0;
}
#page-info {
padding: 10px;
}
#page-info > div {
display: inline-block;
width: 49%;
}
.footline-columns {
vertical-align: top;
padding: 0;
}
.footline-columns > li {
display: inline-block;
list-style-type: none;
}
.footline-columns > li::after {
content: "\00b7";
}
.footline-columns > li:last-child::after {
content: "";
}
.footline-old-site-info > ul {
margin-top: 0;
margin-bottom: 0;
}
.footline-old-site-info > ul > li {
list-style-type: none;
}
.copyright-text {
font-size: x-small;
}
/*****************************************************************************
* Supporters
*****************************************************************************/
.supporters {
padding: 7px;
text-align: center;
}
.supporters a {
display: inline-block;
margin: 0 5px;
max-height: 40px;
max-width: 190px;
vertical-align: middle;
}
.supporters img {
display: inline-block !important;
margin: 0 !important;
width: auto;
}
/*****************************************************************************
* Pligin Table
*****************************************************************************/
.plugin-icon {
vertical-align: top;
padding: 0.25rem !important;
text-align: center;
}
.plugin-icon img {
margin: 0 !important;
min-width: 48px !important;
height: 48px;
width: 48px;
}
.plugin-heading,
.plugin-publisher,
.plugin-type,
.plugin-info,
.plugin-repo {
vertical-align: top;
}
.plugin-publisher {
text-align: center;
padding: 0.25rem !important;
}
div.item-nav::after {
clear: both;
display: block;
content: "";
}
div.next {
text-align: right;
float: right;
}
div.prev {
text-align: left;
float: left;
}
/*****************************************************************************
* End of structure
*****************************************************************************/