Skip to content

Commit

Permalink
to hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
ShortArrow committed Dec 24, 2022
1 parent 78a15c4 commit d4b297a
Show file tree
Hide file tree
Showing 61 changed files with 384 additions and 8,326 deletions.
38 changes: 13 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
# Start of https://docusaurus.io/docs/migration/manual#gitignore

# dependencies
/node_modules

# production
/build

# generated files
.docusaurus
.cache-loader

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*

# End of https://docusaurus.io/docs/migration/manual#gitignore

# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json

# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux

# Temporary lock file while building
/.hugo_build.lock
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

8 changes: 7 additions & 1 deletion bash/readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
title : 'Bash'
description: "bash config is here"
summary: "bash config"
tags: ["docs"]
---
# my bash settings

## Usage
Expand Down Expand Up @@ -29,6 +35,6 @@

## LSP

```
```bash
npm i -g bash-language-server
```
8 changes: 8 additions & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# config/_default/config.toml

baseURL = "/"
languageCode = "en"

DefaultContentLanguage = "en"
# defaultContetLanguageInSubdir = true
hasCJKLanguage = true
63 changes: 63 additions & 0 deletions config/_default/languages.en.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# config/_default/languages.en.toml

contentDir = 'content/en'
languageName = "English"
title = "Dotfiles"
languageCode = "en"

# logo = "img/twitter_icon_light_back.png"
# description = "My awesome website"
# copyright = "Copy, _right?_ :thinking_face:"
[author]
name = "ShortArrow"
image = "img/twitter_icon_light_back.png"
headline = "my dotfiles"
bio = "panda"
links = [
{ twitter = "https://twitter.com/sh_orz_RO" },
{ email = "mailto:[email protected]" },
{ github = "https://github.com/ShortArrow" },
{ reddit = "https://reddit.com/user/shortarrow" },
{ codepen = "https://codepen.io/shortarrow" },
# { email = "mailto:hello@your_domain.com" },
# { link = "https://link-to-some-website.com/" },
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
# { apple = "https://www.apple.com" },
# { blogger = "https://username.blogspot.com/" },
# { codepen = "https://codepen.io/username" },
# { dev = "https://dev.to/username" },
# { discord = "https://discord.gg/invitecode" },
# { dribbble = "https://dribbble.com/username" },
# { facebook = "https://facebook.com/username" },
# { flickr = "https://www.flickr.com/photos/username/" },
# { foursquare = "https://foursquare.com/username" },
# { github = "https://github.com/username" },
# { gitlab = "https://gitlab.com/username" },
# { google = "https://www.google.com/" },
# { hashnode = "https://username.hashnode.dev" },
# { instagram = "https://instagram.com/username" },
# { keybase = "https://keybase.io/username" },
# { kickstarter = "https://www.kickstarter.com/profile/username" },
# { lastfm = "https://lastfm.com/user/username" },
# { linkedin = "https://linkedin.com/in/username" },
# { mastodon = "https://mastodon.instance/@username" },
# { medium = "https://medium.com/username" },
# { microsoft = "https://www.microsoft.com/" },
# { orcid = "https://orcid.org/userid" },
# { patreon = "https://www.patreon.com/username" },
# { pinterest = "https://pinterest.com/username" },
# { reddit = "https://reddit.com/user/username" },
# { researchgate = "https://www.researchgate.net/profile/username" },
# { slack = "https://workspace.url/team/userid" },
# { snapchat = "https://snapchat.com/add/username" },
# { soundcloud = "https://soundcloud.com/username" },
# { stack-overflow = "https://stackoverflow.com/users/userid/username" },
# { steam = "https://steamcommunity.com/profiles/userid" },
# { telegram = "https://t.me/username" },
# { tiktok = "https://tiktok.com/@username" },
# { tumblr = "https://username.tumblr.com" },
# { twitch = "https://twitch.tv/username" },
# { twitter = "https://twitter.com/username" },
# { whatsapp = "https://wa.me/phone-number" },
# { youtube = "https://youtube.com/username" },
]
63 changes: 63 additions & 0 deletions config/_default/languages.ja.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# config/_default/languages.ja.toml

contentDir = 'content/ja'
languageName = "Japanese"
title = "Dotfiles"
languageCode = "ja"

# logo = "img/twitter_icon_light_back.png"
# description = "My awesome website"
# copyright = "Copy, _right?_ :thinking_face:"
[author]
name = "ShortArrow"
image = "img/twitter_icon_light_back.png"
headline = "my dotfiles"
bio = "panda"
links = [
{ twitter = "https://twitter.com/sh_orz_RO" },
{ email = "mailto:[email protected]" },
{ github = "https://github.com/ShortArrow" },
{ reddit = "https://reddit.com/user/shortarrow" },
{ codepen = "https://codepen.io/shortarrow" },
# { email = "mailto:hello@your_domain.com" },
# { link = "https://link-to-some-website.com/" },
# { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" },
# { apple = "https://www.apple.com" },
# { blogger = "https://username.blogspot.com/" },
# { codepen = "https://codepen.io/username" },
# { dev = "https://dev.to/username" },
# { discord = "https://discord.gg/invitecode" },
# { dribbble = "https://dribbble.com/username" },
# { facebook = "https://facebook.com/username" },
# { flickr = "https://www.flickr.com/photos/username/" },
# { foursquare = "https://foursquare.com/username" },
# { github = "https://github.com/username" },
# { gitlab = "https://gitlab.com/username" },
# { google = "https://www.google.com/" },
# { hashnode = "https://username.hashnode.dev" },
# { instagram = "https://instagram.com/username" },
# { keybase = "https://keybase.io/username" },
# { kickstarter = "https://www.kickstarter.com/profile/username" },
# { lastfm = "https://lastfm.com/user/username" },
# { linkedin = "https://linkedin.com/in/username" },
# { mastodon = "https://mastodon.instance/@username" },
# { medium = "https://medium.com/username" },
# { microsoft = "https://www.microsoft.com/" },
# { orcid = "https://orcid.org/userid" },
# { patreon = "https://www.patreon.com/username" },
# { pinterest = "https://pinterest.com/username" },
# { reddit = "https://reddit.com/user/username" },
# { researchgate = "https://www.researchgate.net/profile/username" },
# { slack = "https://workspace.url/team/userid" },
# { snapchat = "https://snapchat.com/add/username" },
# { soundcloud = "https://soundcloud.com/username" },
# { stack-overflow = "https://stackoverflow.com/users/userid/username" },
# { steam = "https://steamcommunity.com/profiles/userid" },
# { telegram = "https://t.me/username" },
# { tiktok = "https://tiktok.com/@username" },
# { tumblr = "https://username.tumblr.com" },
# { twitch = "https://twitch.tv/username" },
# { twitter = "https://twitter.com/username" },
# { whatsapp = "https://wa.me/phone-number" },
# { youtube = "https://youtube.com/username" },
]
30 changes: 30 additions & 0 deletions config/_default/menus.en.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# config/_default/menus.toml

[[main]]
name = "Top"
url = "/"
weight = -200

[[main]]
name = "Blog"
url = "/posts/"
weight = 10

[[main]]
name = "Docs"
url = "/docs/"
weight = 10

[[main]]
name = "Intro"
url = "/intro/"
weight = 10

[[main]]
name = "Topics"
url = "/topics/"
weight = 20

[[footer]]
name = "p.p."
url = "/privacypolicy"
30 changes: 30 additions & 0 deletions config/_default/menus.ja.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# config/_default/menus.toml

[[main]]
name = "Top"
pageRef = "/ja"
weight = -200

[[main]]
name = "Blog"
url = "/ja/posts/"
weight = 10

[[main]]
name = "Docs"
url = "/ja/docs/"
weight = 10

[[main]]
name = "Intro"
url = "/intro/"
weight = 10

[[main]]
name = "Topics"
url = "/ja/topics/"
weight = 20

[[footer]]
name = "p.p."
url = "/ja/privacypolicy"
4 changes: 4 additions & 0 deletions config/_default/module.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# config/_default/module.toml

[[imports]]
path = "github.com/jpanther/congo"
70 changes: 70 additions & 0 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# config/_default/params.toml

colorScheme = "avocado"
defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true

enableSearch = false
enableCodeCopy = true

# mainSections = ["section1", "section2"]
# robots = ""

[header]
layout = "hamburger" # basic, hamburger, hybrid or custom.
logo = "img/twitter_icon_light_back.png"
showTitle = true

[footer]
showCopyright = true
showThemeAttribution = true
showAppearanceSwitcher = true
showScrollToTop = true

[homepage]
layout = "profile" # valid options: page, profile, custom
showRecent = false

[article]
# showDate = true
# showDateUpdated = false
showAuthor = true
showBreadcrumbs = true
showDraftLabel = true
showEdit = false
# editURL = "https://github.com/username/repo/"
editAppendPath = true
showHeadingAnchors = true
showPagination = true
invertPagination = false
showReadingTime = true
showTableOfContents = true
showTaxonomies = false
showWordCount = false
showComments = false
# sharingLinks = ["facebook", "twitter", "pinterest", "reddit", "linkedin", "email"]
sharingLinks = ["twitter", "reddit"]

[list]
showBreadcrumbs = true
showSummary = true
showTableOfContents = true
showTaxonomies = false
groupByYear = false
paginationWidth = 1

[sitemap]
excludedKinds = ["taxonomy", "term"]

[taxonomy]
showTermCount = true

[fathomAnalytics]
# site = "ABC12345"
# domain = "llama.yoursite.com"

[verification]
# google = ""
# bing = ""
# pinterest = ""
# yandex = ""
3 changes: 3 additions & 0 deletions content/en/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## This is Dotfiles of me!

( [ja-jp](/ja) | [en-us](/) )
1 change: 1 addition & 0 deletions content/en/about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# About
11 changes: 11 additions & 0 deletions content/en/docs/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "Docs"
description: "See what's possible with dotfiles."
cascade:
showEdit: false
showSummary: true
showDate: false
showReadingTime: false
invertPagination: true
---
---
1 change: 1 addition & 0 deletions content/en/docs/bash.md
1 change: 1 addition & 0 deletions content/en/docs/nvim.md
1 change: 1 addition & 0 deletions content/en/docs/python.md
1 change: 1 addition & 0 deletions content/en/docs/rust.md
1 change: 1 addition & 0 deletions content/en/docs/tmux.md
4 changes: 0 additions & 4 deletions docs/intro.md → content/en/intro.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
sidebar_position: 1
---

# Intro

# List
Expand Down
8 changes: 8 additions & 0 deletions content/en/posts/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Posts"
description: "See what's possible with dotfiles."
cascade:
showEdit: false
showSummary: true
---
---
1 change: 1 addition & 0 deletions content/en/privacypolicy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# this is privacy policy
3 changes: 3 additions & 0 deletions content/ja/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## This is Dotfiles of me!

( [ja-jp](/ja) | [en-us](/) )
File renamed without changes.
Loading

0 comments on commit d4b297a

Please sign in to comment.