From 798e2d63b41d48ab970d44933fc5e2fc9de74c08 Mon Sep 17 00:00:00 2001 From: vincent Date: Sun, 10 Mar 2019 17:15:24 +0100 Subject: [PATCH] custom webpage --- archetypes/default.md | 6 ++++++ config.toml | 47 +++++++++++++++++++++++++++++++++++++++++++ content/about.md | 14 +++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 archetypes/default.md create mode 100644 config.toml create mode 100644 content/about.md diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..f94d13f --- /dev/null +++ b/config.toml @@ -0,0 +1,47 @@ +baseurl = "/starter/" # Your domain name. Must end with "/" +languageCode = "FR-fr" +defaultContentLanguage = "fr" +isMultilingual = false +title = "personal website" +theme = "sam" +pygmentsStyle = "monokai" # https://help.farbox.com/pygments.html +pygmentsCodefences = true +# googleAnalytics = "" # Tracking code, eg. "UA-111111111-1" + +[params] + dateform = "Mon Jan 02, 2006" + dateformfull = "Mon Jan 2 2006 15:04:05 EST" + favicon = "sam.ico" + homepage = "home" # What to call the home page link + galleryFolder = "images/" # Where you've put your images, after "/content/gallery/" + clickablePhotos = false # Allow links to the full size images + smallPreviewImages = true # Show small images from the subfolder instead of the big versions in the gallery + # Note: This will only become active if clickablePhotos is also true. + smallImagesSubfolder = "small/" # The subfolder for the small versions of the images under the gallery (with trailing slash) + # For each image the small version has to have the same filename as the big version. + footerText = "L'homme de la pampa, parfois rude, reste toujours courtois." + +# Metadata + description = "vincent ducamps personal website." # Max 160 characters show in search results + twitterCard = "summary_large_image" # Card value “summary”, “summary_large_image”, “app”, or “player” + primaryImage = "tn.png" # Image that shows on Twitter cards and OpenGraph links + +[[params.mainMenu]] + link = "https://www.ducamps.win/tt-rss" + text = "News" + +[[params.mainMenu]] + link = "https://git.ducamps.win" + text = "Gitea" + +[[params.mainMenu]] + link = "https://diskstation.ducamps.win/audio" + text = "Audio" + +[[params.mainMenu]] + link = "https://photo.ducamps.win/" + text = "Photo" + +[[params.mainMenu]] + link = "https://diskstation.ducamps.win/" + text = "Diskstation" diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..a632a30 --- /dev/null +++ b/content/about.md @@ -0,0 +1,14 @@ +--- +title: "About" +date: 2018-02-13T13:42:49-05:00 +--- + +Hello, I'm Sam. I'm a theme for [Hugo](https://gohugo.io/). I'm an extremely customizable, content-focused theme that lets you showcase your work your way. + +I have slick minimalist templates for list pages (such as a list of blog posts) and single pages (a page to read one blog post). You can use tags on your content, and view content by tags. + +I also have a simple responsive gallery built with CSS grid. It'll look great on any screen, and all you have to do is provide a folder of images. + +I'm built and maintained by [Vicky Lai](https://vickylai.com). Here's her [GitHub](https://github.com/vickylai). + +This page uses the default `single.html` template. \ No newline at end of file