adding groups

This commit is contained in:
Chris Cochrun 2022-10-28 10:35:12 -05:00
parent d0e23dd971
commit 56d9a3ff11
19 changed files with 149 additions and 95 deletions

View file

@ -1,10 +1,11 @@
baseURL = 'https://tfcconnection.org/'
languageCode = 'en-us'
title = 'TFC Connection'
theme = "tfc"
DefaultContentLanguage = "en"
SectionPagesMenu = "main"
Paginate = 3 # this is set low for demonstrating with dummy content. Set to a higher number
Paginate = 10 # this is set low for demonstrating with dummy content. Set to a higher number
enableRobotsTXT = true
[languages]
@ -41,4 +42,4 @@ enableRobotsTXT = true
outputs.home = ["HTML", "RSS", "JSON"]
summaryLength = 10
summaryLength = 10

View file

@ -9,3 +9,4 @@ defaultAppearance = "dark"
enableSearch = true
homepage.layout = "page"
homepage.homepageImage = "static/esmeralda.jpg"

13
content/groups/_index.md Normal file
View file

@ -0,0 +1,13 @@
---
title: "Groups"
date: 2022-10-28T10:21:38-05:00
tags: []
featured_image: ""
description: ""
cascade:
showWordCount: false
showReadingTime: false
showDate: false
showEdit: false
---

View file

@ -0,0 +1,7 @@
---
title: "Atwood"
date: 2022-10-28T10:20:04-05:00
tags: []
featured_image: ""
description: ""
---

View file

@ -0,0 +1,7 @@
---
title: "Codell"
date: 2022-10-28T10:20:20-05:00
tags: []
featured_image: ""
description: ""
---

View file

@ -0,0 +1,7 @@
---
title: "Colby"
date: 2022-10-28T10:20:25-05:00
tags: []
featured_image: ""
description: ""
---

View file

@ -0,0 +1,7 @@
---
title: "Logan"
date: 2022-10-28T10:19:27-05:00
tags: []
featured_image: ""
description: ""
---

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

View file

@ -0,0 +1,11 @@
---
title: "Northern Valley"
date: 2022-10-28T10:19:57-05:00
tags: []
featured_image: ""
description: ""
---
- Start Time: Wednesday, 5:30 PM (Supper provided)
- End Time: 7:30
- Location: Long Island Methodist Church
- Ages: 6-8th Grade

View file

@ -0,0 +1,7 @@
---
title: "Phillipsburg"
date: 2022-10-28T10:19:41-05:00
tags: []
featured_image: ""
description: ""
---

View file

@ -0,0 +1,7 @@
---
title: "Smith Center"
date: 2022-10-28T10:20:16-05:00
tags: []
featured_image: ""
description: ""
---

View file

@ -0,0 +1,7 @@
---
title: "Southern Valley"
date: 2022-10-28T10:19:49-05:00
tags: []
featured_image: ""
description: ""
---

View file

@ -0,0 +1,7 @@
---
title: "Thunder Ridge"
date: 2022-10-28T10:19:34-05:00
tags: []
featured_image: ""
description: ""
---

View file

@ -0,0 +1,7 @@
---
title: "Wakeeney"
date: 2022-10-28T10:20:11-05:00
tags: []
featured_image: ""
description: ""
---

View file

