Skip to content

Commit

Permalink
enable robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
eli32-vlc committed Apr 16, 2024
1 parent 57b40ab commit 781c128
Show file tree
Hide file tree
Showing 10 changed files with 449 additions and 2 deletions.
1 change: 1 addition & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ baseURL = 'https://blog.eason.fr.to/'
languageCode = 'en-us'
title = 'Eason Li'
theme = "paper"
enableRobotsTXT = true

[params]
avatar = '[email protected]'
Expand Down
1 change: 1 addition & 0 deletions public/googlebac357e739e8a74f.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: googlebac357e739e8a74f.html
13 changes: 13 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,19 @@ <h1 class="mb-2 mt-3 text-[1.6rem] font-bold">Eason Li</h1>



<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0">

<h2 class="!my-0 pb-1 font-bold !leading-none">How To Build A Simple Website With Hugo</h2>
<time class="text-sm antialiased opacity-60"
>Apr 16, 2024</time
>
<a class="absolute inset-0 text-[0]" href="https://blog.eason.fr.to/posts/how-to-build-a-simple-website-with-hugo/">How To Build A Simple Website With Hugo</a>
</section>





<section class="relative my-10 first-of-type:mt-0 last-of-type:mb-0">

<h2 class="!my-0 pb-1 font-bold !leading-none">How I Created A Simple Python API For Generating Random Word</h2>
Expand Down
9 changes: 8 additions & 1 deletion public/index.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,15 @@
<description>Recent content on Eason Li</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate>Mon, 15 Apr 2024 13:02:04 +1000</lastBuildDate>
<lastBuildDate>Tue, 16 Apr 2024 13:02:04 +1000</lastBuildDate>
<atom:link href="https://blog.eason.fr.to/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>How To Build A Simple Website With Hugo</title>
<link>https://blog.eason.fr.to/posts/how-to-build-a-simple-website-with-hugo/</link>
<pubDate>Tue, 16 Apr 2024 13:02:04 +1000</pubDate>
<guid>https://blog.eason.fr.to/posts/how-to-build-a-simple-website-with-hugo/</guid>
<description>Introduction In this blog post, I&amp;rsquo;ll demonstrate how to construct a basic website using Hugo. For those unfamiliar, Hugo is a static site generator written in Go, known for its speed and user-friendliness. It&amp;rsquo;s versatile enough to create anything from straightforward blogs to intricate websites. As an example, this very blog post you&amp;rsquo;re reading is crafted using Hugo with the Paper theme.&#xA;Prerequisites Before we dive in, ensure you have the following:</description>
</item>
<item>
<title>How I Created A Simple Python API For Generating Random Word</title>
<link>https://blog.eason.fr.to/posts/how-i-created-a-simple-python-api-for-generating-random-word/</link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,12 @@ <h4 id="thanks-for-reading">Thanks for Reading!</h4>

<nav class="mt-24 flex rounded-lg bg-black/[3%] text-lg dark:bg-white/[8%]">

<a
class="flex w-1/2 items-center rounded-l-md p-6 pr-3 font-semibold no-underline hover:bg-black/[2%] dark:hover:bg-white/[3%]"
href="https://blog.eason.fr.to/posts/how-to-build-a-simple-website-with-hugo/"
><span class="mr-1.5"></span><span>How To Build A Simple Website With Hugo</span></a
>


<a
class="ml-auto flex w-1/2 items-center justify-end rounded-r-md p-6 pl-3 font-semibold no-underline hover:bg-black/[2%] dark:hover:bg-white/[3%]"
Expand Down
Loading

0 comments on commit 781c128

Please sign in to comment.