Skip to content

Commit ad8a4a9

Browse files
committed
good seo
1 parent 18ce390 commit ad8a4a9

27 files changed

+33
-1298
lines changed

config.toml

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,20 @@
1-
baseURL = ""
1+
baseURL = "/"
22
languageCode = "id-ID"
33
defaultContentLanguage = "id"
44
title = "SoundTown"
55
summaryLength = 10
6+
RelativeURLs = false
7+
CanonifyURLs = true
8+
enableRobotsTXT = true
9+
enableEmoji = true
610
paginate = 8
711
enableGitInfo = true
812
pygmentsCodefences = true
913
pygmentsUseClasses = true
1014

1115
[params]
1216
site_name = "SoundTown"
13-
description = ""
17+
description = "SoundTown is an online music collaboration platform, focused on iterating on small ideas into big ideas. The main functionality at the moment is communication across groups/teams of people, uploading audio files and commenting on them."
1418
locale = "en-US"
1519
type = "website"
1620

content/somepage.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ date: 2021-07-20T20:19:50+07:00
55
draft: false
66
toc: true
77
keyword: [tutorial, website]
8-
# thumbnail: "/images/about.png"
8+
# thumbnail: "/images/about.webp"
99
tags: [test, test2]
1010
categories: [tutorial]
1111
---

layouts/_default/baseof.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html class="scroll-smooth scroll-pt-24 lg:scroll-pt-32">
2+
<html lang="en" class="scroll-smooth scroll-pt-24 lg:scroll-pt-32">
33

44
<head>
55
{{- partial "head.html" . -}}

layouts/_default/single.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<h1 class="text-[36px] lg:text-[64px] leading-normal font-bold">{{.Title}}</h1>
77
</div>
88
<div>
9-
<a href="/">Home</a> <span class="px-3">/</span> <a href="" class="text-primary">{{.Title}}</a>
9+
<a href="/">Home</a> <span class="px-3">/</span> <a href="#" class="text-primary">{{.Title}}</a>
1010
</div>
1111
</div>
1212
</header>

layouts/index.html

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ <h2 class="text-[36px] lg:text-[64px] leading-tight font-bold">
1414

1515
<!-- show on mobile, hide on desktop -->
1616
<div class="block lg:hidden mt-10 mb-20 px-4">
17-
<img class="frame" src="/images/hero-image.png" alt="">
17+
<img class="frame" src="/images/hero-image.webp" alt="hero">
1818
</div>
1919

2020
<div class="mt-12 flex flex-col lg:flex-row items-center gap-5 lg:gap-12">
2121
<a href="#" class="flex items-center justify-center w-full lg:w-auto px-8 py-2.5 rounded-md border border-primary bg-secondary hover:bg-black transition">
2222
Learn More
2323
</a>
2424
<a href="#" class="flex items-center justify-center w-full lg:w-auto gap-2 px-8 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">
25-
Try Now <img src="/images/play-icon.svg" alt="">
25+
Try Now <img src="/images/play-icon.svg" alt="play">
2626
</a>
2727
</div>
2828
</div>
2929

3030
<!-- show on desktop, hide on mobile -->
3131
<div class="hidden lg:block px-4">
32-
<img class="frame" src="/images/hero-image.png" alt="">
32+
<img class="frame" src="/images/hero-image.webp" alt="hero">
3333
</div>
3434
</section>
3535

@@ -39,13 +39,13 @@ <h2 class="text-[36px] lg:text-[64px] leading-tight font-bold">
3939
<div class="bg-[#FFC148] h-3 w-3 rounded-full"></div>
4040
<div class="bg-[#78FF48] h-3 w-3 rounded-full"></div>
4141
</div>
42-
<img class="hidden lg:block w-full" src="/images/app.png" alt="">
43-
<img class="block lg:hidden w-full" src="/images/app-mobile.png" alt="">
42+
<img class="hidden lg:block w-full" src="/images/app.webp" alt="app desktop version">
43+
<img class="block lg:hidden w-full" src="/images/app-mobile.webp" alt="app mobile version">
4444
</section>
4545

