Skip to content

Commit 4fe08e5

Browse files
committed
fix: deploy
1 parent 83dfe95 commit 4fe08e5

File tree

10 files changed

+422
-1367
lines changed

10 files changed

+422
-1367
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ _site/
44
.jekyll-metadata
55
.bundle/
66
vendor/
7-
Gemfile.lock
87
.DS_Store
8+
Gemfile.lock
99
*~

404.html

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,16 @@
11
---
22
layout: default
3-
permalink: /404.html
43
---
54

65
<div class="error-page">
76
<h1>404</h1>
87
<h2>Page Not Found</h2>
9-
10-
<p>The page you're looking for doesn't exist or may have been moved.</p>
8+
<p>The page you're looking for doesn't exist or has been moved.</p>
119

1210
<div class="error-actions">
1311
<a href="/" class="btn primary-btn">Go Home</a>
14-
<a href="/linkedin-extended/" class="btn">View Extended Posts</a>
15-
</div>
16-
17-
<div class="search-box">
18-
<p>Or try searching:</p>
19-
<form action="https://www.google.com/search" method="get">
20-
<input type="hidden" name="sitesearch" value="{{ site.url }}" />
21-
<input type="text" name="q" placeholder="Search..." />
22-
<button type="submit">Search</button>
23-
</form>
12+
<a href="/cv" class="btn">View CV</a>
13+
<a href="/contact" class="btn">Contact Me</a>
2414
</div>
2515
</div>
2616

README.md

Lines changed: 15 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,43 @@
1-
# LinkedIn Extended Content Site
1+
# Personal GitHub Pages Site
22

3-
This is a minimal GitHub Pages site designed to host extended versions of LinkedIn posts. It addresses LinkedIn's character limitations by providing a platform for in-depth technical content that links back to original LinkedIn posts.
3+
This is my personal GitHub Pages site that showcases my:
4+
- GitHub projects
5+
- CV/Resume
6+
- Contact information
7+
- LinkedIn integration
48

