Skip to content

Commit 331666f

Browse files
Initial commit
0 parents  commit 331666f

33 files changed

+1192
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 4.2.2"
4+
5+
gem "webrick", "~> 1.8"

Gemfile.lock

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.6)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.2.2)
8+
em-websocket (0.5.3)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0)
11+
eventmachine (1.2.7-x86-mingw32)
12+
ffi (1.16.3-x86-mingw32)
13+
forwardable-extended (2.6.0)
14+
http_parser.rb (0.8.0)
15+
i18n (1.14.1)
16+
concurrent-ruby (~> 1.0)
17+
jekyll (4.2.2)
18+
addressable (~> 2.4)
19+
colorator (~> 1.0)
20+
em-websocket (~> 0.5)
21+
i18n (~> 1.0)
22+
jekyll-sass-converter (~> 2.0)
23+
jekyll-watch (~> 2.0)
24+
kramdown (~> 2.3)
25+
kramdown-parser-gfm (~> 1.0)
26+
liquid (~> 4.0)
27+
mercenary (~> 0.4.0)
28+
pathutil (~> 0.9)
29+
rouge (~> 3.0)
30+
safe_yaml (~> 1.0)
31+
terminal-table (~> 2.0)
32+
jekyll-sass-converter (2.2.0)
33+
sassc (> 2.0.1, < 3.0)
34+
jekyll-watch (2.2.1)
35+
listen (~> 3.0)
36+
kramdown (2.4.0)
37+
rexml
38+
kramdown-parser-gfm (1.1.0)
39+
kramdown (~> 2.0)
40+
liquid (4.0.4)
41+
listen (3.8.0)
42+
rb-fsevent (~> 0.10, >= 0.10.3)
43+
rb-inotify (~> 0.9, >= 0.9.10)
44+
mercenary (0.4.0)
45+
pathutil (0.16.2)
46+
forwardable-extended (~> 2.6)
47+
public_suffix (5.0.4)
48+
rb-fsevent (0.11.2)
49+
rb-inotify (0.10.1)
50+
ffi (~> 1.0)
51+
rexml (3.2.6)
52+
rouge (3.30.0)
53+
safe_yaml (1.0.5)
54+
sassc (2.4.0)
55+
ffi (~> 1.9)
56+
terminal-table (2.0.0)
57+
unicode-display_width (~> 1.1, >= 1.1.1)
58+
unicode-display_width (1.8.0)
59+
webrick (1.9.1)
60+
61+
PLATFORMS
62+
x86-mingw32
63+
64+
DEPENDENCIES
65+
jekyll (~> 4.2.2)
66+
webrick (~> 1.8)
67+
68+
BUNDLED WITH
69+
2.3.26

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
2+
Version 2, December 2004
3+
4+
Copyright (C) 2025 RodFireProductions
5+
6+
Everyone is permitted to copy and distribute verbatim or modified
7+
copies of this license document, and changing it is allowed as long
8+
as the name is changed.
9+
10+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
11+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
12+
13+
0. You just DO WHAT THE FUCK YOU WANT TO.

_characters/example.md

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
---
2+
# Page information
3+
layout: character
4+
char_id: c:example # MUST start with "c:". Each character MUST have a unique ID. They are case sensitive.
5+
theme: # Leave empty to use "default.css"
6+
style: 1 # 0 - Wiki | 1 - Full body
7+
tags:
8+
- example
9+
10+
# Basic
11+
name: Character Name
12+
tagline: A tagline for this character.
13+
image:
14+
icon: example_icon.png
15+
block: example_block.png
16+
body: example_body.png
17+
attributes:
18+
Full Name: Full Character Name
19+
Aliases: Example Name
20+
Gender: Nonexistent
21+
Pronouns: any/all
22+
Age: Adult
23+
Orientation: AroAce
24+
Species: Nonexistent
25+
26+
# Relationships
27+
relation_type: 1 # 0 - Attributes Table | 1 - Detailed
28+
relationships:
29+
Twin:
30+
name: Character Name
31+
url: c:example2
32+
details: |
33+
Details about their relationship. Possible a quote from either of the
34+
two. Who knows.
35+
36+
A lot of details.
37+
Mother:
38+
name: Character Name
39+
icon: example_icon.png
40+
Sister:
41+
name: Character Name
42+
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/8/85/Smiley.svg/1024px-Smiley.svg.png
43+
Brother:
44+
name: Character Name
45+
url: https://example.com
46+
details: |
47+
More relationship details.
48+
49+
# Colors
50+
color_type: 0 # 0 - Square | 1 - Circle | 2 - Star | 3 - diamond
51+
colors: # Hex codes without the "#" symbol.
52+
- "000000"
53+
- "333333"
54+
- "666666"
55+
- "999999"
56+
- "cccccc"
57+
- "ffffff"
58+
59+
# Text Sections
60+
# You can add as many sections as you'd like.
61+
section:
62+
Biography: |
63+
The biography of this character.
64+
It can be *multiline*.
65+
66+
This is also a part of the biography but in second paragraph.
67+
<hr>
68+
And a third after a horizontal line.
69+
Appearance: |
70+
Character's appearance.
71+
Personality: |
72+
Character's personality.
73+
74+
# Gallery
75+
gallery:
76+
Image Name:
77+
artist: Artist name
78+
artist_url: https://example.com
79+
alt: Alternative text for image.
80+
file: example_icon.png
81+
Image Name 2:
82+
artist: Artist name
83+
characters:
84+
Example:
85+
url: https://example.com
86+
Example 2:
87+
url: c:example
88+
description: This is a description.
89+
file: example_body.png
90+
Image Name 3:
91+
artist: Artist Name
92+
artist_url: https://shroom.ink
93+
characters:
94+
Example:
95+
url: c:example
96+
Example 2:
97+
url: c:example2
98+
description: |
99+
The twins standing side by side.
100+
file: example_image.png
101+
102+
# Permissions & Ownership
103+
permissions:
104+
Fan Works: Allowed
105+
Commissions: Ask First
106+
Shipping: Only with Character
107+
OC Interaction: Allowed
108+
Franchise Interaction: Allowed
109+
110+
ownership:
111+
Owner: Me
112+
Designer: Me
113+
Up For Sale: Never
114+
Up For Trade: Never
115+
---

