diff --git a/src/_includes/main/links.njk b/src/_includes/main/links.njk new file mode 100644 index 00000000..04e15b0c --- /dev/null +++ b/src/_includes/main/links.njk @@ -0,0 +1,28 @@ +--- +layout: main/content.njk +articleElement: true +isContentDivided: true +--- +{% set linkGroups = collections["link groups"] %} + +
+ {% include "main/site-btn.njk" %} + +

Use the following tabs to view my link collection by category.

+ +
+ +
+{% for group in linkGroups %} +
+

{{ group.data.title }}

+ {{ group.templateContent | safe }} +
+{%- endfor %} +
\ No newline at end of file diff --git a/src/assets/css/components.css b/src/assets/css/components.css index 449e2a77..d2cef8bd 100644 --- a/src/assets/css/components.css +++ b/src/assets/css/components.css @@ -153,6 +153,15 @@ p + .adoptables { margin-top: 1em; } margin: 0; } +/* Tabs */ +.tabwrap section { + display: none; +} + +.tabwrap section:target { + display: block; +} + /* Web ring */ .webring { border: 0.08em outset; diff --git a/src/links/links.11tydata.json b/src/links/links.11tydata.json new file mode 100644 index 00000000..02eb7734 --- /dev/null +++ b/src/links/links.11tydata.json @@ -0,0 +1,4 @@ +{ + "tags": ["link groups"], + "permalink": false +} \ No newline at end of file diff --git a/src/links/websites.njk b/src/links/websites.njk new file mode 100644 index 00000000..33d5a290 --- /dev/null +++ b/src/links/websites.njk @@ -0,0 +1,161 @@ +--- +title: Websites +--- + +

Personal Sites I Enjoy

+ + +

Link Exchanges

+ + +

Directories

+ + +

Communities

+ + +

Fanlistings

+

Check out Beehive, my fanlisting collective to see all the fanlistings I own, have joined or have applied to join.

+ +

Webrings

+{% include "main/webrings.njk" %} \ No newline at end of file diff --git a/src/pages/links.njk b/src/pages/links.njk index c003e284..792ffe14 100644 --- a/src/pages/links.njk +++ b/src/pages/links.njk @@ -1,179 +1,7 @@ --- +layout: main/links.njk title: Links desc: A collection of links. -isContentDivided: true eleventyNavigation: order: 8 --- - -
-

Link to My Website

- - {% include "main/site-btn.njk" %} -
- -
-

Personal Sites I Enjoy

- -
- -
-

Link Exchanges

- -
- -
-

My Web Groups

- -

Directories

- - -

Communities

- - -

Fanlistings

-

Check out Beehive, my fanlisting collective to see all fanlistings I own, have joined and have applied to join!

- -

Webrings

- {% include "main/webrings.njk" %} -
\ No newline at end of file