initial commit

This commit is contained in:
Laurent Le Houerou 2020-12-18 14:27:46 +04:00
commit af137b25b0
10 changed files with 122 additions and 0 deletions

6
.gitmodules vendored Normal file
View File

@ -0,0 +1,6 @@
[submodule "themes/academia"]
path = themes/academia
url = https://github.com/themefisher/academia-hugo.git
[submodule "themes/hugo-sustain"]
path = themes/hugo-sustain
url = https://github.com/nurlansu/hugo-sustain.git

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

44
config.toml Normal file
View File

@ -0,0 +1,44 @@
baseurl = "https://laurentlehouerou.com"
languageCode = "fr-FR"
title = "Laurent Le Houerou"
# Enable comments by entering your Disqus shortname
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
theme = "hugo-sustain"
[permalinks]
post = "/:year/:month/:day/:slug"
[params]
avatar = "profile.jpg"
author = "Laurent Le Houerou"
description = "Description"
# Custom assets can be linked with their paths relative to static/
custom_css = []
custom_js = []
[params.social]
Github = "llehouerou"
Email = "laurent@lehouerou.net"
Twitter = "HouerouLaurent"
LinkedIn = "laurent-le-houerou-2799461a"
Stackoverflow = "laurent-le-houerou"
# ## Main Menu
# [[menu.main]]
# name = "blog"
# weight = 100
# identifier = "blog"
# url = "/blog/"
# [[menu.main]]
# name = "projects"
# identifier = "projects"
# weight = 200
# url = "/projects/"
# [[menu.main]]
# name = "resume"
# identifier = "resume"
# weight = 300
# url = "/resume/"

18
layouts/index.html Normal file
View File

@ -0,0 +1,18 @@
{{ partial "head" . }}
<body>
<div id="wrap">
{{ partial "header" . }}
<section id="about">
<div class="container">
<div class="avatar">
<img class="img-circle" src="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}" alt="Responsive image">
</div>
<h3>I'm <strong>{{ .Site.Params.author }}</strong>, a Software Engineer.</h3>
<h3>Contact me at <a href="http://twitter.com/{{ .Site.Params.Social.Twitter }}">@{{ .Site.Params.Social.Twitter }}</a> or by <a href="mailto:{{ .Site.Params.Social.Email }}">email</a>.</h3>
{{ partial "social.html" . }}
</div>
</section>
</div>
{{ partial "footer" . }}
</body>
</html>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on My New Hugo Site</title>
<link>http://example.org/categories/</link>
<description>Recent content in Categories on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="http://example.org/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

10
public/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>My New Hugo Site</title>
<link>http://example.org/</link>
<description>Recent content on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="http://example.org/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

17
public/sitemap.xml Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>http://example.org/categories/</loc>
</url>
<url>
<loc>http://example.org/</loc>
</url>
<url>
<loc>http://example.org/tags/</loc>
</url>
</urlset>

10
public/tags/index.xml Normal file
View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on My New Hugo Site</title>
<link>http://example.org/tags/</link>
<description>Recent content in Tags on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="http://example.org/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

BIN
static/img/profile.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

1
themes/hugo-sustain Submodule

@ -0,0 +1 @@
Subproject commit cdd0fb54cfb13cec22d6db9e2166310ab7ab16ed