Skip to content

Commit 7cde8a3

Browse files
😐
1 parent 331666f commit 7cde8a3

File tree

7 files changed

+139
-12
lines changed

7 files changed

+139
-12
lines changed

_characters/example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ gallery:
103103
permissions:
104104
Fan Works: Allowed
105105
Commissions: Ask First
106-
Shipping: Only with Character
106+
Shipping: No
107107
OC Interaction: Allowed
108108
Franchise Interaction: Allowed
109109

_characters/example2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ gallery:
102102
permissions:
103103
Fan Works: Allowed
104104
Commissions: Ask First
105-
Shipping: Only with Character
105+
Shipping: No
106106
OC Interaction: Allowed
107107
Franchise Interaction: Allowed
108108

_draft/blank_character.md

Lines changed: 109 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,109 @@
1+
---
2+
layout: character
3+
###
4+
5+
# MUST start with "c:". Each character MUST have a unique ID. They are case sensitive.
6+
char_id: c:example
7+
8+
# Leave empty to use "default.css".
9+
# If custom, this will look for a file in `assets/css/`.
10+
theme:
11+
12+
# The layout of your page.
13+
# 0 - Wiki
14+
# 1 - Full-body
15+
style: 0
16+
17+
tags:
18+
- example
19+
20+
# Basic
21+
name: Character Name
22+
tagline: A tagline for this character.
23+
image:
24+
# A square image used for widget icons and favicons.
25+
icon: example_icon.png
26+
# Basic image. Is required for the Wiki layout.
27+
block: example_block.png
28+
# Full-body image. Is required for the Full-body layout.
29+
body:
30+
attributes:
31+
Full Name: Full Character Name
32+
Aliases: Example Name
33+
Gender: Nonexistent
34+
Pronouns: any/all
35+
Age: Adult
36+
Orientation: AroAce
37+
Species: Nonexistent
38+
39+
# Relationships
40+
# The `relation_type` let's you choose whether the relationships are displayed
41+
# with the attributes table or has it's own section where you can write
42+
# extra details about the relationship.
43+
# 0 - Attributes Table
44+
# 1 - Detailed
45+
relation_type: 0
46+
relationships:
47+
Relationship name:
48+
name:
49+
url:
50+
icon:
51+
details: |
52+
Relationship details.
53+
54+
# Colors
55+
# The `color_type` controls the shape of the color buttons.
56+
# If you click a color button, it copies the hex code of the color to your
57+
# clipboard.
58+
# 0 - Square
59+
# 1 - Circle
60+
# 2 - Star
61+
# 3 - diamond
62+
color_type: 0
63+
colors: # Hex codes without the "#" symbol.
64+
- "000000"
65+
- "333333"
66+
- "666666"
67+
- "999999"
68+
- "cccccc"
69+
- "ffffff"
70+
71+
# Text Sections
72+
# You can add as many sections as you'd like. The more the better!
73+
section:
74+
Biography: |
75+
Character's biography.
76+
Appearance: |
77+
Character's appearance.
78+
Personality: |
79+
Character's personality.
80+
Any Heading you want: |
81+
Any text you want.
82+
83+
# Gallery
84+
gallery:
85+
Image Name:
86+
artist: Artist name
87+
artist_url: https://example.com
88+
alt: Alternative text for image.
89+
file:
90+
characters:
91+
Character Name:
92+
url: https://example.com
93+
description: |
94+
A description for the image.
95+
96+
# Permissions & Ownership
97+
permissions:
98+
Fan Works: Allowed
99+
Commissions: Ask First
100+
Shipping: Only with Character Canon Love Interest
101+
OC Interaction: Allowed
102+
Franchise Interaction: Allowed
103+
104+
ownership:
105+
Owner: Me
106+
Designer: Me
107+
Up For Sale: Never
108+
Up For Trade: Never
109+
---

_includes/character_icon.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{% if include.url contains "c:" %}
1+
{% if include.url contains "c:" and include.icon == "" %}
22
{% assign chara = site.characters | find: "char_id", include.url %}
33
<img src="{{ 'assets/img/' | append: chara.image.icon | relative_url }}" alt="Icon of {{ include.name }}">
44
{% elsif include.icon contains "http" %}

_pages/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ layout: base
44

55
group:
66
- c:example
7+
- c:example2
78
- c:example
89
---
910

assets/css/default.css

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,3 @@
1717
--accent-color: teal;
1818
--grid-size: 180px; /* The minimum width of images in the gallery and widget grids */
1919
}
20-
21-
@media (prefers-color-scheme: dark) {
22-
}
23-
[theme='dark'] {
24-
--bg-color: black;
25-
}

readme.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,29 @@ a project that got rewritten multiple times but never released.
77
A project I started when I was a lot less experienced.
88
I just needed to restart again with a blank slate.
99

10-
Layouts:
11-
- Full-body
12-
- Wiki
10+
Features
11+
- Two layout styles: Wiki, and Full-Body.
12+
13+
ToDo:
14+
- Figure out if tags will actually be a thing.
15+
16+
## Set Up Locally
17+
18+
Pre-requisites:
19+
- [Jekyll](https://jekyllrb.com/)
20+
21+
Once Jekyll is installed, open the project folder in your command prompt and run this:
22+
23+
```
24+
bundle exec jekyll serve
25+
```
26+
Your site should be available at [http://localhost:4000/](http://localhost:4000/)
27+
28+
## Creating Character Pages
29+
30+
It uses the [YAML](https://yaml.org/) syntax.
31+
32+
## License
33+
Lil-Ref's code is licensed under the [Do What The F*ck You Want To Public License](https://github.com/RodFireProductions/Lil-Ref/blob/master/LICENSE).
34+
35+
Basically, you can do whatever you want with this.

0 commit comments

Comments
 (0)