Skip to content

Commit

Permalink
Update git item, fix image link in README, tag new version
Browse files Browse the repository at this point in the history
  • Loading branch information
Azzaare committed Jun 6, 2021
1 parent 2d5a8e6 commit 1890fc4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "StaticWebPages"
uuid = "5bf9d097-888b-4aa7-96b5-1bfe21b2dbad"
authors = ["azzaare <[email protected]>"]
version = "0.2.11"
version = "0.2.12"

[deps]
Bibliography = "f1be7e48-bf82-45af-a471-ae754a193061"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ To add labels to the publications entries, please add a `swp-labels` field to yo
}
```

![Image of a Publication Item](https://raw.githubusercontent.com/Humans-of-Julia/StaticWebPages.jl/captures/captures/publication.png)
![Image of a Publication Item](https://github.com/Humans-of-Julia/StaticWebPages.jl/raw/master/captures/publication.png)

The attribution of colors is done automatically (within the limit of 22 labels, please issue a request if you need more ...)

Expand All @@ -193,7 +193,7 @@ Deck( # Start of the list
) # End of the list
```

![Image of Card Items](https://raw.githubusercontent.com/Humans-of-Julia/StaticWebPages.jl/captures/captures/card.png)
![Image of Card Items](https://github.com/Humans-of-Julia/StaticWebPages.jl/raw/master/captures/card.png)

##### `GitRepo` : a list of GitHub repository displayed similarly to BibTeX entries

Expand All @@ -211,7 +211,7 @@ gitrepo = GitRepo( # currently work only with GitHub
)
```

![Image of a Git Item](https://raw.githubusercontent.com/Humans-of-Julia/StaticWebPages.jl/captures/captures/git.png)
![Image of a Git Item](https://github.com/Humans-of-Julia/StaticWebPages.jl/raw/master/captures/git.png)

Please note that GitHub will restrict unidentified requests to a certain amount per IP within a time limit (that I don't know the value). If it happens, a message error from GitHub API will be returned.

Expand Down Expand Up @@ -267,7 +267,7 @@ research = Block(
)
```

![Image of a Block Item](https://raw.githubusercontent.com/Humans-of-Julia/StaticWebPages.jl/captures/captures/paragraph.png)
![Image of a Block Item](https://github.com/Humans-of-Julia/StaticWebPages.jl/raw/master/captures/paragraph.png)

##### `TimeLine`s : a list of continuous items
```julia
Expand All @@ -285,7 +285,7 @@ grants = TimeLine(
)
```

![Image of a TimeLine Item](https://raw.githubusercontent.com/Humans-of-Julia/StaticWebPages.jl/captures/captures/timeline.png)
![Image of a TimeLine Item](https://github.com/Humans-of-Julia/StaticWebPages.jl/raw/master/captures/timeline.png)

##### `Nest`! A container to list several items within the same section

Expand Down
3 changes: 1 addition & 2 deletions src/items/git.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,7 @@ function to_html(repos::GitRepo)
<div class="pubcontents">
"""
labels = Set([g.language])
typeof(r) <: Pair && union!(labels, map(lowercase, r.second))
@warn labels
typeof(r) <: Pair && union!(labels, r.second)
for label in labels
if label keys(publication_labels)
push!(publication_labels, label => ColorLabel(length(publication_labels)))
Expand Down

0 comments on commit 1890fc4

Please sign in to comment.