diff --git a/config.toml b/config.toml index c29b900..978fb7a 100644 --- a/config.toml +++ b/config.toml @@ -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 \ No newline at end of file +summaryLength = 10 diff --git a/config/_default/params.toml b/config/_default/params.toml index 3872e21..3510c5b 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -9,3 +9,4 @@ defaultAppearance = "dark" enableSearch = true homepage.layout = "page" homepage.homepageImage = "static/esmeralda.jpg" + diff --git a/content/groups/_index.md b/content/groups/_index.md new file mode 100644 index 0000000..e520821 --- /dev/null +++ b/content/groups/_index.md @@ -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 + +--- diff --git a/content/groups/atwood/index.md b/content/groups/atwood/index.md new file mode 100644 index 0000000..779d1f9 --- /dev/null +++ b/content/groups/atwood/index.md @@ -0,0 +1,7 @@ +--- +title: "Atwood" +date: 2022-10-28T10:20:04-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/content/groups/codell/index.md b/content/groups/codell/index.md new file mode 100644 index 0000000..631f4bd --- /dev/null +++ b/content/groups/codell/index.md @@ -0,0 +1,7 @@ +--- +title: "Codell" +date: 2022-10-28T10:20:20-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/content/groups/colby/index.md b/content/groups/colby/index.md new file mode 100644 index 0000000..dcc885b --- /dev/null +++ b/content/groups/colby/index.md @@ -0,0 +1,7 @@ +--- +title: "Colby" +date: 2022-10-28T10:20:25-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/content/groups/logan/index.md b/content/groups/logan/index.md new file mode 100644 index 0000000..f36349c --- /dev/null +++ b/content/groups/logan/index.md @@ -0,0 +1,7 @@ +--- +title: "Logan" +date: 2022-10-28T10:19:27-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/content/groups/northern-valley/featured.jpg b/content/groups/northern-valley/featured.jpg new file mode 100644 index 0000000..777690a Binary files /dev/null and b/content/groups/northern-valley/featured.jpg differ diff --git a/content/groups/northern-valley/index.md b/content/groups/northern-valley/index.md new file mode 100644 index 0000000..4dcd254 --- /dev/null +++ b/content/groups/northern-valley/index.md @@ -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 diff --git a/content/groups/phillipsburg/index.md b/content/groups/phillipsburg/index.md new file mode 100644 index 0000000..ca158a7 --- /dev/null +++ b/content/groups/phillipsburg/index.md @@ -0,0 +1,7 @@ +--- +title: "Phillipsburg" +date: 2022-10-28T10:19:41-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/content/groups/smith-center/index.md b/content/groups/smith-center/index.md new file mode 100644 index 0000000..51192f2 --- /dev/null +++ b/content/groups/smith-center/index.md @@ -0,0 +1,7 @@ +--- +title: "Smith Center" +date: 2022-10-28T10:20:16-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/content/groups/southern-valley/index.md b/content/groups/southern-valley/index.md new file mode 100644 index 0000000..2006512 --- /dev/null +++ b/content/groups/southern-valley/index.md @@ -0,0 +1,7 @@ +--- +title: "Southern Valley" +date: 2022-10-28T10:19:49-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/content/groups/thunder-ridge/index.md b/content/groups/thunder-ridge/index.md new file mode 100644 index 0000000..87aac4b --- /dev/null +++ b/content/groups/thunder-ridge/index.md @@ -0,0 +1,7 @@ +--- +title: "Thunder Ridge" +date: 2022-10-28T10:19:34-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/content/groups/wakeeney/index.md b/content/groups/wakeeney/index.md new file mode 100644 index 0000000..8da024c --- /dev/null +++ b/content/groups/wakeeney/index.md @@ -0,0 +1,7 @@ +--- +title: "Wakeeney" +date: 2022-10-28T10:20:11-05:00 +tags: [] +featured_image: "" +description: "" +--- diff --git a/default.nix b/default.nix index c28002c..5bb2c42 100644 --- a/default.nix +++ b/default.nix @@ -1,115 +1,32 @@ -# { pkgs ? import { } }: -# 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" ]; diff --git a/go.mod b/go.mod index 58683e3..d3a5339 100644 --- a/go.mod +++ b/go.mod @@ -2,4 +2,3 @@ module tfcconnection go 1.19 -require github.com/nunocoracao/blowfish/v2 v2.4.5 // indirect diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..4462abe --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,49 @@ +{{ define "main" }} + {{ $toc := and (.Params.showTableOfContents | default (.Site.Params.list.showTableOfContents | default false)) (in .TableOfContents " + {{ if .Params.showBreadcrumbs | default (.Site.Params.list.showBreadcrumbs | default false) }} + {{ partial "breadcrumbs.html" . }} + {{ end }} +

{{ .Title }}

+ +
+ {{ if $toc }} +
+
+ {{ partial "toc.html" . }} +
+
+ {{ end }} +
+ {{ .Content | emojify }} +
+
+ {{ if gt .Pages 0 }} +
+ {{ range (.Paginate (.Pages.GroupByDate "2006")).PageGroups }} + {{ if $.Params.groupByYear | default ($.Site.Params.list.groupByYear | default true) }} +

+ {{ .Key }} +

+
+ {{ end }} + {{ range .Pages }} + {{ partial "article-link.html" . }} + {{ end }} + {{ end }} +
+ {{ partial "pagination.html" . }} + {{ else }} +
+

+ {{ i18n "list.no_articles" | emojify }} +

+
+ {{ end }} +{{ end }} diff --git a/resources/_gen/images/groups/northern-valley/featured_hu89e87f1596975da704c375b093c602c7_182166_1200x0_resize_q75_box.jpg b/resources/_gen/images/groups/northern-valley/featured_hu89e87f1596975da704c375b093c602c7_182166_1200x0_resize_q75_box.jpg new file mode 100644 index 0000000..62662b7 Binary files /dev/null and b/resources/_gen/images/groups/northern-valley/featured_hu89e87f1596975da704c375b093c602c7_182166_1200x0_resize_q75_box.jpg differ diff --git a/resources/_gen/images/groups/northern-valley/featured_hu89e87f1596975da704c375b093c602c7_182166_600x0_resize_q75_box.jpg b/resources/_gen/images/groups/northern-valley/featured_hu89e87f1596975da704c375b093c602c7_182166_600x0_resize_q75_box.jpg new file mode 100644 index 0000000..d14127c Binary files /dev/null and b/resources/_gen/images/groups/northern-valley/featured_hu89e87f1596975da704c375b093c602c7_182166_600x0_resize_q75_box.jpg differ