Skip to content

Commit

Permalink
updating templates
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredwray committed Feb 1, 2024
1 parent 5cdbb4c commit 788581d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Binary file removed site/logo.png
Binary file not shown.
1 change: 1 addition & 0 deletions site/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export class WritrBuilder {
}

// Copy over logo
if (await fs.pathExists(`${siteRelativePath}/logo.png`)) {
await fs.copy(`${siteRelativePath}/logo.png`, `${this.options.outputPath}/logo.png`);
if (await fs.pathExists(`${siteRelativePath}/logo.svg`)) {
await fs.copy(`${siteRelativePath}/logo.svg`, `${this.options.outputPath}/logo.svg`);
}

// Copy over css
Expand Down
3 changes: 1 addition & 2 deletions template/includes/header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,4 @@
rel="stylesheet"
/>
<link rel="stylesheet" href="/css/highlight/styles/base16/dracula.min.css" />
<link rel="icon" type="image/svg+xml" href="/images/favicon.svg" />
<link rel="icon" type="image/png" href="/images/favicon.png" />
<link rel="icon" href="/favicon.ico" />
2 changes: 1 addition & 1 deletion template/includes/landing/hero.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section>
<div class="home-hero">
<img src="/images/logo.svg" alt="logo" />
<img src="/logo.svg" alt="logo" />
<div class="home-container">
<h1>{{siteTitle}}</h1>
</div>
Expand Down

0 comments on commit 788581d

Please sign in to comment.