-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from waschinski/dev
Update from dev branch Former-commit-id: 4a9d7ba
- Loading branch information
Showing
32 changed files
with
220 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,10 +5,12 @@ [email protected] | |
AUTHOR_WEBSITE=https://maxvoltar.com | ||
DESCRIPTION=@maxvoltar's minimalistic, self-hosted photo stream. | ||
BASEURL= | ||
# URL must end with / or links will be broken | ||
URL=https://maxvoltar.photo/ | ||
# URL must NOT end with / or links will be messed up | ||
URL=https://maxvoltar.photo | ||
SHOW_RSS_FEED=1 | ||
SHOW_OFFICIAL_GITHUB=1 | ||
HEADER_ENABLED=0 | ||
HEADER_BACKGROUND_COLOR="#161e2e" | ||
ALLOW_ORDER_SORT_CHANGE=1 | ||
ALLOW_ORIGINAL_DOWNLOAD=0 | ||
ALLOW_INDEXING=1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,6 @@ | |
# Build settings | ||
plugins: | ||
- jekyll-dotenv | ||
- jekyll-exif-data | ||
|
||
image_processing: | ||
large: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Plugin found at https://github.com/nataliastanko/jekyll-lightgallery-exif - thanks Natalia! | ||
|
||
#frozen_string_literal: true | ||
|
||
require 'exiftool' | ||
|
||
module Jekyll | ||
module ExifData | ||
module ExifDataFilter | ||
|
||
# Read exif/xmp using exiftool | ||
# | ||
# file - relative path to the file | ||
# exiftag - title, decription, file_size, create_date, megapixels, ... | ||
def exif(file, exiftag) | ||
exiftag = exiftag.to_sym | ||
filepath = File.expand_path(File.dirname(File.dirname(__FILE__))) + '/' + file | ||
|
||
begin | ||
if File.exist?(filepath) | ||
e = Exiftool.new(filepath) | ||
e.to_hash.key?(exiftag) | ||
e[exiftag] | ||
end | ||
|
||
rescue StandardError => e | ||
puts e.message | ||
file | ||
end | ||
end | ||
end | ||
end | ||
end | ||
|
||
Liquid::Template.register_filter(Jekyll::ExifData::ExifDataFilter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="/mstile-150x150.png?v=1"/> | ||
<TileColor>#603cba</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Oops, something went wrong.