@ -1,115 +1,32 @@
# { pkgs ? import <nixpkgs> { } }:
# with pkgs;
{
stdenv,
lib,
# kglobalaccel,
# kinit,
# kwin,
# kio,
# kguiaddons,
# kcoreaddons,
gcc,
gnumake,
clang,
cmake,
extra-cmake-modules,
pkg-config,
wrapQtAppsHook,
qtbase,
qt5Full,
clang-tools,
qttools,
qtquickcontrols2,
qtx11extras,
qtmultimedia,
karchive,
kirigami2,
ki18n,
kcoreaddons,
# lightly-qt,
podofo,
mpv
hugo,
go
}:
stdenv.mkDerivation rec {
name = "Libre Presenter";
pname = "libre-presenter";
name = "tfcconnection";
pname = "tfcconnection";
version = "0.0.1";
src = ./.;
nativeBuildInputs = [
gcc
gnumake
clang
clang-tools
cmake
extra-cmake-modules
pkg-config
wrapQtAppsHook
# gccStdenv
# stdenv
];
buildInputs = [
qtbase
qttools
qtquickcontrols2
qtx11extras
qtmultimedia
# qtwayland
kirigami2
# breeze-icons
# breeze-qt5
# qqc2-desktop-style
karchive
ki18n
kcoreaddons
# lightly-qt
podofo
mpv
# libsForQt5.kconfig
# ffmpeg-full
# yt-dlp
hugo
go
];
# preConfigure = ''
# # local modulepath=$(kf5-config --install module)
# # local datapath=$(kf5-config --install data)
# # local servicespath=$(kf5-config --install services)
# # substituteInPlace CMakeLists.txt \
# # --replace "\''${MODULEPATH}" "$out/''${modulepath#/nix/store/*/}" \
# # --replace "\''${DATAPATH}" "$out/''${datapath#/nix/store/*/}"
# # substituteInPlace CMakeLists.txt \
# # --replace "\''${MODULEPATH}" "$out/qt-5.15.3/plugins" \
# # --replace "\''${DATAPATH}" "$out/share"
# '';
# postConfigure = ''
# substituteInPlace cmake_install.cmake \
# --replace "${kdelibs4support}" "$out"
# '';
configurePhase = ''
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -B build/ .
'';
buildPhase = ''
make --dir build/
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
hugo
'';
installPhase = ''
mkdir -p $out/bin
mv build/bin/presenter $out/bin
'';
meta = with lib; {
name = "Libre Presenter";
description = "A church presentation software made with QT/QML";
name = "tfcconnection";
description = "TFC Connection Website";
homepage = "";
license = licenses.gpl3;
maintainers = [ "chriscochrun" ];

1
go.mod
View file

@ -2,4 +2,3 @@ module tfcconnection
go 1.19
require github.com/nunocoracao/blowfish/v2 v2.4.5 // indirect

View file

@ -0,0 +1,49 @@
{{ define "main" }}
{{ $toc := and (.Params.showTableOfContents | default (.Site.Params.list.showTableOfContents | default false)) (in .TableOfContents "<ul") }}
<header>
{{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }}
{{ partial "breadcrumbs.html" . }}
{{ end }}
<h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">{{ .Title }}</h1>
</header>
<section
class="{{ if $toc -}}
mt-12
{{- else -}}
mt-0
{{- end }} prose flex max-w-full flex-col dark:prose-invert lg:flex-row"
>
{{ if $toc }}
<div class="order-first px-0 lg:order-last lg:max-w-xs ltr:lg:pl-8 rtl:lg:pr-8">
<div class="toc ltr:pl-5 rtl:pr-5 lg:sticky lg:top-10">
{{ partial "toc.html" . }}
</div>
</div>
{{ end }}
<div class="min-w-0 min-h-0 max-w-prose">
{{ .Content | emojify }}
</div>
</section>
{{ if gt .Pages 0 }}
<section class="space-y-10 w-full">
{{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }}
{{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }}
<h2 class="mt-12 text-2xl font-bold text-neutral-700 first:mt-8 dark:text-neutral-300">
{{ .Key }}
</h2>
<hr class="border-dotted w-36 border-neutral-400" />
{{ end }}
{{ range .Pages }}
{{ partial "article-link.html" . }}
{{ end }}
{{ end }}
</section>
{{ partial "pagination.html" . }}
{{ else }}
<section class="mt-10 prose dark:prose-invert">
<p class="py-8 border-t">
<em>{{ i18n "list.no_articles" | emojify }}</em>
</p>
</section>
{{ end }}
{{ end }}