Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
update document
Browse files Browse the repository at this point in the history
  • Loading branch information
tamada committed Apr 15, 2020
1 parent f6be93c commit 263293f
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 20 deletions.
7 changes: 3 additions & 4 deletions docs/Makefile
Expand Up @@ -2,14 +2,13 @@ PWD := ${CURDIR}
CONTAINER_NAME := "wwwuniq2"
CONTAINER_REMOVE_FLAG := "--rm"
BASE_URL := "https://tamada.github.io/uniq2"

JOJOMI_VERSION := 0.69.0

build:
docker run ${CONTAINER_REMOVE_FLAG} --name ${CONTAINER_NAME} -p 1313:1313 -v "${PWD}":/src -v ${PWD}/public:/output -e HUGO_THEME=cayman-hugo-theme -e HUGO_BASEURL=${BASE_URL} jojomi/hugo:latest
docker run ${CONTAINER_REMOVE_FLAG} --name ${CONTAINER_NAME}_build -v "${PWD}":/src -v ${PWD}/public:/output -e HUGO_THEME=cayman-hugo-theme -e HUGO_BASEURL=${BASE_URL} jojomi/hugo:${JOJOMI_VERSION}

start:
docker run ${CONTAINER_REMOVE_FLAG} -d --name ${CONTAINER_NAME} -p 1313:1313 -v "${PWD}":/src -v "$(PWD)"/public:/output -e HUGO_THEME=cayman-hugo-theme -e HUGO_WATCH="true" -e HUGO_BASEURL=${BASE_URL} jojomi/hugo:latest
docker run ${CONTAINER_REMOVE_FLAG} -d --name ${CONTAINER_NAME} -p 1313:1313 -v "${PWD}":/src -v "$(PWD)"/public:/output -e HUGO_THEME=cayman-hugo-theme -e HUGO_WATCH="true" -e HUGO_BASEURL=${BASE_URL} jojomi/hugo:${JOJOMI_VERSION}

stop:
docker stop ${CONTAINER_NAME}

11 changes: 0 additions & 11 deletions docs/content/_index.md
Expand Up @@ -23,17 +23,6 @@ We want to delete not continuous duplicated lines with remaining the order.

Simply type the following commands.

```sh
$ brew tap tamada/brew
$ brew install uniq2
```

### Install by Go

### Install by Homebrew

Simply type the following commands.

```bash
$ brew tap tamada/brew # <- only the first time
$ brew install uniq2
Expand Down
2 changes: 1 addition & 1 deletion docs/layouts/partials/blog-post-list.html
Expand Up @@ -9,7 +9,7 @@ <h1>{{ .Title }}</h1>
{{ $dateFormat := $.Site.Params.dateFormat | default "Jan 2, 2006" }}
{{ .PublishDate.Format $dateFormat }}
<a href="{{ .Permalink }}">
{{ .Title }}
{{ .Title | emojify }}
</a>
</li>
{{ end }}
Expand Down
8 changes: 4 additions & 4 deletions docs/layouts/partials/head.html
Expand Up @@ -11,9 +11,9 @@
<link rel="stylesheet" href="{{ $caymanCss.Permalink | relURL }}">
<!-- Icon made by Freepik, from Flaticon, licensed by CC 3.0. -->
<!-- https://www.flaticon.com/free-icon/island_1530732 -->
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ "favicon-32x32.png" | relURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "favicon-16x16.png" | relURL }}">
<link rel="apple-touch-icon" sizes="180x180" href="/images/harry.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/harry.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/harry.png">
{{ partial "katex.html" . }}
<title>{{ .Title }} | {{ $.Site.Title }}</title>
<title>{{ .Title | emojify }} | {{ $.Site.Title }}</title>
</head>
Binary file removed docs/static/apple-touch-icon.png
Binary file not shown.
Binary file removed docs/static/favicon-16x16.png
Binary file not shown.
Binary file removed docs/static/favicon-32x32.png
Binary file not shown.
Binary file removed docs/static/favicon.ico
Binary file not shown.
Binary file removed docs/static/favicon.png
Binary file not shown.

0 comments on commit 263293f

Please sign in to comment.