Personal Website & Blog Theme for Hugo
Find a file
2022-09-12 13:36:52 +01:00
archetypes initial commit 2022-09-10 20:05:37 +01:00
assets fixed but with image zoom 2022-09-12 13:36:52 +01:00
config/_default added firebase support and views to theme 2022-09-12 12:49:52 +01:00
data initial commit 2022-09-10 20:05:37 +01:00
docs added firebase support and views to theme 2022-09-12 12:49:52 +01:00
exampleSite fixed but with image zoom 2022-09-12 13:36:52 +01:00
i18n fixed but with image zoom 2022-09-12 13:36:52 +01:00
images initial commit 2022-09-10 20:05:37 +01:00
layouts fixed but with image zoom 2022-09-12 13:36:52 +01:00
public fix paths 2022-09-11 21:40:52 +01:00
resources/_gen/images fixes 2022-09-10 22:59:59 +01:00
static finished the header 2022-09-11 17:20:31 +01:00
.gitignore fixed gitignore 2022-09-11 00:21:18 +01:00
go.mod initial commit 2022-09-10 20:05:37 +01:00
LICENSE add licence 2022-09-10 19:21:28 +01:00
lighthouserc.js initial commit 2022-09-10 20:05:37 +01:00
logo.png add logo 2022-09-10 19:18:20 +01:00
package-lock.json fixes 2022-09-10 22:59:59 +01:00
package.json fixed but with image zoom 2022-09-12 13:36:52 +01:00
README.md fixed but with image zoom 2022-09-12 13:36:52 +01:00
tailwind.config.js corrected responsive articles issue 2022-09-11 19:27:04 +01:00
theme.toml updated first version of docs 2022-09-11 22:18:53 +01:00

blowfish logo

Blowfish

Personal Website & Blog Theme for Hugo

based on Congo

git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish

  • only one header

Firebase

  1. create account
  2. create project
  3. select analytics
  4. Setup firebase
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
// TODO: Add SDKs for Firebase products that you want to use
// https://firebase.google.com/docs/web/setup#available-libraries

// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
  apiKey: "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY",
  authDomain: "blowfish-21fff.firebaseapp.com",
  projectId: "blowfish-21fff",
  storageBucket: "blowfish-21fff.appspot.com",
  messagingSenderId: "60108104191",
  appId: "1:60108104191:web:039842ebe1370698b487ca",
  measurementId: "G-PEDMYR1V0K"
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
const analytics = getAnalytics(app);
  1. Setup Firestore - Build > Firestore - create database - start production mode - select server - wait - rules
rules_version = '2';
service cloud.firestore {
  match /databases/{database}/documents {
    match /{document=**} {
      allow read, write: if request.auth != null;
    }
  }
}
  1. Toggle guest authorization - Build > Authentication - Get Started - Anonymous - toggle - Save
  2. Get values
  3. copy into params.toml
  4. Enjoy - activate views