diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b756c1c --- /dev/null +++ b/.gitignore @@ -0,0 +1,30 @@ + +# Created by https://www.gitignore.io/api/hugo,linux +# Edit at https://www.gitignore.io/?templates=hugo,linux + +### Hugo ### +# Generated files by hugo +/public/ +/resources/_gen/ + +# Executable may be added to repository +hugo.exe +hugo.darwin +hugo.linux + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +# End of https://www.gitignore.io/api/hugo,linux diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..12a1a9f --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/blackburn"] + path = themes/blackburn + url = https://github.com/yoshiharuyamashita/blackburn.git 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..9a0184d --- /dev/null +++ b/config.toml @@ -0,0 +1,77 @@ +baseURL = "http://blog.cd5.jp/" +languageCode = "ja-jp" +title = "管理人の日記Part5" +theme = "blackburn" +# Shown in the side menu +copyright = "© 2019. Candle Doe All rights reserved." +canonifyurls = true +paginate = 10 +hasCJKLanguage = true + +[indexes] + tag = "tags" + topic = "topics" + +[params] + # Shown in the home page + subtitle = "cd5.jp管理人 蝋燭の日記 第5部" + brand = "BLOG.CD5.JP" + googleAnalytics = "" + disqus = "" + # CSS name for highlight.js + highlightjs = "androidstudio" + highlightjs_extra_languages = ["yaml"] + # dateFormat = "02 Jan 2006, 15:04" + dateFormat = "2006-01-02 15:04" + # Include any custom CSS and/or JS files + # (relative to /static folder) + custom_css = ["css/my.css"] + custom_js = ["js/my.js"] + +[menu] + # Shown in the side menu. + [[menu.main]] + name = "Home" + pre = "" + weight = 1 + identifier = "home" + url = "/" + [[menu.main]] + name = "Posts" + pre = "" + weight = 2 + identifier = "post" + url = "/post/" +# [[menu.main]] +# name = "About" +# pre = "" +# weight = 3 +# identifier = "about" +# url = "/about/" +# [[menu.main]] +# name = "Contact" +# pre = "" +# weight = 4 +# url = "/contact/" + +[social] + # Link your social networking accounts to the side menu + # by entering your username or ID. + + # SNS microblogging + twitter = "candle1388" + + # SNS photo/video sharing + + # SNS career oriented + + # SNS news + + # Techie + github = "Candle5000" + + # Gaming + + # Music + + # Other diff --git a/content/post/my-first-post.md b/content/post/my-first-post.md new file mode 100644 index 0000000..9f22e07 --- /dev/null +++ b/content/post/my-first-post.md @@ -0,0 +1,10 @@ +--- +title: "はじめての記事作成" +date: 2019-09-01T18:09:33+09:00 +draft: true +--- +# 記事投稿テストですよ!! +この投稿はblog.cd5.jpの最初の投稿です。 + +次回はこの記事をインターネットに公開するまでの物語について記載したいと思います。 + diff --git a/static/css/my.css b/static/css/my.css new file mode 100644 index 0000000..508ad70 --- /dev/null +++ b/static/css/my.css @@ -0,0 +1,31 @@ +body { + background-color: lemonchiffon; +} +.header,#menu .brand { + font-family: arial, sans-serif; +} +.header h2 { + color: #ca8; +} + +.menu-link:hover, .menu-link:focus { + background-color: #432; +} +.menu-link { + background: rgba(68,51,18,0.7); +} +#menu { + background-color: #432; +} + +@media (max-width: 48em) { + .header h1 { + font-size: 1.5em; + } + .header h2 { + font-size: 1.1em; + } + h2 { + font-size: 1.25em; + } +} diff --git a/themes/blackburn b/themes/blackburn new file mode 160000 index 0000000..643be7f --- /dev/null +++ b/themes/blackburn @@ -0,0 +1 @@ +Subproject commit 643be7f9157c9cb3c2c2f020ffab8725018c1b66