Skip to content

Commit

Permalink
Merge pull request #7 from soumyadsanyal/soumyadsanyal/migrate_to_Hugo
Browse files Browse the repository at this point in the history
Migrate to Hugo.
  • Loading branch information
soumyadsanyal authored Oct 23, 2023
2 parents 62c05ce + 45c1add commit 9963d6c
Show file tree
Hide file tree
Showing 112 changed files with 5,148 additions and 2,658 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "themes/hugo-bearblog"]
path = themes/hugo-bearblog
url = https://github.com/janraasch/hugo-bearblog.git
Empty file added .hugo_build.lock
Empty file.
35 changes: 35 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
FROM alpine:3.18.4 as os

FROM os as development
RUN apk update && apk upgrade && apk add \
git \
python3 \
aws-cli \
vim \
curl \
zsh \
wget \
jq \
tmux

FROM development as shell
# Default powerline10k theme, no plugins installed
RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)"

WORKDIR /root
RUN git clone https://github.com/softmoth/zsh-vim-mode.git
RUN echo "source \"$HOME/zsh-vim-mode/zsh-vim-mode.plugin.zsh\"" >> /root/.zshrc
WORKDIR /

FROM shell as with_go
RUN apk add \
go

FROM with_go as with_hugo
RUN sh -c "$(wget -O hugo.tar.gz https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_linux-arm64.tar.gz)"
RUN tar -xzvf hugo.tar.gz && rm -rf hugo.tar.gz
RUN mv hugo /usr/bin/hugo

ENTRYPOINT [ "zsh" ]

WORKDIR /host/
65 changes: 0 additions & 65 deletions about/index.html

This file was deleted.

5 changes: 5 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
date = {{ .Date }}
draft = true
+++
Binary file added assets/images/soumya_mug.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
225 changes: 0 additions & 225 deletions author/soumya-d-sanyal.html

This file was deleted.

Loading

0 comments on commit 9963d6c

Please sign in to comment.