-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Scriptor theme by JustGoodThemes (#1)
- Loading branch information
Showing
62 changed files
with
2,323 additions
and
21 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: bundler | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
allow: | ||
- dependency-type: direct |
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,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: ["main"] | ||
|
||
# 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 |
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,17 @@ | ||
# IDEs | ||
.idea | ||
.vscode | ||
|
||
# OS X | ||
.DS_Store | ||
|
||
# Copied from https://github.com/github/gitignore/blob/main/Jekyll.gitignore | ||
# Ignore metadata generated by Jekyll | ||
_site/ | ||
.sass-cache/ | ||
.jekyll-cache/ | ||
.jekyll-metadata | ||
|
||
# Ignore folders generated by Bundler | ||
.bundle/ | ||
vendor/ |
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 @@ | ||
--- | ||
layout: page | ||
title: Page Not Found | ||
permalink: /404.html | ||
feature_image: images/404.jpg | ||
--- | ||
|
||
Apologies, but the page you requested could not be found.<br /> | ||
<a class="error-link" href="{{ site.baseurl }}/">Go to the front page →</a> |
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,10 @@ | ||
source "https://rubygems.org" | ||
|
||
# This will help ensure the proper Jekyll version is running. | ||
gem "jekyll", "~> 4.3.4" | ||
|
||
group :jekyll_plugins do | ||
gem 'jekyll-paginate' | ||
gem 'jekyll-sitemap' | ||
end | ||
|
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,3 @@ | ||
# LaraJournal`s Blog | ||
|
||
This is a repository for https://larajournal.github.io/blog |
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,69 @@ | ||
# Welcome to Jekyll! | ||
# | ||
# This config file is meant for settings that affect your whole blog, values | ||
# which you are expected to set up once and rarely need to edit after that. | ||
# For technical reasons, this file is *NOT* reloaded automatically when you use | ||
# 'jekyll serve'. If you change this file, please restart the server process. | ||
|
||
# Site language | ||
lang: en-US | ||
|
||
# Site title | ||
title: "LaraJournal" | ||
|
||
# A description of your site for meta tag, search engine results. | ||
description: "LaraJournal is a simple blog app written on PHP and Laravel" | ||
|
||
# The subpath of your site, e.g. /blog, for generating urls. | ||
baseurl: "blog" | ||
|
||
# The base hostname & protocol of your site for where absolute urls are needed. | ||
url: "https://larajournal.github.io" | ||
|
||
# Favicon | ||
favicon: images/favicon.png | ||
|
||
# Google Analytics id, e.g. "UA-NNNNNNNN-N" | ||
google_analytics: "G-3712TB0863" | ||
|
||
# Site navigation - each item must have a title and a url. | ||
navigation: | ||
- text: Blogs Home | ||
url: / | ||
- text: About Larajournal | ||
url: https://larajournal.github.io | ||
- text: Tags | ||
url: /tags/ | ||
- text: Download | ||
url: https://github.com/JustGoodThemes/Scriptor-Jekyll-Theme | ||
|
||
# The shortname for your Disqus site to enable comments. | ||
disqus: larajournal | ||
|
||
# Colors | ||
accent_color: '#2d72d9' | ||
|
||
# Site footer | ||
footer: | ||
content: "Theme by [JustGoodThemes](https://www.justgoodthemes.com)." | ||
has_social: false | ||
|
||
# Plugins | ||
plugins: | ||
- jekyll-paginate | ||
|
||
# http://jekyllrb.com/docs/pagination/ | ||
paginate: 3 | ||
paginate_path: '/page:num/' | ||
|
||
|
||
# Permalinks | ||
permalink: /:title | ||
|
||
# Conversion | ||
markdown: kramdown | ||
|
||
# Sass | ||
sass: | ||
sass_dir: _sass | ||
style: compressed |
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,7 @@ | ||
{ | ||
"name": "John Doe", | ||
"bio": "John is a designer, photographer, speaker, author of a couple of books about typography and the founder of photo magazine Curious.", | ||
"url": "https://justgoodthemes.com", | ||
"location": "Vilnius, Lithuania", | ||
"image": "images/author.png" | ||
} |
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,24 @@ | ||
{ | ||
"links": [ | ||
{ | ||
"title": "Twitter", | ||
"icon": "fa-twitter", | ||
"url": "https://twitter.com/" | ||
}, | ||
{ | ||
"title": "GitHub", | ||
"icon": "fa-github", | ||
"url": "https://github.com/" | ||
}, | ||
{ | ||
"title": "Instagram", | ||
"icon": "fa-instagram", | ||
"url": "https://www.instagram.com/" | ||
}, | ||
{ | ||
"title": "LinkedIn", | ||
"icon": "fa-linkedin", | ||
"url": "https://www.linkedin.com/" | ||
} | ||
] | ||
} |
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,18 @@ | ||
<div class="comments-area"> | ||
<div class="comments-inner"> | ||
<h2 class="comments-title">Comments</h2> | ||
<div id="disqus_thread"></div> | ||
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by | ||
Disqus</a>.</noscript> | ||
</div><!-- .comments-inner --> | ||
</div><!-- .comments-area --> | ||
|
||
<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 = 'https://' + disqus_shortname + '.disqus.com/embed.js'; | ||
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); | ||
})(); | ||
</script> |
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,13 @@ | ||
<footer class="site-footer"> | ||
<div class="offsite-links"> | ||
{% if site.footer.has_social %} | ||
{% include social.html %} | ||
{% endif %} | ||
</div><!-- .offsite-links --> | ||
<div class="footer-bottom"> | ||
<div class="site-info"> | ||
{{ site.footer.content | markdownify }} | ||
</div><!-- .site-info --> | ||
<a href="#page" id="back-to-top" class="back-to-top"><span class="screen-reader-text">Back to the top </span>↑</a> | ||
</div><!-- .footer-bottom --> | ||
</footer><!-- .site-footer --> |
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 @@ | ||
<script> | ||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ | ||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), | ||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) | ||
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga'); | ||
|
||
ga('create', '{{ site.google_analytics }}', 'auto'); | ||
ga('send', 'pageview'); | ||
</script> |
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,32 @@ | ||
<header class="site-header"> | ||
{% if page.url == "/" %} | ||
<h1 class="site-title"><a class="logo-text" href="{{ site.baseurl }}/">{{site.title}}</a></h1> | ||
{% else %} | ||
<p class="site-title"><a class="logo-text" href="{{ site.baseurl }}/">{{site.title}}</a></p> | ||
{% endif %} | ||
<nav class="site-navigation"> | ||
<div class="site-navigation-wrap"> | ||
<h2 class="screen-reader-text">Main navigation</h2> | ||
<ul class="menu"> | ||
{% for item in site.navigation %} | ||
{% assign current = nil %} | ||
{% if page.url == item.url %} | ||
{% assign current = 'nav-current' %} | ||
{% endif %} | ||
<li class="menu-item {{ current }}"> | ||
<a class="{{ current }}" href="{{ item.url }}">{{ item.text }}</a> | ||
</li> | ||
{% endfor %} | ||
</ul><!-- .menu --> | ||
<button id="menu-close" class="menu-toggle"><span class="screen-reader-text">Close Menu</span><span | ||
class="icon-close" aria-hidden="true"></span></button> | ||
</div><!-- .site-navigation-wrap --> | ||
</nav><!-- .site-navigation --> | ||
<button id="menu-open" class="menu-toggle"><span class="screen-reader-text">Open Menu</span><span class="icon-menu" aria-hidden="true"></span></button> | ||
</header> | ||
|
||
{% if site.description and site.description != "" and page.url == "/" %} | ||
<div class="site-description fadeInDown delay_05s"> | ||
<p>{{ site.description }}</p> | ||
</div><!-- .site-description --> | ||
{% endif %} |
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,6 @@ | ||
<figure class="image-card width-wide caption"> | ||
<img src="{{ include.imageurl }}" alt="{{ include.title }}" /> | ||
{% if include.caption %} | ||
<figcaption class="caption-text">{{ include.caption }}</figcaption> | ||
{% endif %} | ||
</figure> |
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,6 @@ | ||
<figure class="image-card width-full caption"> | ||
<img src="{{ include.imageurl }}" alt="{{ include.title }}" /> | ||
{% if include.caption %} | ||
<figcaption class="caption-text">{{ include.caption }}</figcaption> | ||
{% endif %} | ||
</figure> |
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,6 @@ | ||
{% for link in site.data.social.links %} | ||
<a href="{{ link.url }}" target="_blank" rel="noopener"> | ||
<span class="{{ link.icon }}" aria-hidden="true"></span> | ||
<span class="screen-reader-text">{{ link.title }}</span> | ||
</a> | ||
{% endfor %} |
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,36 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ site.lang | default: 'en-US' }}"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title> | ||
<meta name="description" content="{{ page.description | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}"> | ||
<link rel="canonical" href="{{ page.url | replace:'index.html', '' | absolute_url }}"> | ||
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }} Feed" | ||
href="{{ '/feed.xml' | absolute_url }}"> | ||
{% if site.favicon and site.favicon != "" %} | ||
<link rel="shortcut icon" href="{{ site.favicon | relative_url }}" type="image/png" /> | ||
{% endif %} | ||
<!-- Styles --> | ||
<link href="https://fonts.googleapis.com/css?family=Lato:400,400i,700,700i%7CNoto+Serif:400,400i,700,700i&display=swap" rel="stylesheet"> | ||
<link href="{{ '/assets/css/style.css' | relative_url }}" rel="stylesheet"> | ||
</head> | ||
<body> | ||
|
||
<div id="page" class="site"> | ||
<div class="inner"> | ||
{% include header.html %} | ||
{{content}} | ||
{% include footer.html %} | ||
</div><!-- .inner --> | ||
</div><!-- .site --> | ||
|
||
<!-- Scripts --> | ||
{% if site.google_analytics %} | ||
{% include google_analytics.html %} | ||
{% endif %} | ||
<script src="{{ '/assets/js/plugins.js' | relative_url }}"></script> | ||
<script src="{{ '/assets/js/custom.js' | relative_url }}"></script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.