diff --git a/404.html b/404.html deleted file mode 100644 index c472b4e..0000000 --- a/404.html +++ /dev/null @@ -1,24 +0,0 @@ ---- -layout: default ---- - - - -
-

404

- -

Page not found :(

-

The requested page could not be found.

-
diff --git a/Gemfile b/Gemfile deleted file mode 100644 index 2bf1ac7..0000000 --- a/Gemfile +++ /dev/null @@ -1,30 +0,0 @@ -source "https://rubygems.org" - -# Hello! This is where you manage which Jekyll version is used to run. -# When you want to use a different version, change it below, save the -# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: -# -# bundle exec jekyll serve -# -# This will help ensure the proper Jekyll version is running. -# Happy Jekylling! -gem "jekyll", "~> 3.8.5" - -# This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.0" - -# If you want to use GitHub Pages, remove the "gem "jekyll"" above and -# uncomment the line below. To upgrade, run `bundle update github-pages`. -# gem "github-pages", group: :jekyll_plugins - -# If you have any plugins, put them here! -group :jekyll_plugins do - gem "jekyll-feed", "~> 0.6" -end - -# Windows does not include zoneinfo files, so bundle the tzinfo-data gem -gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby] - -# Performance-booster for watching directories on Windows -gem "wdm", "~> 0.1.0" if Gem.win_platform? - diff --git a/README.md b/README.md index dd09bda..1ff60f7 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,52 @@ -# localab.info +## hugoの使い方 -localab.info向けweb contents +### サイトを作るには + +必要なフォルダーやファイル一式が指定したフォルダー(HugoSample)下に生成される + +``` +$ hugo new site HugoSample +``` + +### 記事の追加 + +``` +$ hugo new posts/my-first-post.md +``` + +### プレビュー + +プレビューする場合は + +``` +$ hugo server +``` + +を実行し```http://localhost:1313/```にアクセスする + +ドラフトも表示させるには + +``` +$ hugo server -D +``` + +テーマを変更するには + +``` +$ hugo server -t THEMENAME +``` + +### 公開用のファイル生成 + +公開用のファイルを生成するには + +``` +$ hugo +``` + +### 古いファイルの削除 + +``` +$ hugo --cleanDestinationDir +``` diff --git a/_config.yml b/_config.yml deleted file mode 100644 index f91333e..0000000 --- a/_config.yml +++ /dev/null @@ -1,43 +0,0 @@ -# Welcome to Jekyll! -# -# This config file is meant for settings that affect your whole blog, values -# which you are expected to set up once and rarely edit after that. If you find -# yourself editing this file very often, consider using Jekyll's data files -# feature for the data you need to update frequently. -# -# For technical reasons, this file is *NOT* reloaded automatically when you use -# 'bundle exec jekyll serve'. If you change this file, please restart the server process. - -# Site settings -# These are used to personalize your new site. If you look in the HTML files, -# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. -# You can create any custom variable you would like, and they will be accessible -# in the templates via {{ site.myvariable }}. -title: Your awesome title -email: your-email@example.com -description: >- # this means to ignore newlines until "baseurl:" - Write an awesome description for your new site here. You can edit this - line in _config.yml. It will appear in your document head meta (for - Google search results) and in your feed.xml site description. -baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com -twitter_username: jekyllrb -github_username: jekyll - -# Build settings -markdown: kramdown -theme: minima -plugins: - - jekyll-feed - -# Exclude from processing. -# The following items will not be processed, by default. Create a custom list -# to override the default setting. -# exclude: -# - Gemfile -# - Gemfile.lock -# - node_modules -# - vendor/bundle/ -# - vendor/cache/ -# - vendor/gems/ -# - vendor/ruby/ diff --git a/_index.md_ b/_index.md_ new file mode 100644 index 0000000..717b318 --- /dev/null +++ b/_index.md_ @@ -0,0 +1,7 @@ +--- +title: "Localab.Takigahara" +date: 2019-12-30T05:00:00+09:00 +draft: false +--- +Localab.Takigahara +![Localab.Takigahara logo](/img/localab.takigahara-logo.png) diff --git a/about.md b/about.md deleted file mode 100644 index 8b4e0b2..0000000 --- a/about.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: page -title: About -permalink: /about/ ---- - -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/) - -You can find the source code for Minima at GitHub: -[jekyll][jekyll-organization] / -[minima](https://github.com/jekyll/minima) - -You can find the source code for Jekyll at GitHub: -[jekyll][jekyll-organization] / -[jekyll](https://github.com/jekyll/jekyll) - - -[jekyll-organization]: https://github.com/jekyll diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..3c4c437 --- /dev/null +++ b/config.toml @@ -0,0 +1,123 @@ +# For more information look at "README.md". + +# GLOBAL SITE SETTINGS +# Parameters used by HUGO to configure the site's global settings. +preserveTaxonomyNames = "true" + +baseurl = "https://git.localab.info/web/localab-pages/pages/" +languageCode = "ja-jp" +title = "Localab.Takigahara" +theme = "hugo-myportfolio-theme" + + +[params] + + # GENERAL SITE PARAMETERS + # Parameters used by the site at the global level. + + # File(s) containing overriden CSS variables (can have more than 1) (OPTIONAL) + custom_css = [ "custom.css" ] + + # ---------- + + # SITE METADATA + # Parameters used to configure metadata in the HTML "head" section. + + [params.meta] + # To provide some metadata for search engines (OPTIONAL) +# author = "" +# description = "" + + # The path must be relative to the static folder (MANDATORY) + favicon = "favicon.ico" + + # ---------- + + # HOMEPAGE + # Define the sections and the order in which they appear (MANDATORY) + [params.homepage] + sections = [ "home", "about", "services", "skills", "projects", "contact" ] + + # ---------- + + # NAVIGATION MENU + # Define the navigation bar entries and the order in which they appear (OPTIONAL) + [params.navigation] + + # Brand (OPTIONAL - but required if want HOME button) + brand = "Localab.Takigahara" + + # NAVIGATION MENU ENTRIES (OPTIONAL) + # Add an entry for each section to add in the navigation menu. + # Syntax: + # key = "" + # => Where + # - "key" is in: + # - about + # - services + # - skills + # - projects (! - SPECIAL CASE: DIFFERENT MANAGEMENT THAN OTHER SECTIONS!) + # - contact + # + # - "" is the string to display as menu item. + # If no entry is specified => No navigation menu is created. + # (even if "params.navigation.links" is defined, but empty) + # => Can define a dummy variable in "links" to force the creation of the menu (e.g.: dummy = 1). + # To change order, need to change code in navigation menu creation. + # Special case: "projects". + # projects = [ { section = "", label = "" }, ... ] + # ! - Values for "sections" in "projects" must be the same as used in "projects.params". + # (& must correspond to the section directories) + [params.navigation.links] + about = "ABOUT" + services = "SERVICES" + skills = "SKILLS" + projects = [ + { section = "pro", label = "PROFESSIONAL" }, + { section = "perso", label = "PERSONAL" } + ] + contact = "CONTACT" + + # ---------- + + # PROJECTS section + [params.projects] + # Values in "categories" must be the same as in navigation menu "projects". + # (& must correspond to the section directories) + categories = [ "pro", "perso" ] + + # Post orders: + # - list of posts: + # - default: date. + # - common to all, defined globally here. + # - can be overriden at page level (in "_index.md"). + # - list of brothers: + # - default: from parent (if no parent => title). + # - list: parent.sections_order + # - single: parent.posts_order + # - list of sections: + # - default: title. + # - common to all, defined globally here. + # - can be overriden at page level + # - list: in "_index.md" + # - single: in "index.md" (or "post.md" if post is not a bundle) + # Required as default values. + sections_order = "title" + sections_order_reverse = false + posts_order = "date" + posts_order_reverse = true + + # Format of the "period" field. + date_format = "Jan-2006" + + # Number of columns in projects grid (OPTIONAL) + #nb_columns = "3" + #nb_columns_small = "2" + + # ---------- + + # PAGE 404 + [params.page404] + text = "OOPS, PAGE NOT FOUND!" + background_image = "404.jpg" + button_text = "BACK HOME" diff --git a/index.md b/index.md deleted file mode 100644 index 0671507..0000000 --- a/index.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -# Feel free to add content and custom Front Matter to this file. -# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults - -layout: home ----