Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jakewies/hugo-theme-codex
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.1
Choose a base ref
...
head repository: jakewies/hugo-theme-codex
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Jun 22, 2020

  1. Copy the full SHA
    aaa4b9c View commit details
  2. Copy the full SHA
    6e50611 View commit details
  3. Copy the full SHA
    08dc7f1 View commit details
  4. Copy the full SHA
    cc20fa1 View commit details
  5. Copy the full SHA
    a7bf451 View commit details
  6. Copy the full SHA
    5374813 View commit details
  7. Copy the full SHA
    11ba9f4 View commit details
  8. surround choco in code block

    kentnek committed Jun 22, 2020
    Copy the full SHA
    6be6443 View commit details
  9. Copy the full SHA
    219f74f View commit details

Commits on Jun 23, 2020

  1. Copy the full SHA
    73872e4 View commit details
  2. fix readme

    kentnek committed Jun 23, 2020
    Copy the full SHA
    2651ba9 View commit details
  3. fix title

    kentnek committed Jun 23, 2020
    Copy the full SHA
    e2cff9a View commit details
  4. Copy the full SHA
    edf4a0e View commit details
  5. Merge pull request #42 from kentnek/kent-update-title

    Fix site's title to be more SEO friendly
    jakewies authored Jun 23, 2020
    Copy the full SHA
    0bab7d4 View commit details
  6. v1.3.0

    jakewies committed Jun 23, 2020
    Copy the full SHA
    9d2323c View commit details
  7. make dateFormat configurable

    kentnek committed Jun 23, 2020
    Copy the full SHA
    c5da21d View commit details
  8. add docs to config

    kentnek committed Jun 23, 2020
    Copy the full SHA
    4f991f0 View commit details
  9. Copy the full SHA
    904eaee View commit details
  10. Copy the full SHA
    08ceb16 View commit details
  11. modify blockquote style

    kentnek committed Jun 23, 2020
    Copy the full SHA
    21cb64b View commit details
  12. fix cite example

    kentnek committed Jun 23, 2020
    Copy the full SHA
    70785ea View commit details
  13. Copy the full SHA
    4974471 View commit details

