Add more hugo templates
This commit is contained in:
		
							
								
								
									
										7
									
								
								assets/bootstrap.min.css
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								assets/bootstrap.min.css
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										6
									
								
								assets/bootstrap.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								assets/bootstrap.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								hugo/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								hugo/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
.hugo_build.lock
 | 
			
		||||
/public/
 | 
			
		||||
@@ -1,3 +1,3 @@
 | 
			
		||||
baseURL: http://example.org/
 | 
			
		||||
baseURL: http://blog.balki.me/
 | 
			
		||||
languageCode: en-us
 | 
			
		||||
title: My New Hugo Site
 | 
			
		||||
title: Balki's Blog
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										11
									
								
								hugo/content/index.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								hugo/content/index.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
---
 | 
			
		||||
title: "Home"
 | 
			
		||||
date: 2023-05-31T09:14:56-04:00
 | 
			
		||||
draft: false
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
Welcome to Balki's Blog
 | 
			
		||||
-----------------------
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
I am Balakrishnan Balasubramanian (a) balki. Nothing much here. Checkout the nav bar above for interesting stuff.
 | 
			
		||||
							
								
								
									
										12
									
								
								hugo/content/posts/firstpost.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								hugo/content/posts/firstpost.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
---
 | 
			
		||||
title: "First Post"
 | 
			
		||||
date: 2023-05-30T22:31:45-04:00
 | 
			
		||||
draft: true
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
## Blogging with Hugo
 | 
			
		||||
 | 
			
		||||
Hello world
 | 
			
		||||
 | 
			
		||||
So far good! :)
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										39
									
								
								hugo/layouts/_default/baseof.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								hugo/layouts/_default/baseof.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
<!doctype html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
  <head>
 | 
			
		||||
    <meta charset="utf-8">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
    <meta http-equiv="Content-Security-Policy" content="default-src 'self' 'unsafe-inline' data: ;">
 | 
			
		||||
    <title>
 | 
			
		||||
        {{ block "title" . }}
 | 
			
		||||
        {{ .Site.Title }}
 | 
			
		||||
        {{ end }}
 | 
			
		||||
    </title>
 | 
			
		||||
 | 
			
		||||
    <!-- Diable favicon requests: https://stackoverflow.com/a/13416784 -->
 | 
			
		||||
    <link rel="icon" href="data:;base64,iVBORw0KGgo=">
 | 
			
		||||
    <link href="/assets/bootstrap.min.css" rel="stylesheet" >
 | 
			
		||||
 | 
			
		||||
    <script src="/assets/bootstrap.min.js" defer></script>
 | 
			
		||||
  </head>
 | 
			
		||||
 | 
			
		||||
  <body>
 | 
			
		||||
 | 
			
		||||
    <nav>
 | 
			
		||||
      <ul class="nav">
 | 
			
		||||
        <li class="nav-item"><a class="nav-link" href="/">                                 Home   </a></li>
 | 
			
		||||
        <li class="nav-item"><a class="nav-link" href="https://blog.balki.me">             Blog   </a></li>
 | 
			
		||||
        <li class="nav-item"><a class="nav-link" href="/stuff.html">                       Stuff  </a></li>
 | 
			
		||||
        <li class="nav-item"><a class="nav-link" href="https://gitea.balki.me/balki/blog"> Source </a></li>
 | 
			
		||||
      </ul>
 | 
			
		||||
    </nav>
 | 
			
		||||
 | 
			
		||||
    <div class="container" >
 | 
			
		||||
      <main>
 | 
			
		||||
        {{ block "main" . }}
 | 
			
		||||
        {{ end }}
 | 
			
		||||
      </main>
 | 
			
		||||
    </div>
 | 
			
		||||
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										9
									
								
								hugo/layouts/_default/list.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								hugo/layouts/_default/list.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
{{ define "main" }}
 | 
			
		||||
  <h1>Posts</h1>
 | 
			
		||||
  {{ range .Pages }}
 | 
			
		||||
    <article>
 | 
			
		||||
      <h2>{{ .Title }}</h2>
 | 
			
		||||
      {{ .Content }}
 | 
			
		||||
    </article>
 | 
			
		||||
  {{ end }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
							
								
								
									
										9
									
								
								hugo/layouts/_default/single.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								hugo/layouts/_default/single.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
{{ define "title" }}
 | 
			
		||||
  {{ .Title }} – {{ .Site.Title }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{ define "main" }}
 | 
			
		||||
  <h1>{{ .Title }}</h1>
 | 
			
		||||
  {{ .Content }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								hugo/static/assets/bootstrap.min.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								hugo/static/assets/bootstrap.min.css
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										7
									
								
								hugo/static/assets/bootstrap.min.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								hugo/static/assets/bootstrap.min.js
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
		Reference in New Issue
	
	Block a user