Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wip #31

Open
wants to merge 37 commits into
base: gh-pages
Choose a base branch
from
Open

Wip #31

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
2c2b5d1
Create CNAME
0b-ivan Nov 10, 2022
ba594ab
Delete CNAME
0b-ivan Nov 10, 2022
4dcff4f
Update _config.yml
0b-ivan Nov 10, 2022
c0d61d3
Update _config.yml
0b-ivan Nov 10, 2022
5ca80d5
Update _config.yml
0b-ivan Nov 10, 2022
dfce9f0
Create CNAME
0b-ivan Nov 10, 2022
2a56fc0
Update _config.yml
0b-ivan Nov 10, 2022
e07ddfd
Update _config.yml
0b-ivan Nov 10, 2022
13f32a0
Update _config.yml
0b-ivan Nov 10, 2022
d3e6ebf
Update _config.yml
0b-ivan Nov 10, 2022
9890953
Update index.html
0b-ivan Nov 10, 2022
97bde32
Update index.html
0b-ivan Nov 10, 2022
837e047
Add files via upload
0b-ivan Nov 11, 2022
15a75f1
Delete logo.png
0b-ivan Nov 11, 2022
69c6e3e
Add files via upload
0b-ivan Nov 11, 2022
af940e0
add new pics and remove some albs
0b-ivan Nov 11, 2022
a67e2ff
add new pics and remove some albs
0b-ivan Nov 11, 2022
b8e93d2
add new pics and remove some albs
0b-ivan Nov 11, 2022
38b23a1
config new gallery
0b-ivan Nov 11, 2022
a0f8068
config gallery10
0b-ivan Nov 11, 2022
38e913a
config buildup
0b-ivan Nov 11, 2022
ba5d4ab
add new gallery
0b-ivan Nov 11, 2022
38f2392
WIP debugging Ga
0b-ivan Nov 11, 2022
cad5a55
WIP debugging Ga
0b-ivan Nov 11, 2022
520d99f
WIP debugging Ga
0b-ivan Nov 11, 2022
ba65660
WIP debugging Ga
0b-ivan Nov 11, 2022
4dbf962
WIP debugging Ga
0b-ivan Nov 11, 2022
588b3fc
wip
0b-ivan Nov 11, 2022
2a8c330
WIP add icon
0b-ivan Nov 11, 2022
e3edc64
add new slideshow firstpage
0b-ivan Nov 25, 2022
8153aec
add Gemfile and install Jekyll
0b-ivan Nov 25, 2022
c92eae7
add netlifycms config and auth widged
0b-ivan Nov 25, 2022
1be3149
Upload “assets/uploads/bildschirm­foto-2022-11-23-um-08.38.26.png”
Nov 25, 2022
4019ccb
Delete “assets/uploads/bildschirm­foto-2022-11-23-um-08.38.26.png”
Nov 25, 2022
292e98b
config backend with some tweaks
0b-ivan Nov 25, 2022
2a0a015
Create Authors “map-layout-author-name-ivan-display_name-ivan-babayev…
Nov 25, 2022
a421e19
new cms
0b-ivan Nov 26, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
_site
node_modules
node_modules
.vscode/
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
kiramisuarts.quercom.myds.me
15 changes: 15 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
source "https://rubygems.org"

gem "jekyll", ">= 3.8.5"

