Skip to content

Commit d7165a9

Browse files
authored
Merge pull request #5 from efe/new-theme
New theme
2 parents 0f0d5ca + 0548d3c commit d7165a9

File tree

136 files changed

+15065
-1176
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+15065
-1176
lines changed

.github/workflows/deploy.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
# Trigger the workflow every time you push to the `main` branch
5+
# Using a different branch name? Replace `main` with your branch’s name
6+
push:
7+
branches: [ main ]
8+
# Allows you to run this workflow manually from the Actions tab on GitHub.
9+
workflow_dispatch:
10+
11+
# Allow this job to clone the repo and create a page deployment
12+
permissions:
13+
contents: read
14+
pages: write
15+
id-token: write
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout your repository using git
22+
uses: actions/checkout@v4
23+
- name: Install, build, and upload your site
24+
uses: withastro/action@v3
25+
# with:
26+
# path: . # The root location of your Astro project inside the repository. (optional)
27+
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
28+
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
29+
30+
deploy:
31+
needs: build
32+
runs-on: ubuntu-latest
33+
environment:
34+
name: github-pages
35+
url: ${{ steps.deployment.outputs.page_url }}
36+
steps:
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@v4

.github/workflows/jekyll-gh-pages.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,6 @@ build-iPhoneSimulator/
9292
# End of https://www.gitignore.io/api/ruby,macos,jekyll
9393
*.DS_Store
9494
.DS_Store
95-
.DS_Store
95+
96+
node_modules
97+
.astro

LICENSE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
MIT License
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

100644100755
Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
# [efe.me](https://efe.me)
2-
A personal blog.
1+
# Personal Blog
32

4-
## Run on local
3+
My personal blog which lives in [efe.me](https://efe.me).
54

6-
```sh
7-
docker run --rm --volume="$PWD:/srv/jekyll:Z" --publish 4000:4000 jekyll/jekyll:builder jekyll serve --trace
8-
```
5+
## Astro.js Commands
6+
7+
All commands are run from the root of the project, from a terminal:
8+
9+
| Command | Action |
10+
| :------------------------ | :----------------------------------------------- |
11+
| `npm install` | Installs dependencies |
12+
| `npm run dev` | Starts local dev server at `localhost:4321` |
13+
| `npm run build` | Build your production site to `./dist/` |
14+
| `npm run preview` | Preview your build locally, before deploying |
15+
| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
16+
| `npm run astro -- --help` | Get help using the Astro CLI |
17+
| `npm check` | Biome formatting and linting checks |
18+
| `npm write` | Biome formatting and linting issues fix |

_config.yml

Lines changed: 0 additions & 56 deletions
This file was deleted.

_drafts/2019-07-10-pattern-of-the-valuation.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

_drafts/2019-07-10-removing-third-party-field-in-django.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

_drafts/2019-12-12-getting-rid-of-tsundoku.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

_drafts/2020-05-13-docker-cheat-sheet.md

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)