Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/AngeloStavrow/indigo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAngelo Stavrow <angelo@fogcreek.com>2018-08-14 17:21:32 +0300
committerAngelo Stavrow <angelo@fogcreek.com>2018-08-14 17:21:32 +0300
commitd68a675504bba7f43437912eab94cba12784b205 (patch)
tree81a0891adb8e22fa42779536e999d4a5b8df4d1b
parent994fd986bab1cf0baa4c7cfde62929e5f2a0772e (diff)
Add a sample config.toml and make theme.toml generic
-rw-r--r--config.toml.example33
-rw-r--r--layouts/404.html7
-rw-r--r--layouts/partials/footer.html8
3 files changed, 39 insertions, 9 deletions
diff --git a/config.toml.example b/config.toml.example
new file mode 100644
index 0000000..97db2aa
--- /dev/null
+++ b/config.toml.example
@@ -0,0 +1,33 @@
+languageCode = "en-US"
+theme = "indigo"
+baseURL = "https://example.com/"
+title = "Site Title"
+
+[params]
+ AuthorName = "Author Name"
+ Description = "Description of website for head meta tag"
+ Subtitle = "A subtitle for your site"
+ Avatar = "path/to/avatar.jpg"
+
+ # Copyright owner for display in the footer:
+ CopyrightOwner = "Copyright owner name"
+
+ # Contact/social-network identifiers for social icons
+ EmailAddress = "email.address@example.com"
+ FlickrUser = "FlickrUserName"
+ GitHubUser = "GitHubUserName"
+ GitLabUser = "GitLabUserName"
+ GlitchUser = "GlitchUserName"
+ TwitterUser = "TwitterUserName"
+ MicroBlogUser = "MicroBlogUserName"
+
+ # These are parameters used for indieweb identity. You should set these along
+ # with the top-level email/social network parameters.
+ [params.indieWeb]
+ EmailAddress = "email.address@example.com"
+ FlickrUser = "FlickrUserName"
+ GitHubUser = "GitHubUserName"
+ TwitterUser = "TwitterUserName"
+ MicroBlogUser = "MicroBlogUserName"
+ Country = "CountryName"
+ City = "CityName" \ No newline at end of file
diff --git a/layouts/404.html b/layouts/404.html
index bb52d9b..8f1e98c 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -10,12 +10,9 @@
<h1 class="post-title">404</h1>
</header>
<section>
- <h2>Well, this is unexpected.</h2>
+ <h2>Whoops.</h2>
<p>
- It appears that we've ended up somewhere where I don't know where we are.
- </p>
- <p>
- I'm sorry about that. Would you like to <a href="{{ .Site.Home }}">go to the home page</a>?
+ The page you were looking for doesn't exist. Would you like to <a href="{{ .Site.Home }}">go to the home page</a>?
</p>
</section>
{{ partial "footer.html" . }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 5d3e477..afd4b62 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -9,10 +9,10 @@
</p>
<p class="h-card">
<img class="u-photo" src="{{ .Site.BaseURL }}{{ .Site.Params.Avatar }}" />
- <a class="p-name u-url" href="http://angelostavrow.com" rel="me">Angelo Stavrow</a>
- <a class="u-email" href="mailto:contact@angelostavrow.com">contact@angelostavrow.com</a>,
- <span class="p-locality">Montreal</span>
- <span class="p-country-name">Canada</span>
+ <a class="p-name u-url" href="{{ .Site.Home }}" rel="me">{{ .Site.Params.AuthorName }}</a>
+ <a class="u-email" href="{{ }}">{{ .Site.Params.IndieWeb.EmailAddress }}</a>,
+ <span class="p-locality">{{ .Site.Params.IndieWeb.City }}</span>
+ <span class="p-country-name">{{ .Site.Params.IndieWeb.Country }}</span>
</p>
</div>