mirror of
https://github.com/cupcakearmy/blaze.git
synced 2024-12-22 16:26:26 +00:00
change div with article
This commit is contained in:
parent
c6eeccaf44
commit
900c16c0ea
4
index.ts
4
index.ts
@ -46,13 +46,13 @@ app.get("/", async (req, res) => {
|
||||
// @ts-ignore
|
||||
response.web.results.forEach((result) => {
|
||||
results.push(`
|
||||
<div>
|
||||
<article>
|
||||
<a href="${url}?url=${result.url}">
|
||||
<h2>${result.title}</h2>
|
||||
</a>
|
||||
<span>${result.meta_url.hostname}</span>
|
||||
<p>${result.description}</p>
|
||||
</div>
|
||||
</article>
|
||||
<hr />
|
||||
`);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user