59
## Features
6-
7-
- **Focused Purpose**: Exclusively for extending LinkedIn posts - no blogging, projects, or other content
8-
- **Minimal Structure**: Only essential pages and components
9-
- **Easy Content Creation**: Simple script to create new extended posts
10-
- **Mobile Responsive**: Works well on all device sizes
11-
12-
## Overview
13-
14-
This site is built using:
15-
16-
- [Jekyll](https://jekyllrb.com/) - Static site generator
17-
- [GitHub Pages](https://pages.github.com/) - Hosting platform
18-
- [Minima](https://github.com/jekyll/minima) - Base theme (customized)
19-
20-
## Purpose
21-
22-
LinkedIn's character limits make it difficult to share in-depth technical content. This site serves as an extension to my LinkedIn posts, allowing me to provide:
23-
24-
- Detailed explanations of complex topics
25-
- Complete code examples and implementations
26-
- Additional resources and references
27-
28-
## Directory Structure
29-
30-
- `_linkedin_extended/` - Extended versions of LinkedIn posts
31-
- `assets/` - Images, CSS, and other static files
32-
- `_layouts/` - Custom layouts for the site
33-
- `_includes/` - Reusable components
34-
- `scripts/` - Utility scripts for content creation
10+
- Black and gold theme
11+
- GitHub API integration to pull repositories
12+
- LinkedIn badge integration
13+
- Responsive design for all device sizes
3514

3615
## Local Development
37-
3816
1. Install Ruby and Jekyll:
39-
4017
```bash
4118
gem install jekyll bundler
4219
```
43-
4420
2. Clone the repository:
45-
4621
```bash
4722
git clone https://github.com/NotAwar/NotAwar.github.io.git
4823
cd NotAwar.github.io
4924
```
50-
5125
3. Install dependencies:
52-
5326
```bash
5427
bundle install
5528
```
56-
5729
4. Run the site locally:
58-
5930
```bash
6031
bundle exec jekyll serve
6132
```
62-
6333
5. Open your browser at `http://localhost:4000`
6434

65-
## Creating a New Extended Post
66-
67-
Use the provided Python script to create a new LinkedIn extended post:
68-
69-
```bash
70-
python scripts/create-linkedin-post.py
71-
```
72-
73-
Follow the prompts to enter post details, then edit the generated file.
35+
## GitHub Pages Setup
36+
1. Go to repository settings
37+
2. Navigate to Pages section
38+
3. Select GitHub Actions as source
39+
4. The site will deploy automatically on push to the main branch
7440

7541
## License
76-
7742
This project is open source and available under the [MIT License](LICENSE).
7843

_config.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ plugins:
1717
- jekyll-seo-tag
1818
- jekyll-sitemap
1919
- jekyll-remote-theme
20-
- jekyll-github-metadata # Added to pull GitHub info
20+
- jekyll-github-metadata
2121

2222
# Exclude files from processing
2323
exclude:
@@ -30,16 +30,14 @@ exclude:
3030
- vendor/
3131
- .github/
3232
- README.md
33+
- SETUP.md
3334
- scripts/
3435

35-
# Collections
36+
# Collections - remove unused collections
3637
collections:
3738
projects:
3839
output: true
3940
permalink: /projects/:slug/
40-
posts:
41-
output: true
42-
permalink: /blog/:slug/
4341

4442
# Defaults
4543
defaults:
@@ -54,14 +52,12 @@ defaults:
5452
values:
5553
layout: "project"
5654
author: "Awar"
57-
- scope:
58-
path: ""
59-
type: "posts"
60-
values:
61-
layout: "post"
62-
author: "Awar"
6355

6456
# GitHub settings
6557
github:
6658
username: NotAwar
6759
repository: NotAwar.github.io
60+
61+
# Social links
62+
linkedin:
63+
profile_url: "https://www.linkedin.com/in/notawar"

_data/cv.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
work:
2+
- position: "Senior Engineer | Competency Lead"
3+
company: "Sopra Steria"
4+
startDate: "July 2024"
5+
endDate: "Present"
6+
description: "Leading cloud-native initiatives and overseeing projects on Microsoft Azure. Focus on developing cloud infrastructure, enhancing DevOps practices, and mentoring junior engineers."
7+
8+
- position: "Cloud Engineer"
9+
company: "Sopra Steria"
10+
startDate: "August 2022"
11+
endDate: "July 2024"
12+
description: "Specialized in programming and infrastructure, contributing to the development of scalable cloud solutions and improving deployment processes."
13+
14+
- position: "IT Employee"
15+
company: "OsloMet – Storbyuniversitetet"
16+
startDate: "August 2021"
17+
endDate: "August 2022"
18+
description: "Provided technical support and contributed to various IT projects within the university, focusing on automation and system management."
19+
20+
education:
21+
- degree: "Bachelor's Degree in Electronics and IT Engineering"
22+
institution: "OsloMet"
23+
year: "2021"
24+
description: "Focus on cloud technologies and software development"

_data/navigation.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
- name: Home
22
link: /
3-
- name: Extended Posts
4-
link: /linkedin-extended/
5-
- name: About
6-
link: /about/
3+
- name: GitHub
4+
link: https://github.com/NotAwar
5+
- name: CV
6+
link: /cv/
7+
- name: Contact
8+
link: /contact/

_includes/head.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
<!-- Fix LinkedIn Badge spacing issues -->
3636
<style>
37-
/* Override LinkedIn badge styles for better integration */
37+
/* LinkedIn badge integration styles */
3838
.LI-badge-container {
3939
width: 100% !important;
4040
text-align: center !important;
@@ -44,8 +44,6 @@
4444
margin: 0 auto !important;
4545
display: inline-block !important;
4646
}
47-
48-
/* Add clearfix to prevent overlaps */
4947
.clearfix::after {
5048
content: "";
5149
clear: both;

_layouts/default.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
<div class="footer-col">
4040
<ul class="social-links">
4141
{%- if site.github_username -%}<li><a href="https://github.com/{{ site.github_username }}">GitHub</a></li>{%- endif -%}
42-
{%- if site.linkedin_username -%}<li><a href="https://www.linkedin.com/in/{{ site.linkedin_username }}">LinkedIn</a></li>{%- endif -%}
4342
</ul>
4443
</div>
4544
</div>

0 commit comments

Comments
 (0)