Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
bulbil committed Sep 30, 2023
0 parents commit 8d16dee
Show file tree
Hide file tree
Showing 294 changed files with 32,224 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/jekyll-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Jekyll site CI

on:
push:
branches: [ "main" ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "apk update && apk add graphicsmagick && chmod -R 777 /srv/jekyll && jekyll build"
- name: Rsync Deployments Action
# You may pin to the exact commit or the version.
# uses: Burnett01/rsync-deployments@2651e3eecb4ea772cbe952695d04952e92027b4f
uses: Burnett01/[email protected]
with:
# The switches
switches: -r --delete-after
# The local path
path: _site/
# The remote path
remote_path: ~/www/
# The remote host
remote_host: ulises.us
# The remote user
remote_user: ulisesus
# The remote key
remote_key: ${{ secrets.GREENGEEKS_KEY }}
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
_site
.sass-cache
.jekyll-metadata
.jekyll-cache
vendor
.bundle
node_modules
.DS_Store
._asset_bundler_cache
Gemfile.lock
29 changes: 29 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
source "https://rubygems.org"

# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
# gem "jekyll", ">= 3.6.3"
gem "jekyll", "~> 4.0.0"



# This is the default theme for new Jekyll sites. You may change this to anything you like.
# gem "minima", "~> 2.0"
gem "neat"
gem "mini_magick"
gem "json"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins

# If you have any plugins, put them here!
group :jekyll_plugins do
# gem "jekyll-feed", "~> 0.6"
gem "jemoji"
end
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
```
__ __
| \| \
__ __ | $$ \$$ _______ ______ _______
| \ | \| $$| \ / \ / \ / \
| $$ | $$| $$| $$| $$$$$$$| $$$$$$\| $$$$$$$
| $$ | $$| $$| $$ \$$ \ | $$ $$ \$$ \
| $$__/ $$| $$| $$ _\$$$$$$\| $$$$$$$$ _\$$$$$$\
\$$ $$| $$| $$| $$ \$$ \| $$
\$$$$$$ \$$ \$$ \$$$$$$$ \$$$$$$$ \$$$$$$$
__ __
| \ | \
| $$____ ______ ______ | $$ __ _______
| $$ \ / \ / \ | $$ / \ / \
| $$$$$$$\| $$$$$$\| $$$$$$\| $$_/ $$| $$$$$$$
| $$ | $$| $$ | $$| $$ | $$| $$ $$ \$$ \
| $$__/ $$| $$__/ $$| $$__/ $$| $$$$$$\ _\$$$$$$\
| $$ $$ \$$ $$ \$$ $$| $$ \$$\| $$
\$$$$$$$ \$$$$$$ \$$$$$$ \$$ \$$ \$$$$$$$
```

:alien: Repository for [ulises.us](http://ulises.us) :alien:
119 changes: 119 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Ulises.us Jekyll Config
#
# bundle exec jekyll [command]

# includes settings for:
# - prose.io
# - minimagick

# Site settings

title: ULISES
email: [email protected]
description: >
Ulises / Books / Curation
baseurl: ""
url: "" # the base hostname & protocol for your site, e.g. http://example.com
github_username: hello-ulises

# Build settings
markdown: kramdown
highlighter: rouge
incremental: false

gems:
- jekyll-feed
- jemoji
- jekyll-minimagick

exclude:
- Gemfile
- Gemfile.lock
- package.json
- package-lock.json
- vendor
- .asset-cache
- .bundle
- .jekyll-assets-cache
- .sass-cache
- gulpfile.js
- node_modules
- README.md
- components

encoding: "utf-8"
markdown_ext: "md"

kramdown:
input: GFM
hard_wrap: false
smart_quotes: lsquo,rsquo,ldquo,rdquo

sass:
sass_dir: _sass
style: compressed

mini_magick:
resize:
source: assets/img
destination: assets/img
resize: "600x>"

prose:
rooturl: '_posts'
media: 'assets/img'
ignore:
- index.md
- _config.yml
- /_layouts
- /_includes
metadata:
_posts:
- name: "title"
field:
element: "text"
placeholder: "enter post title"
help: This will appear as the post title
label: "title"
- name: "date"
field:
element: "text"
help: Date of post affects in which order posts appear
value: CURRENT_DATETIME
- name: "event_date"
field:
element: "text"
help: If applicable, enter date and time of event as it should appear in the text of the post
- name: "layout"
field:
element: "hidden"
value: "post"
- name: "categories"
field:
element: "select"
label: "column"
placeholder: "choose column"
options:
- name: "left"
value: "left"
- name: "right"
value: "right"
- name: "tags"
field:
element: "multiselect"
label: "tags"
placeholder: "choose or add tags"
alterable: true
options:
- name: "sticky"
value: "sticky"
- name: "active-voice"
value: "active-voice"
- name: "intimacy"
value: "intimacy"
- name: "published"
field:
element: "checkbox"
label: "published"
help: Check if you'd like to see this post published to the public site
value: false
11 changes: 11 additions & 0 deletions _includes/google-analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<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>

27 changes: 27 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">

<link rel="stylesheet" href="{{ "/assets/css/main.css" | append: '?v=1.1' | relative_url }}">

<link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">

<link rel="icon" type="image/png" href="{{ "assets/favicon/favicon-192x192.png" | relative_url }}" sizes="192x192">
<link rel="icon" type="image/png" href="{{ "assets/favicon/favicon-160x160.png" | relative_url }}" sizes="160x160">
<link rel="icon" type="image/png" href="{{ "assets/favicon/favicon-96x96.png" | relative_url }}" sizes="96x96">
<link rel="icon" type="image/png" href="{{ "assets/favicon/favicon-16x16.png" | relative_url }}" sizes="16x16">
<link rel="icon" type="image/png" href="{{ "assets/favicon/favicon-32x32.png" | relative_url }}" sizes="32x32">
<link rel="icon" type="image/png" href="{{ "assets/favicon/favicon.png" | relative_url }}">

{% if jekyll.environment == 'production' and site.google_analytics %}
{% include google-analytics.html %}
{% endif %}

</head>
55 changes: 55 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<header class="site-header right">

<div class="content-wrapper">
<div class="info-wrapper">
<div>
<p>Phila, PA<br/>
hello@<span>ulises</span>.us</p>
</div>
<div id="info-button" data-parent="info"><p><a>info</a></p></div>
</div>

<div id="info">
<div class="slide">

<div class="expanded">

<div class="info-wrapper">

</div>

{% assign info = site.posts | where: 'tags', 'info' %}

{{ info[0].content }}

<!-- Begin MailChimp Signup Form -->
<div id="mc_embed_signup">
<form action="//ulises.us14.list-manage.com/subscribe/post?u=58562cf5d1b76bc24d9c433ec&amp;id=fcf50467af" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">

<div class="mc-field-group">
<label for="mce-EMAIL">Email Address </label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="SUBSCRIBE ...">
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_58562cf5d1b76bc24d9c433ec_fcf50467af" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="&rarrw;" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
</div>

<!--End mc_embed_signup-->

<a id="instagram-link" href="https://www.instagram.com/ulisesbooks/"><span>instagram</span></a>

</div>

<div class="excerpted">
</div>
</div>
</div>

</header>
15 changes: 15 additions & 0 deletions _includes/pasp.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<div id="pasp-reveal" class="fixed" data-parent="pasp" data-target="column"><p>PUBLISHING <br/>AS PRACTICE:</p>

<svg class="hide" viewbox="0 0 40 40">
<path class="close-x" d="M 10,10 L 30,30 M 30,10 L 10,30" />
</svg>

</div>

<div class="column typeset" id="pasp">

{% assign pasp = site.posts | where: 'tags', 'pasp' %}
{% for post in pasp %}
{% include post-single.html %}
{% endfor %}
</div>
23 changes: 23 additions & 0 deletions _includes/post-single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<article class="post {% if post.tags contains 'mobile-only' %}mobile-only{% endif %}" itemscope itemtype="http://schema.org/BlogPosting">

<header class="post-header">

<span class="post-title" itemprop="name headline">{{ post.title | prepend: "## " | markdownify }}</span>

<!-- todo: add post link here when single post view designed -->

{% if post.event_date %}
{{ post.event_date | prepend: "<p>" | append: "</p>" }}
{% endif %}

</header>

<div class="post-content" itemprop="articleBody">
{% if post.summary %}
{{ post.summary }}
{% else %}
{{ post.content}}
{% endif %}
</div>

</article>
Loading

0 comments on commit 8d16dee

Please sign in to comment.