adding groups
This commit is contained in:
parent
d0e23dd971
commit
56d9a3ff11
|
@ -1,10 +1,11 @@
|
||||||
baseURL = 'https://tfcconnection.org/'
|
baseURL = 'https://tfcconnection.org/'
|
||||||
languageCode = 'en-us'
|
languageCode = 'en-us'
|
||||||
title = 'TFC Connection'
|
title = 'TFC Connection'
|
||||||
|
theme = "tfc"
|
||||||
|
|
||||||
DefaultContentLanguage = "en"
|
DefaultContentLanguage = "en"
|
||||||
SectionPagesMenu = "main"
|
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
|
enableRobotsTXT = true
|
||||||
|
|
||||||
[languages]
|
[languages]
|
||||||
|
|
|
@ -9,3 +9,4 @@ defaultAppearance = "dark"
|
||||||
enableSearch = true
|
enableSearch = true
|
||||||
homepage.layout = "page"
|
homepage.layout = "page"
|
||||||
homepage.homepageImage = "static/esmeralda.jpg"
|
homepage.homepageImage = "static/esmeralda.jpg"
|
||||||
|
|
||||||
|
|
13
content/groups/_index.md
Normal file
13
content/groups/_index.md
Normal 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
|
||||||
|
|
||||||
|
---
|
7
content/groups/atwood/index.md
Normal file
7
content/groups/atwood/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Atwood"
|
||||||
|
date: 2022-10-28T10:20:04-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
7
content/groups/codell/index.md
Normal file
7
content/groups/codell/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Codell"
|
||||||
|
date: 2022-10-28T10:20:20-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
7
content/groups/colby/index.md
Normal file
7
content/groups/colby/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Colby"
|
||||||
|
date: 2022-10-28T10:20:25-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
7
content/groups/logan/index.md
Normal file
7
content/groups/logan/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Logan"
|
||||||
|
date: 2022-10-28T10:19:27-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
BIN
content/groups/northern-valley/featured.jpg
Normal file
BIN
content/groups/northern-valley/featured.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 178 KiB |
11
content/groups/northern-valley/index.md
Normal file
11
content/groups/northern-valley/index.md
Normal 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
|
7
content/groups/phillipsburg/index.md
Normal file
7
content/groups/phillipsburg/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Phillipsburg"
|
||||||
|
date: 2022-10-28T10:19:41-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
7
content/groups/smith-center/index.md
Normal file
7
content/groups/smith-center/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Smith Center"
|
||||||
|
date: 2022-10-28T10:20:16-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
7
content/groups/southern-valley/index.md
Normal file
7
content/groups/southern-valley/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Southern Valley"
|
||||||
|
date: 2022-10-28T10:19:49-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
7
content/groups/thunder-ridge/index.md
Normal file
7
content/groups/thunder-ridge/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Thunder Ridge"
|
||||||
|
date: 2022-10-28T10:19:34-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
7
content/groups/wakeeney/index.md
Normal file
7
content/groups/wakeeney/index.md
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
---
|
||||||
|
title: "Wakeeney"
|
||||||
|
date: 2022-10-28T10:20:11-05:00
|
||||||
|
tags: []
|
||||||
|
featured_image: ""
|
||||||
|
description: ""
|
||||||
|
---
|
101
default.nix
101
default.nix
|
@ -1,115 +1,32 @@
|
||||||
# { pkgs ? import <nixpkgs> { } }:
|
|
||||||
# with pkgs;
|
|
||||||
{
|
{
|
||||||
stdenv,
|
stdenv,
|
||||||
lib,
|
lib,
|
||||||
# kglobalaccel,
|
hugo,
|
||||||
# kinit,
|
go
|
||||||
# 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
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "Libre Presenter";
|
name = "tfcconnection";
|
||||||
pname = "libre-presenter";
|
pname = "tfcconnection";
|
||||||
version = "0.0.1";
|
version = "0.0.1";
|
||||||
|
|
||||||
src = ./.;
|
src = ./.;
|
||||||
|
|
||||||
nativeBuildInputs = [
|
|
||||||
gcc
|
|
||||||
gnumake
|
|
||||||
clang
|
|
||||||
clang-tools
|
|
||||||
cmake
|
|
||||||
extra-cmake-modules
|
|
||||||
pkg-config
|
|
||||||
wrapQtAppsHook
|
|
||||||
# gccStdenv
|
|
||||||
# stdenv
|
|
||||||
];
|
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
qtbase
|
hugo
|
||||||
qttools
|
go
|
||||||
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
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# 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 = ''
|
buildPhase = ''
|
||||||
make --dir build/
|
hugo
|
||||||
rm -rf ~/.cache/librepresenter/Libre\ Presenter/qmlcache/
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p $out/bin
|
|
||||||
mv build/bin/presenter $out/bin
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
name = "Libre Presenter";
|
name = "tfcconnection";
|
||||||
description = "A church presentation software made with QT/QML";
|
description = "TFC Connection Website";
|
||||||
homepage = "";
|
homepage = "";
|
||||||
license = licenses.gpl3;
|
license = licenses.gpl3;
|
||||||
maintainers = [ "chriscochrun" ];
|
maintainers = [ "chriscochrun" ];
|
||||||
|
|
1
go.mod
1
go.mod
|
@ -2,4 +2,3 @@ module tfcconnection
|
||||||
|
|
||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
require github.com/nunocoracao/blowfish/v2 v2.4.5 // indirect
|
|
||||||
|
|
49
layouts/_default/list.html
Normal file
49
layouts/_default/list.html
Normal 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 }}
|
Binary file not shown.
After Width: | Height: | Size: 138 KiB |
Binary file not shown.
After Width: | Height: | Size: 44 KiB |
Loading…
Reference in a new issue