Commits on Jun 24, 2020

  1. Copy the full SHA
    793cee0 View commit details
  2. Copy the full SHA
    a9a6f0c View commit details
  3. move social icons to /static/images/social/ for better compatibility …

    …with Apache2 (Issue #47)
    Pyvain committed Jun 24, 2020
    Copy the full SHA
    6883ebb View commit details
  4. pagination chevron is just an image

    Pyvain committed Jun 24, 2020
    Copy the full SHA
    56e6f6d View commit details
  5. update readme section for new social icons

    Pyvain committed Jun 24, 2020
    Copy the full SHA
    ac646df View commit details
  6. Copy the full SHA
    286b693 View commit details
  7. Copy the full SHA
    c1a9553 View commit details
  8. Copy the full SHA
    705e50b View commit details
  9. make the toc optional

    xvallspl committed Jun 24, 2020
    Copy the full SHA
    5112b4a View commit details
  10. Document the toc parameter

    xvallspl committed Jun 24, 2020
    Copy the full SHA
    efe78af View commit details
  11. restructure the single post

    post pagination was not correctly aligned, which helped see that the structure
    xvallspl committed Jun 24, 2020
    Copy the full SHA
    2b8e779 View commit details
  12. Merge pull request #48 from pyvain/master

    Rename /static/icons to /static/images/social
    jakewies authored Jun 24, 2020
    Copy the full SHA
    edeca91 View commit details
  13. Copy the full SHA
    43f89b2 View commit details
  14. Copy the full SHA
    46a1a62 View commit details
  15. Copy the full SHA
    b3b8980 View commit details
  16. Change how prismjs is loaded.

     - Load minified code (3kB vs 30kB)
     - Add prism autoloader so that we get highlighting for languages we
       use.
     - Hardcode exact prism version.  Perhaps this is controversial, but it
       saves a redirect for each request, shaving off 30ms on a fast
       connection.
    jlebar committed Jun 24, 2020
    Copy the full SHA
    ae59e12 View commit details
  17. Copy the full SHA
    1c27b43 View commit details
  18. Merge pull request #50 from jlebar/prismjs

    Change how prismjs is loaded.
    kentnek authored Jun 24, 2020
    Copy the full SHA
    d713ed3 View commit details
  19. Copy the full SHA
    905edc2 View commit details
  20. Copy the full SHA
    f629427 View commit details
  21. Merge pull request #52 from jakewies/all-contributors/add-jlebar

    docs: add jlebar as a contributor
    kentnek authored Jun 24, 2020
    Copy the full SHA
    2f0e2c1 View commit details

Commits on Jun 25, 2020

  1. reduce time complexity of toc highlighting

    and solve no highlighting when heading not on sight
    xvallspl committed Jun 25, 2020
    Copy the full SHA
    8e307d8 View commit details
  2. fix indentation

    xvallspl committed Jun 25, 2020
    Copy the full SHA
    c42aeb8 View commit details
  3. hide the toc at 1k px

    xvallspl committed Jun 25, 2020
    Copy the full SHA
    74c0fe9 View commit details
  4. simplify toc and remove post title from it

    Highlight all sections on sight instead of last one to intersect
    xvallspl committed Jun 25, 2020
    Copy the full SHA
    9dcdacf View commit details
  5. refactor: ToC styles

    This commit includes a few adjustments to the layout of a post in order
    to accommodate an optional ToC. The layout adjustments have been done in
    such a way in order to mitigate as much visual differences between a post
    with a ToC and and post without ToC as possible.
    jakewies committed Jun 25, 2020
    Copy the full SHA
    9a4b63d View commit details
  6. Copy the full SHA
    95c820e View commit details
  7. Copy the full SHA
    d20680e View commit details
Showing with 1,690 additions and 250 deletions.
  1. +171 βˆ’1 .all-contributorsrc
  2. +0 βˆ’1 .gitignore
  3. +10 βˆ’1 .prettierignore
  4. +16 βˆ’19 CONTRIBUTING.md
  5. +139 βˆ’31 README.md
  6. +2 βˆ’1 archetypes/blog.md
  7. +7 βˆ’8 assets/scss/_main.scss
  8. +4 βˆ’0 assets/scss/overrides.scss
  9. +8 βˆ’0 assets/scss/pages/404.scss
  10. +3 βˆ’2 assets/scss/pages/about.scss
  11. +62 βˆ’59 assets/scss/pages/post.scss
  12. +3 βˆ’3 assets/scss/pages/posts.scss
  13. +4 βˆ’3 assets/scss/pages/tags.scss
  14. +1 βˆ’3 assets/scss/partials/_burger.scss
  15. +0 βˆ’5 assets/scss/partials/_colors.scss
  16. +5 βˆ’2 assets/scss/partials/_github-syntax-highlighting.scss
  17. +6 βˆ’3 assets/scss/partials/_nav.scss
  18. +2 βˆ’2 assets/scss/partials/_normalize.scss
  19. +1 βˆ’1 assets/scss/partials/_pagination.scss
  20. +5 βˆ’4 assets/scss/partials/_reset.scss
  21. +0 βˆ’2 assets/scss/partials/_screenSizes.scss
  22. +11 βˆ’12 assets/scss/partials/_social-icons.scss
  23. +36 βˆ’6 assets/scss/partials/_typography.scss
  24. +17 βˆ’3 assets/scss/partials/_vars.scss
  25. +41 βˆ’12 exampleSite/config.toml
  26. +2 βˆ’1 exampleSite/content/blog/example-post.md
  27. +29 βˆ’3 exampleSite/content/blog/markdown-syntax.md
  28. +1 βˆ’1 exampleSite/content/blog/math-typesetting.md
  29. +2 βˆ’6 exampleSite/content/blog/rich-content.md
  30. 0 exampleSite/resources/_gen/assets/scss/scss/custom.scss_3397a22b18c3bef8be8c21c341bc8237.content
  31. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/custom.scss_3397a22b18c3bef8be8c21c341bc8237.json
  32. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/pages/404.scss_1077e6a05440228a8f1e441090f292b6.content
  33. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/pages/404.scss_1077e6a05440228a8f1e441090f292b6.json
  34. +1 βˆ’0 ...pleSite/resources/_gen/assets/scss/scss/pages/about.scss_aba0dac60eb4049f68f83f39827d1b50.content
  35. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/pages/about.scss_aba0dac60eb4049f68f83f39827d1b50.json
  36. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/pages/post.scss_9b5a08989dabcb86a5d520fc24aa3741.content
  37. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/pages/post.scss_9b5a08989dabcb86a5d520fc24aa3741.json
  38. +1 βˆ’0 ...pleSite/resources/_gen/assets/scss/scss/pages/posts.scss_45b5651bc7f84edbd12295da47cc9fcd.content
  39. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/pages/posts.scss_45b5651bc7f84edbd12295da47cc9fcd.json
  40. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/pages/tags.scss_f297ce3c5afa481cf9ec4d5576b36b22.content
  41. +1 βˆ’0 exampleSite/resources/_gen/assets/scss/scss/pages/tags.scss_f297ce3c5afa481cf9ec4d5576b36b22.json
  42. +8 βˆ’0 i18n/de.toml
  43. +8 βˆ’0 i18n/en.toml
  44. BIN images/screenshot.png
  45. +4 βˆ’0 layouts/404.html
  46. +4 βˆ’0 layouts/_default/_markup/render-link.html
  47. +11 βˆ’11 layouts/_default/baseof.html
  48. +3 βˆ’2 layouts/_default/list.html
  49. +45 βˆ’22 layouts/_default/single.html
  50. +2 βˆ’2 layouts/partials/browse-by-tag.html
  51. +1 βˆ’0 layouts/partials/favicon.html
  52. +1 βˆ’1 layouts/partials/nav.html
  53. +3 βˆ’3 layouts/partials/post-pagination.html
  54. +17 βˆ’6 layouts/partials/social-icons.html
  55. +1 βˆ’1 layouts/partials/tags.html
  56. +5 βˆ’3 layouts/taxonomy/tag.html
  57. +18 βˆ’3 package.json
  58. +13 βˆ’0 prettier.config.js
  59. +17 βˆ’0 static/js/table-of-contents.js
  60. 0 static/{icons β†’ svg}/chevron-left.svg
  61. +1 βˆ’0 static/svg/email.svg
  62. +1 βˆ’0 static/svg/facebook.svg
  63. 0 static/{icons β†’ svg}/github.svg
  64. +1 βˆ’0 static/svg/gitlab.svg
  65. +1 βˆ’0 static/svg/instagram.svg
  66. +1 βˆ’0 static/svg/linkedin.svg
  67. +63 βˆ’0 static/svg/mastodon.svg
  68. 0 static/{icons β†’ svg}/twitter.svg
  69. +1 βˆ’0 static/svg/youtube.svg
  70. +1 βˆ’1 theme.toml
  71. +860 βˆ’0 yarn.lock
172 changes: 171 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -33,7 +33,9 @@
"avatar_url": "https://avatars1.githubusercontent.com/u/7024160?v=4",
"profile": "https://kentnek.com",
"contributions": [
"code"
"code",
"doc",
"design"
]
},
{
@@ -51,8 +53,176 @@
"avatar_url": "https://avatars0.githubusercontent.com/u/867299?v=4",
"profile": "https://github.com/xvallspl",
"contributions": [
"doc",
"code",
"design"
]
},
{
"login": "pyvain",
"name": "Pyvain",
"avatar_url": "https://avatars3.githubusercontent.com/u/2924494?v=4",
"profile": "https://github.com/pyvain",
"contributions": [
"code",
"doc"
]
},
{
"login": "jlebar",
"name": "Justin Lebar",
"avatar_url": "https://avatars1.githubusercontent.com/u/150663?v=4",
"profile": "http://jlebar.com",
"contributions": [
"code"
]
},
{
"login": "aareet",
"name": "Aareet Shermon",
"avatar_url": "https://avatars1.githubusercontent.com/u/33654?v=4",
"profile": "https://www.aareet.com",
"contributions": [
"design"
]
},
{
"login": "dgnicholson",
"name": "dgnicholson",
"avatar_url": "https://avatars1.githubusercontent.com/u/6208288?v=4",
"profile": "https://github.com/dgnicholson",
"contributions": [
"design",
"code"
]
},
{
"login": "msfjarvis",
"name": "Harsh Shandilya",
"avatar_url": "https://avatars0.githubusercontent.com/u/13348378?v=4",
"profile": "https://msfjarvis.dev",
"contributions": [
"code"
]
},
{
"login": "ProfessorLogout",
"name": "Marco Kamner",
"avatar_url": "https://avatars3.githubusercontent.com/u/13572444?v=4",
"profile": "https://twitter.com/ProfessorLogout",
"contributions": [
"code"
]
},
{
"login": "ewenme",
"name": "ewen",
"avatar_url": "https://avatars3.githubusercontent.com/u/10872821?v=4",
"profile": "https://ewen.io/",
"contributions": [
"code"
]
},
{
"login": "SanchithHegde",
"name": "Sanchith Hegde",
"avatar_url": "https://avatars2.githubusercontent.com/u/22217505?v=4",
"profile": "https://github.com/SanchithHegde",
"contributions": [
"code",
"doc"
]
},
{
"login": "CER10TY",
"name": "SΓΆren Johanson",
"avatar_url": "https://avatars1.githubusercontent.com/u/5760400?v=4",
"profile": "https://soeren.codes",
"contributions": [
"code"
]
},
{
"login": "jdl031",
"name": "James Lloyd",
"avatar_url": "https://avatars3.githubusercontent.com/u/1720477?v=4",
"profile": "https://github.com/jdl031",
"contributions": [
"code"
]
},
{
"login": "wilsonehusin",
"name": "Wilson E. Husin",
"avatar_url": "https://avatars1.githubusercontent.com/u/14004487?v=4",
"profile": "http://wilsonehusin.com",
"contributions": [
"code"
]
},
{
"login": "tommorris",
"name": "Tom Morris",
"avatar_url": "https://avatars0.githubusercontent.com/u/175?v=4",
"profile": "https://tommorris.org/",
"contributions": [
"code"
]
},
{
"login": "sdil",
"name": "Mohamad Fadhil",
"avatar_url": "https://avatars0.githubusercontent.com/u/461537?v=4",
"profile": "http://twitter.com/sdil",
"contributions": [
"code"
]
},
{
"login": "skvale",
"name": "Sam Kvale",
"avatar_url": "https://avatars0.githubusercontent.com/u/5314713?v=4",
"profile": "https://github.com/skvale",
"contributions": [
"code"
]
},
{
"login": "macxcool",
"name": "Mark C",
"avatar_url": "https://avatars.githubusercontent.com/u/2531654?v=4",
"profile": "https://github.com/macxcool",
"contributions": [
"code"
]
},
{
"login": "rbnis",
"name": "Robin",
"avatar_url": "https://avatars.githubusercontent.com/u/5955614?v=4",
"profile": "https://rbn.is",
"contributions": [
"code"
]
},
{
"login": "gprst",
"name": "gprst",
"avatar_url": "https://avatars.githubusercontent.com/u/32643653?v=4",
"profile": "https://github.com/gprst",
"contributions": [
"code",
"design"
]
},
{
"login": "altescape",
"name": "Michael Watts",
"avatar_url": "https://avatars.githubusercontent.com/u/811806?v=4",
"profile": "http://michaelwatts.me",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -8,5 +8,4 @@ Thumbs.db
.vscode

# Hugo
**/resources/_gen
public/
11 changes: 10 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,11 @@
content
exampleSite/content
layouts
static

package.json
public
node_modules

.DS_Store
logs
*.log
35 changes: 16 additions & 19 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# Contributing

First off, thank you for your time and effort! This project is not very large and easy to jump into.

## Development stack

- Built with [Hugo](https://gohugo.io/) πŸ”₯
- [Gulp](https://gulpjs.com/) as a build tool 🍹
- Styles in [Stylus](http://stylus-lang.com/) πŸ’…πŸ»
- [Yarn](https://yarnpkg.com/) as a package manager πŸ“¦
First off, thank you for your time and effort! This project is not very large
and easy to jump into.

## Getting started

@@ -22,30 +16,33 @@ yarn install

## Scripts

There are 3 npm scripts that can be used for development purposes:

```bash
yarn develop
```

This command will start a hugo webserver and serve the `exampleSite`. This works well because the example site uses `hugo-theme-codex`, so any changes
we make to the codebase can be viewed in real time.
Triggers a one-time build of the static directory.

```bash
yarn watch:assets
yarn format
```

If you are working with `js` or `css` you will probably want to run this command in a separate tab from `yarn develop` so that any changes to assets like javascript and css will trigger a re-build by `gulp``.
Runs prettier on the entire project directory.

```bash
yarn build:assets
```
## Assets

Triggers a one-time build of the static directory.
The `assets/` directory is where you can write JS and SCSS, which get processed
into CSS files before being placed in the `static/` directory.

### Making `scss` changes

If you make a change to a source `scss` file in `assets/scss`, you will need to make sure that you rebuild the `exampleSite/resources/_gen/assets/` directory to reflect the change in the demo site, else the demo's styles will become stale.

If you are running `yarn develop`, `hugo` will pick up these changes by default. You can also run `yarn build:example`, which will trigger a one-time rebuild of the example site. From there, commit the updated `resources/_gen` directory to version control.

## Questions

If you have any questions feel free to reach out to me directly. Best ways to contact me:
If you have any questions feel free to reach out to me directly. Best ways to
contact me:

- Twitter: https://twitter.com/jakewies
- Email: jakewiesler@gmail.com
Loading