_characters/example2.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
---
2+
# Page information
3+
layout: character
4+
char_id: c:example2 # MUST start with "c:". Each character MUST have a unique ID. They are case sensitive.
5+
theme: # Leave empty to use "default.css"
6+
style: 0 # 0 - Wiki | 1 - Full body
7+
tags:
8+
- example
9+
10+
# Basic
11+
name: Character Name
12+
tagline: A tagline for this character.
13+
image:
14+
icon: example2_icon.png
15+
block: example2_block.png
16+
body: example2_body.png
17+
attributes:
18+
Full Name: Full Character Name
19+
Aliases: Example Name
20+
Gender: Nonexistent
21+
Pronouns: any/all
22+
Age: Adult
23+
Orientation: AroAce
24+
Species: Nonexistent
25+
26+
# Relationships
27+
relation_type: 0 # 0 - Attributes Table | 1 - Detailed
28+
relationships:
29+
Twin:
30+
name: Character Name
31+
url: c:example
32+
details: |
33+
Details about their relationship. Possible a quote from either of the
34+
two. Who knows.
35+
36+
A lot of details.
37+
Mother:
38+
name: Character Name
39+
icon: example_icon.png
40+
Sister:
41+
name: Character Name
42+
icon: https://upload.wikimedia.org/wikipedia/commons/thumb/8/85/Smiley.svg/1024px-Smiley.svg.png
43+
Brother:
44+
name: Character Name
45+
url: https://example.com
46+
details: |
47+
More relationship details.
48+
49+
# Colors
50+
color_type: 0 # 0 - Square | 1 - Circle | 2 - Heart | 3 - Star | 4 - diamond
51+
colors:
52+
- "000000"
53+
- "333333"
54+
- "666666"
55+
- "999999"
56+
- "cccccc"
57+
- "ffffff"
58+
59+
# Text Sections
60+
# You can add as many sections as you'd like.
61+
section:
62+
Biography: |
63+
The biography of this character.
64+
It can be *multiline*.
65+
66+
This is also a part of the biography but in second paragraph.
67+
<hr>
68+
And a third after a horizontal line.
69+
Appearance: |
70+
Character's appearance.
71+
Personality: |
72+
Character's personality.
73+
74+
# Gallery
75+
gallery:
76+
Image Name:
77+
artist: Artist name
78+
artist_url: https://example.com
79+
alt: Alternative text for image.
80+
file: example2_icon.png
81+
Image Name 2:
82+
artist: Artist name
83+
characters:
84+
Example:
85+
url: https://example.com
86+
Example 2:
87+
url: c:example2
88+
description: This is a description.
89+
file: example2_body.png
90+
Image Name 3:
91+
artist: Artist Name
92+
characters:
93+
Example:
94+
url: c:example
95+
Example 2:
96+
url: c:example2
97+
description: |
98+
The twins standing side by side.
99+
file: example_image.png
100+
101+
# Permissions & Ownership
102+
permissions:
103+
Fan Works: Allowed
104+
Commissions: Ask First
105+
Shipping: Only with Character
106+
OC Interaction: Allowed
107+
Franchise Interaction: Allowed
108+
109+
ownership:
110+
Owner: Me
111+
Designer: Me
112+
Up For Sale: Never
113+
Up For Trade: Never
114+
---

_config.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
title: Lil-Ref
2+
author: Your name
3+
url: Site Url
4+
github_repo_url: https://github.com/RodFireProductions/Lil-Ref
5+
language: en-us
6+
description: Your site description.
7+
8+
## ## ## ##
9+
include : ["_pages", "_characters"]
10+
collections :
11+
pages :
12+
output: true
13+
permalink: /:path.html
14+
characters :
15+
output: true
16+
permalink: /character/:path.html

_includes/character_icon.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{% if include.url contains "c:" %}
2+
{% assign chara = site.characters | find: "char_id", include.url %}
3+
<img src="{{ 'assets/img/' | append: chara.image.icon | relative_url }}" alt="Icon of {{ include.name }}">
4+
{% elsif include.icon contains "http" %}
5+
<img src="{{ include.icon }}" alt="Icon of {{ include.name }}">
6+
{% elsif include.icon != "" %}
7+
<img src="{{ 'assets/img/' | append: include.icon | relative_url }}" alt="Icon of {{ include.name }}">
8+
{% else %}
9+
{% endif %}

_includes/character_link.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{% if include.url contains "c:" %}
2+
{% assign chara = site.characters | find: "char_id", include.url %}
3+
<a href="{{ chara.url | default: '#' }}">{{ include.name }}</a>
4+
{% else %}
5+
<a target="_blank" href="{{ include.url }}">{{ include.name }}</a>
6+
{% endif %}

_includes/character_widget.html

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{% if include.character contains "c:" %}
2+
{% assign char = site.characters | find: "char_id", include.character %}
3+
<div class="character-widget">
4+
<img src="{{ 'assets/img/' | append: char.image.icon | relative_url }}" alt="Icon of {{ char.name }}">
5+
<p><a href="{{ char.url }}">{{ char.name }}</a></p>
6+
</div>
7+
8+
{% else %}
9+
<p><strong>Character ID not found: {{ include.character }}</strong></p>
10+
{% endif %}

0 commit comments

Comments
 (0)