From d42a7bded5b1c71234340bf7dcff49c531d8e35b Mon Sep 17 00:00:00 2001 From: gangjun06 Date: Thu, 13 Aug 2020 12:39:50 +0000 Subject: [PATCH] move exmple, update baseURL --- README.md | 2 +- exampleSite/.gitignore | 1 - exampleSite/archetypes/default.md | 6 ------ exampleSite/config.toml | 24 ------------------------ exampleSite/data/home/about.toml | 23 ----------------------- exampleSite/data/home/project.toml | 16 ---------------- exampleSite/data/home/skills.toml | 24 ------------------------ layouts/partials/header.html | 4 ++-- 8 files changed, 3 insertions(+), 97 deletions(-) delete mode 100644 exampleSite/.gitignore delete mode 100644 exampleSite/archetypes/default.md delete mode 100644 exampleSite/config.toml delete mode 100644 exampleSite/data/home/about.toml delete mode 100644 exampleSite/data/home/project.toml delete mode 100644 exampleSite/data/home/skills.toml diff --git a/README.md b/README.md index a6736e4..dfe077c 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ simple theme for hugo # Live Demo https://gangjun06.github.io/hugo-theme-simple-intro-demo -[Demo Source Code](exampleSite) +[Demo Source Code](https://github.com/gangjun06/hugo-theme-simple-intro-demo) # Get Started diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore deleted file mode 100644 index d373863..0000000 --- a/exampleSite/.gitignore +++ /dev/null @@ -1 +0,0 @@ -themes/simple-intro \ No newline at end of file diff --git a/exampleSite/archetypes/default.md b/exampleSite/archetypes/default.md deleted file mode 100644 index 00e77bd..0000000 --- a/exampleSite/archetypes/default.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -title: "{{ replace .Name "-" " " | title }}" -date: {{ .Date }} -draft: true ---- - diff --git a/exampleSite/config.toml b/exampleSite/config.toml deleted file mode 100644 index cd1e022..0000000 --- a/exampleSite/config.toml +++ /dev/null @@ -1,24 +0,0 @@ -baseURL = "/" -languageCode = "en-us" -theme = "simple-intro" -title = "Theme Demo" - -[params] - mainbg = "https://cdn.discordapp.com/attachments/704599857083449366/722677588484423721/luca-bravo-XJXWbfSo2f0-unsplash_1.jpg" - name = "John Doe" - mainTitle = "Simple-intro" - mainText = "Just simple intro theme for hugo" - -[menus] - [[menu.main]] - identifier = "about" - name = "About" - url = "#about" - [[menu.main]] - identifier = "skills" - name = "Skills" - url = "#skills" - [[menu.main]] - identifier = "projects" - name = "Projects" - url = "#projects" \ No newline at end of file diff --git a/exampleSite/data/home/about.toml b/exampleSite/data/home/about.toml deleted file mode 100644 index 62c8f96..0000000 --- a/exampleSite/data/home/about.toml +++ /dev/null @@ -1,23 +0,0 @@ -title = "Hello, World!" - -text = """ -Lorem ipsum dolor sit amet, consectetur adipisicing elit. -Voluptatibus quia, nulla! Maiores et perferendis eaque, -exercitationem praesentium nihil. -""" - -[[link]] - icon = "fab fa-github" - link = "#" -[[link]] - icon = "fab fa-linkedin" - link = "#" -[[link]] - icon = "fas fa-envelope" - link = "#" -[[link]] - icon = "fab fa-instagram" - link = "#" -[[link]] - icon = "fab fa-facebook" - link = "#" \ No newline at end of file diff --git a/exampleSite/data/home/project.toml b/exampleSite/data/home/project.toml deleted file mode 100644 index 014ebec..0000000 --- a/exampleSite/data/home/project.toml +++ /dev/null @@ -1,16 +0,0 @@ -[[list]] - title = "lorem" - image = "https://picsum.photos/400/200" - text = """ - Lorem ipsum dolor sit amet, consectetur adipisicing elit. - Voluptatibus quia, nulla! Maiores et perferendis eaque, - exercitationem praesentium nihil. - """ -[[list]] - title = "lorem" - image = "https://picsum.photos/400/200" - text = """ - Lorem ipsum dolor sit amet, consectetur adipisicing elit. - Voluptatibus quia, nulla! Maiores et perferendis eaque, - exercitationem praesentium nihil. - """ \ No newline at end of file diff --git a/exampleSite/data/home/skills.toml b/exampleSite/data/home/skills.toml deleted file mode 100644 index 9171ae0..0000000 --- a/exampleSite/data/home/skills.toml +++ /dev/null @@ -1,24 +0,0 @@ -[[list]] - name = "go" - icon = "https://devicons.github.io/devicon/devicon.git/icons/go/go-original.svg" - text = """ - Lorem ipsum dolor sit amet, consectetur adipisicing elit. - Voluptatibus quia, nulla! Maiores et perferendis eaque, - exercitationem praesentium nihil. - """ -[[list]] - name = "React" - icon = "https://devicons.github.io/devicon/devicon.git/icons/react/react-original.svg" - text = """ - Lorem ipsum dolor sit amet, consectetur adipisicing elit. - Voluptatibus quia, nulla! Maiores et perferendis eaque, - exercitationem praesentium nihil. - """ -[[list]] - name = "C/C++" - icon = "https://devicons.github.io/devicon/devicon.git/icons/cplusplus/cplusplus-original.svg" - text = """ - Lorem ipsum dolor sit amet, consectetur adipisicing elit. - Voluptatibus quia, nulla! Maiores et perferendis eaque, - exercitationem praesentium nihil. - """ \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 19f3363..d64f2fe 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,8 +1,8 @@ - - + +