Compare commits

..

No commits in common. "b238f4c621de088dcfe15d5b8db9b8494797455b" and "8005748298628e13dcc114c046f7f0fb51708320" have entirely different histories.

7 changed files with 3 additions and 34 deletions

5
.gitignore vendored
View File

@ -1,5 +0,0 @@
src/uploads
_vendor
_site
_bin
deno.lock

View File

@ -6,8 +6,6 @@ const site = lume({
location: new URL("https://blog.deca.eco"), location: new URL("https://blog.deca.eco"),
}); });
site.copy("img");
site.use(relativeUrls()); site.use(relativeUrls());
site.use(blog()); site.use(blog());

View File

@ -1,7 +1,5 @@
lang: en lang: en
logo: deca-logo.png
home: home:
welcome: DECA PROTOCOL welcome: DECA PROTOCOL
icon: favicon.png icon: favicon.png

View File

@ -31,27 +31,5 @@
} }
.navbar-home { .navbar-home {
display: flex;
align-self: center;
align-items: center;
color: var(--color-foreground);
column-gap: 10px;
text-decoration: none; text-decoration: none;
font: var(--text-body-bold);
letter-spacing: var(--text-title-spacing);
& img {
margin-bottom: 10px;
width:175px;
height:58px;
} }
& span {
@media (max-width: 820px) {
display: none;
}
}
}

View File

@ -13,7 +13,7 @@
<link rel="stylesheet" href="/styles.css"> <link rel="stylesheet" href="/styles.css">
<link rel="alternate" href="/feed.xml" type="application/atom+xml" title="{{ metas.site }}"> <link rel="alternate" href="/feed.xml" type="application/atom+xml" title="{{ metas.site }}">
<link rel="alternate" href="/feed.json" type="application/json" title="{{ metas.site }}"> <link rel="alternate" href="/feed.json" type="application/json" title="{{ metas.site }}">
<link rel="icon" type="image/png" sizes="32x32" href="/img/favicon.png"> <link rel="icon" type="image/png" sizes="32x32" href="/favicon.png">
<link rel="canonical" href="{{ url |> url(true) }}"> <link rel="canonical" href="{{ url |> url(true) }}">
<script src="/js/main.js" type="module"></script> <script src="/js/main.js" type="module"></script>
{{ it.extra_head?.join("\n") }} {{ it.extra_head?.join("\n") }}
@ -22,7 +22,7 @@
<nav class="navbar"> <nav class="navbar">
<a href="/" class="navbar-home"> <a href="/" class="navbar-home">
{{ if it.logo }} {{ if it.logo }}
<img src="/img/{{ it.logo }}" alt="{{ metas.site }}"> {{ it.logo }}
{{ else }} {{ else }}
<strong>{{ metas.site }}</strong> <strong>{{ metas.site }}</strong>
{{ /if }} {{ /if }}

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB