├── images ├── tn.png ├── screenshot.png └── home_post_mode.jpg ├── exampleSite ├── content │ ├── posts │ │ ├── news │ │ │ ├── _index.md │ │ │ ├── 0.43-relnotes │ │ │ │ ├── featured-hugo-43-poster.png │ │ │ │ └── index.md │ │ │ ├── 0.44-relnotes │ │ │ │ ├── featured-hugo-44-poster.png │ │ │ │ └── index.md │ │ │ ├── 0.45-relnotes │ │ │ │ ├── featured-hugo-45-poster.png │ │ │ │ └── index.md │ │ │ ├── 0.46-relnotes │ │ │ │ ├── featured-hugo-46-poster.png │ │ │ │ └── index.md │ │ │ ├── 0.47-relnotes │ │ │ │ ├── featured-hugo-47-poster.png │ │ │ │ └── index.md │ │ │ ├── 0.48-relnotes │ │ │ │ ├── featured-hugo-48-poster.png │ │ │ │ └── index.md │ │ │ ├── 0.45.1-relnotes │ │ │ │ └── index.md │ │ │ ├── 0.47.1-relnotes │ │ │ │ └── index.md │ │ │ └── http2-server-push-in-hugo.md │ │ ├── hugoisforlovers.md │ │ ├── migrate-from-jekyll.md │ │ └── goisforlovers.md │ └── about.md ├── static │ └── images │ │ └── me │ │ ├── avatar.jpeg │ │ └── wechat.png ├── resources │ └── _gen │ │ └── assets │ │ ├── scss │ │ └── css │ │ │ ├── main.scss_b95b077eb505d5c0aff8055eaced30ad.json │ │ │ └── main.scss_b95b077eb505d5c0aff8055eaced30ad.content │ │ └── js │ │ └── js │ │ ├── vendor_main.js_d3f53f09220d597dac26fe7840c31fc9.json │ │ └── vendor_no_gallery.js_d3f53f09220d597dac26fe7840c31fc9.json └── config.toml ├── static └── font │ ├── FiraCode-Regular.eot │ ├── FiraCode-Regular.ttf │ ├── FiraCode-Regular.woff │ └── FiraCode-Regular.woff2 ├── layouts ├── partials │ ├── css.html │ ├── related.html │ ├── home_profile.html │ ├── wechat.html │ ├── footer.html │ ├── gitalk.html │ ├── social.html │ ├── seo_schema.html │ ├── js.html │ ├── paginator.html │ ├── head.html │ ├── home_post.html │ └── header.html ├── index.html ├── page │ └── single.html ├── shortcodes │ └── friend.html ├── _default │ ├── baseof.html │ ├── posts.html │ ├── list.html │ ├── links.html │ ├── terms.html │ └── single.html ├── 404.html ├── sitemap.xml ├── index.atom.xml ├── robots.txt └── rss.xml ├── archetypes └── default.md ├── assets ├── js │ ├── _custom.js │ ├── dynamic.to.top.min.js │ ├── lightGallery-init.js │ ├── main.js │ ├── lazysizes.min.js │ └── prettify.min.js └── css │ ├── _common │ ├── _section │ │ ├── navbar.scss │ │ ├── pagination.scss │ │ └── footer.scss │ ├── _page │ │ ├── tags.scss │ │ ├── home.scss │ │ ├── home_post.scss │ │ ├── terms.scss │ │ └── post.scss │ ├── _prettyprint │ │ └── default.scss │ └── _core │ │ ├── layout.scss │ │ ├── base.scss │ │ ├── normalize.scss │ │ └── media.scss │ ├── _custom.scss │ ├── main.scss │ └── _variables │ └── default.scss ├── theme.toml ├── LICENSE ├── LICENSE.md └── README.md /images/tn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/images/tn.png -------------------------------------------------------------------------------- /images/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/images/screenshot.png -------------------------------------------------------------------------------- /images/home_post_mode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/images/home_post_mode.jpg -------------------------------------------------------------------------------- /exampleSite/content/posts/news/_index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "Hugo News" 3 | aliases: [/release-notes/] 4 | --- 5 | -------------------------------------------------------------------------------- /static/font/FiraCode-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/static/font/FiraCode-Regular.eot -------------------------------------------------------------------------------- /static/font/FiraCode-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/static/font/FiraCode-Regular.ttf -------------------------------------------------------------------------------- /static/font/FiraCode-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/static/font/FiraCode-Regular.woff -------------------------------------------------------------------------------- /static/font/FiraCode-Regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/static/font/FiraCode-Regular.woff2 -------------------------------------------------------------------------------- /exampleSite/static/images/me/avatar.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/exampleSite/static/images/me/avatar.jpeg -------------------------------------------------------------------------------- /exampleSite/static/images/me/wechat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/exampleSite/static/images/me/wechat.png -------------------------------------------------------------------------------- /exampleSite/resources/_gen/assets/scss/css/main.scss_b95b077eb505d5c0aff8055eaced30ad.json: -------------------------------------------------------------------------------- 1 | {"Target":"css/main.min.css","MediaType":"text/css","Data":{}} -------------------------------------------------------------------------------- /exampleSite/resources/_gen/assets/js/js/vendor_main.js_d3f53f09220d597dac26fe7840c31fc9.json: -------------------------------------------------------------------------------- 1 | {"Target":"js/vendor_main.min.js","MediaType":"application/javascript","Data":{}} -------------------------------------------------------------------------------- /layouts/partials/css.html: -------------------------------------------------------------------------------- 1 | {{ $style := resources.Get "css/main.scss" | resources.ToCSS | resources.Minify}} 2 | 3 | 4 | -------------------------------------------------------------------------------- /exampleSite/resources/_gen/assets/js/js/vendor_no_gallery.js_d3f53f09220d597dac26fe7840c31fc9.json: -------------------------------------------------------------------------------- 1 | {"Target":"js/vendor_no_gallery.min.js","MediaType":"application/javascript","Data":{}} -------------------------------------------------------------------------------- /archetypes/default.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: "{{ replace .Name "-" " " | title }}" 3 | date: {{ .Date }} 4 | draft: true 5 | categories: 6 | - 7 | tags: 8 | - 9 | featured_image: 10 | --- -------------------------------------------------------------------------------- /exampleSite/content/posts/news/0.43-relnotes/featured-hugo-43-poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/exampleSite/content/posts/news/0.43-relnotes/featured-hugo-43-poster.png -------------------------------------------------------------------------------- /exampleSite/content/posts/news/0.44-relnotes/featured-hugo-44-poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/exampleSite/content/posts/news/0.44-relnotes/featured-hugo-44-poster.png -------------------------------------------------------------------------------- /exampleSite/content/posts/news/0.45-relnotes/featured-hugo-45-poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/exampleSite/content/posts/news/0.45-relnotes/featured-hugo-45-poster.png -------------------------------------------------------------------------------- /exampleSite/content/posts/news/0.46-relnotes/featured-hugo-46-poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/exampleSite/content/posts/news/0.46-relnotes/featured-hugo-46-poster.png -------------------------------------------------------------------------------- /exampleSite/content/posts/news/0.47-relnotes/featured-hugo-47-poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/exampleSite/content/posts/news/0.47-relnotes/featured-hugo-47-poster.png -------------------------------------------------------------------------------- /exampleSite/content/posts/news/0.48-relnotes/featured-hugo-48-poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mogeko/LeaveIt/master/exampleSite/content/posts/news/0.48-relnotes/featured-hugo-48-poster.png -------------------------------------------------------------------------------- /layouts/index.html: -------------------------------------------------------------------------------- 1 | {{ define "content" }} 2 | {{ if eq .Site.Params.home_mode "post" }} 3 | {{ partial "home_post.html" . }} 4 | {{ else }} 5 | {{ partial "home_profile.html" . }} 6 | {{ end }} 7 | {{ end }} 8 | -------------------------------------------------------------------------------- /layouts/partials/related.html: -------------------------------------------------------------------------------- 1 | {{ $related := .Site.RegularPages.Related . | first 5 }} 2 | {{ with $related }} 3 |
/* 404 page not found. */
5 | 6 |54 | Author: 55 | {{ . }} 56 |
57 | {{ end }} 58 | 59 | {{ with .Permalink }} 60 |61 | Link: 62 | {{ . }} 63 |
64 | {{ end }} 65 | {{ with .Site.Params.license }} 66 |67 | {{ . | safeHTML}} 68 |
69 | {{ end }} 70 |122 | {{ .Get "caption" }} 123 | {{ with .Get "attrlink"}} {{ end }} 124 | {{ .Get "attr" }} 125 | {{ if .Get "attrlink"}} {{ end }} 126 |
{{ end }} 127 |