Skip to content

Commit

Permalink
Migrate project to new theme (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
gomzyakov authored Jan 1, 2025
1 parent 19deb09 commit 2476b50
Show file tree
Hide file tree
Showing 148 changed files with 13,874 additions and 47,463 deletions.
26 changes: 10 additions & 16 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,33 @@
# Please see the documentation for all configuration options:
# - https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:

# Enable version updates for Docker
- package-ecosystem: "docker"
# Look for a `Dockerfile` in the `root` directory
directory: "/"
schedule:
interval: "weekly"
day: "friday"
time: "07:00"
timezone: "Asia/Yekaterinburg"
interval: "monthly"
labels:
- "dependencies"

# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "friday"
time: "07:00"
timezone: "Asia/Yekaterinburg"
interval: "monthly"
labels:
- "dependencies"

# Maintain dependencies for npm
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
day: "friday"
time: "07:00"
timezone: "Asia/Yekaterinburg"
interval: "monthly"
labels:
- "dependencies"

- package-ecosystem: bundler
directory: /
schedule:
interval: monthly
allow:
- dependency-type: direct
64 changes: 64 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
uses: ruby/setup-ruby@c04af2bb7258bb6a03df1d3c1865998ac9390972 # v1.194.0
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
14 changes: 10 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
.DS_Store
_site
# Ignore metadata generated by Jekyll
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata

# PHPStorm
# IDEs
.idea
node_modules
.vscode

# OS X
.DS_Store
29 changes: 22 additions & 7 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,24 @@
---
layout: not_found
title: 404
permalink: /404.html
layout: default
---
<div class="name">Alexander Gomzyakov</div>
<img src="{{site.baseurl}}/img/emojis/thinking-face.png" alt="">
<h1>Hmmm...</h1>
<h2>Looks like there's nothing here.<br>Maybe you should go back <a href="{{site.url}}">home</a>.</h2>

<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>

<div class="container">
<h1>404</h1>

<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# My Personal Site
# gomzyakov.github.io

This site built with [Jekyll](https://jekyllrb.com/).
Блог с заметками о разработке на PHP и Laravel https://gomzyakov.github.io/

Source theme designed and developed by [Brittany Chiang]([https://brittanychiang.com/](https://github.com/bchiang7/bchiang7.github.io)).
Для того, чтобы развернуть блог локально, просто наберите:

```sh
docker compose up -d
```

Оформление блога вдохновлено темой [Mundana](https://www.wowthemes.net/mundana-jekyll-theme/) от [WowThemes](https://www.wowthemes.net).
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
90 changes: 58 additions & 32 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,62 @@
# Site settings
name: Alexander Gomzyakov
title: Alexander Gomzyakov | Software Engineer
description: Design-minded software engineer focused on building beautiful products
url: https://gomzyakov.github.io/
# Site
name: Александр Гомзяков
description: 'Заметки о разработке на PHP и Laravel'
logo: '/assets/images/logo.png'
favicon: 'assets/images/favicon.ico'
baseurl: ''
email: alexander.gomzyakov@gmail.com
cover: https://gomzyakov.github.io/img/og.png
logo: https://gomzyakov.github.io/img/emojis/technologist.png
social:
- title: email
url: mailto:alexander.gomzyakov@gmail.com
- title: github
url: https://github.com/gomzyakov

# Build settings
email: 'alexander.gomzyakov@gmail.com'

include: [ "_pages" ]
permalink: /:title/

# The shortname for your Disqus site to enable comments.
disqus: gomzyakov

# Plugins
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-paginate
- jekyll-seo-tag

authors:
gomzyakov:
name: Александр Гомзяков
site: https://github.com/gomzyakov
avatar: assets/images/avatar/gomzyakov_red_200.png
bio: "Разработчик проектов на Laravel"
email: alexander.gomzyakov@gmail.com

# Defaults
defaults:

# all posts
- scope:
path: "_posts"
values:
layout: post
author: gomzyakov
avatar: /assets/images/avatar/gomzyakov_red_200.png

# all pages
- scope:
path: "_pages"
values:
layout: page

# Syntax
markdown: kramdown
highlighter: rouge

# Paginate
paginate: 10

# Exclude metadata and development time dependencies (like Grunt plugins)
exclude:
- 'Gemfile'
- 'Gemfile.lock'
- '*.gemspec'
- 'README.md'
- 'node_modules'
- 'build'
- 'gulpfile.js'
- 'package.json'

keep_files:
- 'CNAME'
- '.git'
- '.gitignore'

plugins_dir:
- jekyll-minifier
- jekyll-sitemap
- docker-compose.yml
- README.markdown
- package.json
- grunt.js
- Gruntfile.js
- Gruntfile.coffee
- node_modules
27 changes: 0 additions & 27 deletions _data/skills.yml

This file was deleted.

18 changes: 18 additions & 0 deletions _includes/comments.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!-- Don't edit anything here. Set your disqus id in _config.yml -->

<div id="comments" class="mt-5">
<div id="disqus_thread">
</div>
<script type="text/javascript">
var disqus_shortname = '{{site.disqus}}';
var disqus_developer = 0;
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a>
</noscript>
</div>
18 changes: 0 additions & 18 deletions _includes/experience.html

This file was deleted.

18 changes: 0 additions & 18 deletions _includes/footer.html

This file was deleted.

29 changes: 0 additions & 29 deletions _includes/head.html

This file was deleted.

Loading

0 comments on commit 2476b50

Please sign in to comment.