diff options
author | gangjun06 <me@gangjun.dev> | 2020-08-13 14:38:17 +0300 |
---|---|---|
committer | gangjun06 <me@gangjun.dev> | 2020-08-13 14:38:17 +0300 |
commit | 08882d82a53ff618a28196072090e2c3b696a506 (patch) | |
tree | 88f36d451dd28ccf5cf84c17381834f8f6cad95d | |
parent | 5f811378d2fefdd50bd025ea80410ace1b3ebca4 (diff) |
update readme.md
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | exampleSite/config.toml | 25 | ||||
-rw-r--r-- | exampleSite/data/home/about.toml | 23 | ||||
-rw-r--r-- | exampleSite/data/home/project.toml | 16 | ||||
-rw-r--r-- | exampleSite/data/home/skills.toml | 24 | ||||
-rw-r--r-- | exampleSite/themes/CLONE_THEME_HERE | 0 | ||||
-rw-r--r-- | imgaes/img1.png | bin | 0 -> 941152 bytes | |||
-rw-r--r-- | layouts/partials/header.html | 1 |
8 files changed, 99 insertions, 1 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..ba221b3 --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Simple Intro +simple theme for hugo + +![intro](imgaes/img1.png) + +# Live Demo +https://gangjun06.github.io/hugo-theme-simple-intro + +# Configure + +see [this](exampleSite)
\ No newline at end of file diff --git a/exampleSite/config.toml b/exampleSite/config.toml new file mode 100644 index 0000000..e36b2a4 --- /dev/null +++ b/exampleSite/config.toml @@ -0,0 +1,25 @@ +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 new file mode 100644 index 0000000..62c8f96 --- /dev/null +++ b/exampleSite/data/home/about.toml @@ -0,0 +1,23 @@ +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 new file mode 100644 index 0000000..014ebec --- /dev/null +++ b/exampleSite/data/home/project.toml @@ -0,0 +1,16 @@ +[[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 new file mode 100644 index 0000000..9171ae0 --- /dev/null +++ b/exampleSite/data/home/skills.toml @@ -0,0 +1,24 @@ +[[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/exampleSite/themes/CLONE_THEME_HERE b/exampleSite/themes/CLONE_THEME_HERE new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/exampleSite/themes/CLONE_THEME_HERE diff --git a/imgaes/img1.png b/imgaes/img1.png Binary files differnew file mode 100644 index 0000000..53f9371 --- /dev/null +++ b/imgaes/img1.png diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 464f542..19f3363 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -10,7 +10,6 @@ <script type="text/javascript"> window.addEventListener('scroll', ()=>{ const nav = document.querySelector('nav') - console.log(nav) nav.classList.toggle('onscroll', window.scrollY > 0) }) </script>
\ No newline at end of file |