Giter Site home page Giter Site logo

arkadianriver / arkadianriver.com Goto Github PK

View Code? Open in Web Editor NEW
115.0 6.0 138.0 25.69 MB

Using the Spectral theme from HTML5UP and jekyll, this is the source for https://arkadianriver.com. Clean demo and documentation at https://arkadianriver.github.io/arkadianriver.com

License: MIT License

HTML 57.10% CSS 1.80% JavaScript 6.31% Batchfile 0.91% Ruby 2.88% PHP 0.69% SCSS 30.31%
jekyll blog-theme portfolio-template

arkadianriver.com's Introduction

arkadianriver.com

Until Aug 2023, this was the theme for my personal web site. It uses the awesome design of http://html5up.net/spectral by the talented @ajlkn.

I morphed that design into this Jekyll theme for blog and portfolio entries. Jekyll is a static site generator, which uses templates to generate all the publishable content as static HTML files (as opposed to something like WordPress, which has files that pull data from a database at runtime). This repo is the exact same code I use for my site (excluding my posts and some data files created from templates where noted).

If you like it

You can clone or fork this repo as a theme for your own blog. Because it doesn't use any plugins, you can easily host it on GitHub Pages. Even so, I recommend cloning your fork locally to create and preview your posts, regardless of where you choose to publish.

With it downloaded and with Ruby, RubyGems, and Jekyll 3.1.2 or higher installed, you can use the post-creation script, preview how your site looks and functions, and properly view the theme's User Guide.

  1. Personalize the information in the YAML files.

    File Action
    _config.yml Replace the values for each key with your info.
    _data/tokens.yml Create this file, using _data/tokens-template.yml as an example.
    _data/authors.yml Add author info for yourself as the first entry in the file.
  2. Personalize the images with your own, and change the attribution for your new banner at the bottom of _data/credits.yml.

    Image Description
    banner.jpg The main large image on the front page
    pic01.jpg The topics image
    pic02.jpg The works image
  3. From the repo's root directory, start Jekyll to preview as you write.

    bundle exec jekyll serve --future --drafts
    
  4. Open a browser to http://localhost:4000 (or the port number that jekyll indicates to open).

  5. Compose your first post!

    ruby compose.rb
    

    The User Guide describes some features that might be useful: http://localhost:4000/topics/user-guide/

  6. Test and publish your site:

    If you're building your site on Windows (like me) you can use the site.bat file; otherwise, just use the Jekyll commands as indicated in the site command reference below.

    If you use WinSCP to sync with your remote site, you can use the publish option. To publish with WinSCP, set up a _site.env file as described in the comments of site.bat, being particularly careful to list your site remote path and excludes correctly because the script uses the syncronize -delete option to mirror the entire remote folder to the local one. Otherwise, see the various publishing options in Jekyll's documentation.

    site {dev|devnof|preview|prod|publish}
    
      dev     Runs Jekyll in development watch mode:
                jekyll serve --future --drafts
    
      devnof  Runs Jekyll in development watch mode without future posts:
                jekyll serve --drafts
    
      preview Runs Jekyll in production watch mode:
                jekyll serve
    
      prod    Builds production content without watch mode:
                jekyll build
    
      publish Uses WinSCP's synchronize feature to mirror to a remote site.

Theme note

This is a theme in the old sense of the word. This is not a newer gem-based theme (yet).

License

MIT

arkadianriver.com's People

Contributors

arkadianriver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

arkadianriver.com's Issues

Liquid Errors

Hi,
Thanks for this Theme - really enjoying it.

But for each post I'm getting

Liquid Warning: Liquid syntax error (line 23): Expected dotdot but found comparison in "sorted_list and (site.navlinks == 'top' or site.navlinks == 'both')" in /_layouts/post.html
    Liquid Warning: Liquid syntax error (line 37): Expected dotdot but found comparison in "sorted_list and (site.navlinks == 'bottom' or site.navlinks == 'both')" in /_layouts/post.html

When I 'bundle exec jekyll serve' Doesn't seem to be hurting anything but not sure if it slowing the build down.

cheers
Si

Where's the Home Page?

I am using this as a template for a website, but I cannot find the file used for the home page. Can anyone point me in the right direction?

Background image being distorted on pages

It is fine in the landing page, but with the reduced size of the header image, I can't see how in the css/main.scss why you would want this:
background-attachment: fixed;

It totally distorted the image.

Each page should have an H1

This should help with SEO & accessibility.

These are in both:
_includes/header-inner.html
_layouts/landing.html

Which means we also need to modify:
modified: css/main.scss

I tried to do a PR here but it didn't quite work. Not sure why.
0af68aa

change sort by "id"

page.id is already reserved and only by luck worked on page nav. For nav and works, change "id" to "key" in page header.

non-featured posts are too big

If you got a long list of posts, those post cards are just too big and not easy to scan. Use a regular listing by year.

Google analytics

Hi @arkadianriver
Google analytics seems not working. The UA tracking ID has been written into _data/tokens.yml.
Not yet sure what causes the failure, but it seems here is the only function related with google analytics?

Banner doesn't resize on mobile

Hi,
I noticed that banner.jpg covers full screen on landing page when viewed in desktop.
However it doesn't resize properly on mobile.
Can you help me understand how to configure it so that landing page is consistent between desktop and mobile?
Thanks

Change works to a collection separate from posts?

I didn't use collections to start with because I swore that a month ago the Jekyll doc said that collections were experimental. Sure would be cleaner and easier than looping through all posts and filtering either 'topics' or 'works' in lists, though.

Make it easier to fit within a sub-directory

I'd like to be able to put this in a sub-directory, but am having some difficulties. Largely because I'm not quite sure what the code is doing.

You can see the repository here https://github.com/mgifford/wolford-or-gifsack

Basically I want to add in a password like https://github.com/matteobrusa/Password-protection-for-static-pages

Right now you have to put in the password "Ottawa" and it will direct you to a sub-directory.

https://mgifford.github.io/wolford-or-gifsack/

But then if I try to go to one of the pages within that I get a 404:
https://mgifford.github.io/wolford-or-gifsack/4df0179dda01538c9eedcafb8789c0805e4fd0c4/Vancouver/

The "Vancouver" directory doesn't exist (and it didn't before), but jekyll made it work earlier.

Any ideas how to resolve this?

Need Back/Next in works

but github.io compatible without a plugin or pre-processing, if possible.

works list is ordered by key, then subsequently by date. I'd hate to have to run through these two loops in every works post just to determine what the back/next links should be. So inefficient. Best thing would be to first store the array available in yaml and refer to that, but nope.. not available in jekyll without pre-processing, afaik.

How to use

Can you tell me how to use this code. I am pushed to my github page but it display 404

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.