4646
<section id="about" class="max-w-screen-xl mx-auto mt-36 lg:mt-60 flex flex-col lg:flex-row items-start lg:items-center justify-between w-full">
4747
<div class="px-4">
48-
<img class="frame-2" src="/images/about.png" alt="">
48+
<img class="frame-2" src="/images/about.webp" alt="about">
4949
</div>
5050
<div class="w-full lg:w-[45%] mt-16 lg:mt-0">
5151
<h2 class="text-[32px] lg:text-[64px] leading-normal font-bold mb-4"><span class="text-primary">About</span> Soundtown</h2>
@@ -65,7 +65,7 @@ <h2 class="text-[32px] lg:text-[64px] leading-normal font-bold mb-4"><span class
6565
<div class="relative p-3 bg-white h-max">
6666
<div class="absolute top-3 inset-x-3 bg-primary h-60"></div>
6767
<div class="p-3">
68-
<img class="relative w-full" src="/images/m1.png" alt="">
68+
<img class="relative w-full" src="/images/m1.webp" alt="testimonial">
6969
</div>
7070
<div class="p-3 mt-2">
7171
<h2 class="text-secondary text-4xl font-semibold mb-5">
@@ -81,7 +81,7 @@ <h2 class="text-secondary text-4xl font-semibold mb-5">
8181
<div class="relative p-3 bg-white h-max">
8282
<div class="absolute top-3 inset-x-3 bg-primary h-60"></div>
8383
<div class="p-3">
84-
<img class="relative w-full" src="/images/m2.png" alt="">
84+
<img class="relative w-full" src="/images/m2.webp" alt="testimonial">
8585
</div>
8686
<div class="p-3 mt-2">
8787
<h2 class="text-secondary text-4xl font-semibold mb-5">
@@ -97,7 +97,7 @@ <h2 class="text-secondary text-4xl font-semibold mb-5">
9797
<div class="relative p-3 bg-white h-max">
9898
<div class="absolute top-3 inset-x-3 bg-primary h-60"></div>
9999
<div class="p-3">
100-
<img class="relative w-full" src="/images/m3.png" alt="">
100+
<img class="relative w-full" src="/images/m3.webp" alt="testimonial">
101101
</div>
102102
<div class="p-3 mt-2">
103103
<h2 class="text-secondary text-4xl font-semibold mb-5">
@@ -113,7 +113,7 @@ <h2 class="text-secondary text-4xl font-semibold mb-5">
113113
<div class="relative p-3 bg-white h-max">
114114
<div class="absolute top-3 inset-x-3 bg-primary h-60"></div>
115115
<div class="p-3">
116-
<img class="relative w-full" src="/images/m3.png" alt="">
116+
<img class="relative w-full" src="/images/m3.webp" alt="testimonial">
117117
</div>
118118
<div class="p-3 mt-2">
119119
<h2 class="text-secondary text-4xl font-semibold mb-5">

layouts/partials/footer.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h1 class="text-xl font-medium flex gap-1 items-end">
44
<div class="pb-0.5">oundTown</div>
55
</h1>
66
<a href="#" class="flex items-center gap-3 bg-primary hover:bg-primary/90 transition px-4 py-3 rounded-md mt-10 mb-12">
7-
<img src="/images/email.svg" alt="">
7+
<img src="/images/email.svg" alt="email">
88
Contact Us
99
</a>
1010

layouts/partials/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66

77
<link rel="canonical" href="{{ .Permalink | absURL }}" />
8-
<meta property="og:locale" content="en_US" />
8+
<meta property="og:locale" content="en_US" />
99
<meta property="og:type" content="{{ or .Type `website` }}" />
1010
<meta property="og:title" content="{{ .Title }}" />
1111
{{if .Description}}

layouts/partials/header.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<div class="font-black text-4xl text-primary">S</div>
66
<div class="pb-0.5">oundTown</div>
77
</a>
8-
<button class="toggle-menu block lg:hidden">
9-
<img src="/images/menu.svg">
8+
<button name="menu" class="toggle-menu block lg:hidden">
9+
<img src="/images/menu.svg" alt="menu">
1010
</button>
1111
</div>
1212
<nav class="menu translate-y-[-150%] lg:translate-y-0">
@@ -18,15 +18,15 @@
1818
<a href="/somepage" class="hover:text-primary transition">Some Page</a>
1919

2020
<!-- show on mobile, hide on desktop -->
21-
<a href="" class="block lg:hidden hover:text-primary transition">Log in</a>
22-
<a href="" class="block lg:hidden px-4 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">Create Account</a>
21+
<a href="#" class="block lg:hidden hover:text-primary transition">Log in</a>
22+
<a href="#" class="block lg:hidden px-4 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">Create Account</a>
2323

2424
</nav>
2525

2626
<!-- show on desktop, hide on mobile -->
2727
<div class="hidden lg:flex items-center gap-9">
28-
<a href="" class="hover:text-primary transition">Log in</a>
29-
<a href="" class="block px-4 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">Create Account</a>
28+
<a href="#" class="hover:text-primary transition">Log in</a>
29+
<a href="#" class="block px-4 py-2.5 rounded-md bg-primary hover:bg-primary/90 transition">Create Account</a>
3030
</div>
3131
</div>
3232
</header>

0 commit comments

Comments
 (0)