mirror of
https://github.com/wassname/template.git
synced 2026-08-03 13:20:32 +08:00
Styling
This commit is contained in:
@@ -59,7 +59,10 @@ const html = `
|
||||
export default function(dom, data) {
|
||||
let el = dom.querySelector('dt-appendix')
|
||||
if (el) {
|
||||
let oldHtml = el.innerHTML;
|
||||
el.innerHTML = html;
|
||||
let div = el.querySelector("div.l-body")
|
||||
div.innerHTML = oldHtml + div.innerHTML;
|
||||
|
||||
el.querySelector("a.github").setAttribute("href", data.githubUrl);
|
||||
el.querySelector("a.github-issue").setAttribute("href", data.githubUrl + "/issues/new");
|
||||
|
||||
Reference in New Issue
Block a user