group :jekyll_plugins do
gem "jekyll-feed", "~> 0.6"
gem "jekyll-paginate", "~> 1.1.0"
gem "jekyll-sitemap"
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?
78 changes: 78 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
colorator (1.1.0)
concurrent-ruby (1.1.10)
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
eventmachine (1.2.7)
ffi (1.15.5)
forwardable-extended (2.6.0)
http_parser.rb (0.8.0)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
jekyll (4.3.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (>= 2.0, < 4.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3, >= 2.3.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (>= 0.3.6, < 0.5)
pathutil (~> 0.9)
rouge (>= 3.0, < 5.0)
safe_yaml (~> 1.0)
terminal-table (>= 1.8, < 4.0)
webrick (~> 1.7)
jekyll-feed (0.17.0)
jekyll (>= 3.7, < 5.0)
jekyll-paginate (1.1.0)
jekyll-sass-converter (2.2.0)
sassc (> 2.0.1, < 3.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.4.0)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.7.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (5.0.0)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (4.0.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (3.0.2)
unicode-display_width (>= 1.1.1, < 3)
unicode-display_width (2.3.0)
webrick (1.7.0)

PLATFORMS
x86_64-linux

DEPENDENCIES
jekyll (>= 3.8.5)
jekyll-feed (~> 0.6)
jekyll-paginate (~> 1.1.0)
jekyll-sitemap
tzinfo-data

BUNDLED WITH
2.3.7
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
layout: author
name: ivan
display_name: ivan Babayev
position: Admin
---
testtesttest
28 changes: 19 additions & 9 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# Site settings
title: PHOTORAMA
title: kiramisuarts
email: ""
description: "Photo Journal"
url: "https://sunbliss.github.io"
baseurl: "/photorama"
url: "https://kiramisuarts.quercom.myds.me"
baseurl: ""
facebook_username: ""
twitter_username: ""
instagram_username: ""
github_username: ""
deviantart_username: ""
flickr_username: ""
discus_shortname: ""
share: true
share: false

# Owner/author information
owner:
name: photorama
name: kiramisuarts
avatar: avatar.png
favicon: favicon.ico
info: photography website template
info: Kira, El Wardagy

# Settings for comments helper
# Set 'provider' to the comment provider you want to use. (i.e. Disqus, Intense Debate, livefyre, or Facebook Comments)
Expand All @@ -33,9 +33,9 @@ comments :

# Internal nav
nav:
- GALLERY: "https://sunbliss.github.io/photorama/gallery/"
- JOURNAL: "https://sunbliss.github.io/photorama/journal/"
- ABOUT: "https://sunbliss.github.io/photorama/about/"
- GALLERY: "/gallery"
- JOURNAL: "/journal"
- ABOUT: "/about"

# All translation keys
translations:
Expand Down Expand Up @@ -71,3 +71,13 @@ sitemap:
- "/writing/"
change_frequency_name: "change_frequency"
priority_name: "priority"

# jekyll_admin
jekyll_admin:
hidden_links:
- posts
- pages
- staticfiles
- datafiles
- configuration
homepage: "pages"
9 changes: 9 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# _data/navigation.yml
- name: Home
link: /
- name: About
link: /about.html
- name: Blog
link: /blog.html
- name: Staff
link: /staff.html
3 changes: 2 additions & 1 deletion _includes/nav.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
<!-- Navigation -->
<nav class="navbar navbar-default navbar-custom navbar-fixed-top" style="margin-right:1em; z-index: 1;">
{% for item in site.data.navigation.items %}
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header page-scroll">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<i class="fa fa-bars fa-lg"></i>
</button>
<a href="{{ site.baseurl }}/" title="HOME"><img src="{{ site.baseurl }}/logo.png" alt="logo" style="width:150px;cursor:pointer;margin-top:15px;"/></a>
<a href="{{ site.baseurl }}/" title="HOME"><img src="{{ site.baseurl }}/logo.png" alt="logo" style="width:245px;cursor:pointer;margin-top:-50px;margin-left:-37px;"/></a>
</div>

<!-- Collect the nav links, forms, and other content for toggling -->
Expand Down
17 changes: 17 additions & 0 deletions _layouts/author.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!-- _layouts/author.html -->
--- layout: default ---

<h1>{{ page.display_name }}</h1>
<h2>{{ page.position }}</h2>

{{ content }}

<h2>Posts</h2>
<ul>
{% assign filtered_posts = site.posts | where: 'author', page.name %} {% for post in
filtered_posts %}
<li>
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
9 changes: 8 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

{% assign post = page %}


<article>
<!-- Post Header -->
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% endif %}')">
Expand Down Expand Up @@ -57,7 +58,13 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
<div class="row">


{{ content }}
<p>
{{ page.date | date_to_string }} {% assign author = site.authors | where: 'name', page.author |
first %} {% if author %} - <a href="{{ author.url }}">{{ author.display_name }}</a>
{% endif %}
</p>

{{ content }}

<br>
<br>
Expand Down
68 changes: 68 additions & 0 deletions admin/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# config.yml

backend:
name: git-gateway
branch: WIP # Branch to update (optional; defaults to master)
media_folder: 'assets/uploads'
collections:
- name: 'blog'
label: 'Blog'
folder: '_posts/'
create: true
slug: '{{year}}-{{month}}-{{day}}-{{slug}}'
editor:
preview: false
fields:
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'post' }
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Publish Date', name: 'date', widget: 'datetime' }
- {
label: 'Author',
name: 'author',
widget: 'relation',
collection: 'authors',
display_fields: [display_name],
search_fields: [display_name],
value_field: 'name',
}
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'authors'
label: 'Authors'
folder: '_authors/'
create: true
editor:
preview: false
fields:
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'author' }
- { label: 'Short Name', name: 'name', widget: 'string' }
- { label: 'Display Name', name: 'display_name', widget: 'string' }
- { label: 'Position', name: 'position', widget: 'string' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'pages'
label: 'Pages'
editor:
preview: false
files:
- label: 'About Page'
name: 'about'
file: 'about.md'
fields:
- { label: 'Title', name: 'title', widget: 'hidden', default: 'about' }
- { label: 'Layout', name: 'layout', widget: 'hidden', default: 'about' }
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'config'
label: 'Config'
editor:
preview: false
files:
- label: 'Navigation'
name: 'navigation'
file: '_data/navigation.yml'
fields:
- label: 'Navigation Items'
name: 'items'
widget: 'list'
fields:
- { label: Name, name: name, widget: string }
- { label: Link, name: link, widget: string }

26 changes: 26 additions & 0 deletions admin/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<!-- admin/index.html -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Content Manager</title>
<!-- Include the identity widget -->
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js" type="text/javascript"></script>
</head>
<body>
<!-- Include the script that builds the page and powers Netlify CMS -->
<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
<script>
if (window.netlifyIdentity) {
window.netlifyIdentity.on("init", user => {
if (!user) {
window.netlifyIdentity.on("login", () => {
document.location.href = "/admin/";
});
}
});
}
</script>
</body>
</html>
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "photorama",
"description": "Photo Journal",
"name": "KiramisuArts",
"description": "Handwerk Portfolio",
"main": "index.html",
"moduleType": [],
"authors": [
"Anna Prigkipaki"
"Ivan Babayev"
],
"license": "Apache-2.0",
"homepage": "",
Expand Down
Loading